Package com.veeva.vault.sdk.api.data
Interface ObjectFormulaNumberFieldMetadata
- All Superinterfaces:
ObjectFormulaFieldTypeMetadata
Provides methods to retrieve common metadata on number formula fields.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves theFormatMaskExpressionMetadata
containing the format mask expression of the given number formula field.Retrieves the maximum value of the given number formula field.Retrieves the minimum value of the given number formula field.int
getScale()
Retrieves the scale of the given number formula field.Methods inherited from interface com.veeva.vault.sdk.api.data.ObjectFormulaFieldTypeMetadata
getBaseFieldMetadata
-
Method Details
-
getMaximumValue
BigDecimal getMaximumValue()Retrieves the maximum value of the given number formula field.- Returns:
- the maximum value of the field. For example, 100.
-
getMinimumValue
BigDecimal getMinimumValue()Retrieves the minimum value of the given number formula field.- Returns:
- the minimum value of the field. For example, 1.
-
getScale
int getScale()Retrieves the scale of the given number formula field.- Returns:
- the scale of the field. For example, 1.
-
getFormatMask
FormatMaskExpressionMetadata getFormatMask()Retrieves theFormatMaskExpressionMetadata
containing the format mask expression of the given number formula field.- Returns:
- a
FormatMaskExpressionMetadata
with the format mask expression if it exists, otherwise null
-