Package com.veeva.vault.sdk.api.document
Interface DocumentNumberFieldMetadata
- All Superinterfaces:
DocumentFieldMetadata
Provides methods to retrieve metadata specific to and shared by all Number fields.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves theDefaultValueExpressionMetadatacontaining the default value expression of the given Number field.Retrieves the maximum value of the given number field.Retrieves the minimum value of the given number field.intgetScale()Retrieves the scale of the given number field.Methods inherited from interface com.veeva.vault.sdk.api.document.DocumentFieldMetadata
getDocumentFieldMetadataType, getHelpContent, getLabel, getName, getSourceType, getTypedDocumentFieldMetadata, getValueType, isActive, isCopyField, isEditable, isFacetable, isQueryable, isRequired, isShared, isVisible
-
Method Details
-
getDefaultValueExpression
DefaultValueExpressionMetadata getDefaultValueExpression()Retrieves theDefaultValueExpressionMetadatacontaining the default value expression of the given Number field.- Returns:
- a
DefaultValueExpressionMetadatawith a default value expression if it exists, otherwise null
-
getMaximumValue
BigDecimal getMaximumValue()Retrieves the maximum value of the given number field.- Returns:
- the maximum value of the field. For example, 100.
-
getMinimumValue
BigDecimal getMinimumValue()Retrieves the minimum value of the given number field.- Returns:
- the minimum value of the field. For example, 1.
-
getScale
int getScale()Retrieves the scale of the given number field.- Returns:
- the scale of the field. For example, 1.
-