Package com.veeva.vault.sdk.api.data
Interface ObjectRollupPercentFieldMetadata
- All Superinterfaces:
ObjectRollupFieldTypeMetadata
Provides methods to retrieve common metadata on percent Roll-up fields.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves theFormatMaskExpressionMetadata
containing the expression for the format mask of the given percent Roll-up field.Retrieves the maximum value of the given percent Roll-up field.Retrieves the minimum value of the given percent Roll-up field.int
getScale()
Retrieves the scale of the given percent Roll-up field.Methods inherited from interface com.veeva.vault.sdk.api.data.ObjectRollupFieldTypeMetadata
getBaseFieldMetadata
-
Method Details
-
getFormatMask
FormatMaskExpressionMetadata getFormatMask()Retrieves theFormatMaskExpressionMetadata
containing the expression for the format mask of the given percent Roll-up field.- Returns:
- a FormatMaskExpressionMetadata instance with a format mask expression of PercentFormat()
-
getMaximumValue
BigDecimal getMaximumValue()Retrieves the maximum value of the given percent Roll-up field. For example, 1.- Returns:
- the maximum value of the field
-
getMinimumValue
BigDecimal getMinimumValue()Retrieves the minimum value of the given percent Roll-up field. For example, -1.- Returns:
- the minimum value of the field
-
getScale
int getScale()Retrieves the scale of the given percent Roll-up field. For example, 3.- Returns:
- the scale of the field
-