Package com.veeva.vault.sdk.api.data
Interface ObjectFormulaCurrencyFieldMetadata
- All Superinterfaces:
ObjectFormulaFieldTypeMetadata
Provides methods to retrieve common metadata on currency formula fields.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves theObjectFormulaCurrencyFieldMetadataReturnType
of the given formula currency field.Retrieves the maximum value of the given formula currency field.Retrieves the minimum value of the given formula currency field.int
getScale()
Retrieves the scale of the given formula currency 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 formula currency field.- Returns:
- the maximum value of the field. For example, 100000000000000000.
-
getMinimumValue
BigDecimal getMinimumValue()Retrieves the minimum value of the given formula currency field.- Returns:
- the minimum value of the field. For example, -100000000000000000.
-
getScale
int getScale()Retrieves the scale of the given formula currency field.- Returns:
- the scale of the field. For example, 1.
-
getCurrencyType
ObjectFormulaCurrencyFieldMetadataReturnType getCurrencyType()Retrieves theObjectFormulaCurrencyFieldMetadataReturnType
of the given formula currency field.- Returns:
- the
ObjectFormulaCurrencyFieldMetadataReturnType
of the field. For example,ObjectFormulaCurrencyFieldMetadataReturnType.CORPORATE
.
-