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 theDefaultValueExpressionMetadata
containing the default value expression of the given number field.Retrieves theFormatMaskExpressionMetadata
containing 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.int
getScale()
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 theDefaultValueExpressionMetadata
containing the default value expression of the given number field.- Returns:
- a
DefaultValueExpressionMetadata
with a default value expression if it exists, otherwise null
-
getFormatMask
FormatMaskExpressionMetadata getFormatMask()Retrieves theFormatMaskExpressionMetadata
containing the format mask expression of the given number field.- Returns:
- a
FormatMaskExpressionMetadata
with 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.
-