Package com.veeva.vault.sdk.api.data
Interface ObjectNumberFieldMetadata
- All Superinterfaces:
ObjectFieldMetadata
Provides methods to retrieve common metadata on number fields.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves theDefaultValueExpressionMetadatacontaining the default value expression of the given number field.Retrieves theFormatMaskExpressionMetadatacontaining the format mask 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.data.ObjectFieldMetadata
getCreatedByUserId, getCreatedDate, getDescription, getHelpContent, getLabel, getModifiedByUserId, getModifiedDate, getName, getObjectFieldMetadataType, getObjectName, getOrder, getSourceType, getTypedObjectFieldMetadata, getValueType, isActive, isCopyField, isEditable, isEncrypted, isFacetable, isListColumn, isRequired, isUnique
-
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
-
getFormatMask
FormatMaskExpressionMetadata getFormatMask()Retrieves theFormatMaskExpressionMetadatacontaining the format mask expression of the given number field.- Returns:
- a
FormatMaskExpressionMetadatawith the format mask 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.
-