Package com.veeva.vault.sdk.api.data
Interface ObjectPhoneFieldMetadata
- All Superinterfaces:
ObjectFieldMetadata
Provides methods to retrieve common metadata on phone fields.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves theDefaultValueExpressionMetadatacontaining the expression for the default value (default_value) of the given phone field.Retrieves theFormatMaskExpressionMetadatacontaining the expression for the format mask (format_mask) of the given phone field.intRetrieves the maximum character length (max_length) of the given phone 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, isSystemManaged, isUnique
-
Method Details
-
getDefaultValueExpression
DefaultValueExpressionMetadata getDefaultValueExpression()Retrieves theDefaultValueExpressionMetadatacontaining the expression for the default value (default_value) of the given phone field.- Returns:
- a
DefaultValueExpressionMetadatawith a default value expression if it exists, otherwise null
-
getFormatMask
FormatMaskExpressionMetadata getFormatMask()Retrieves theFormatMaskExpressionMetadatacontaining the expression for the format mask (format_mask) of the given phone field.- Returns:
- a
FormatMaskExpressionMetadatawith the format mask expression of PhoneFormat()
-
getMaxLength
int getMaxLength()Retrieves the maximum character length (max_length) of the given phone field.- Returns:
- the max length of the field. For example, 40.
-