Package com.veeva.vault.sdk.api.data
Interface ObjectLinkFieldMetadata
- All Superinterfaces:
ObjectFieldMetadata
Provides methods to retrieve common metadata on link fields.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves theDefaultValueExpressionMetadatacontaining the expression for the default value of the given link field.Retrieves theFormatMaskExpressionMetadatacontaining the expression for the format mask of the given link field.intRetrieves the maximum character length of the given link field.booleanRetrieves whether the given link field is a system-managed 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 theDefaultValueExpressionMetadatacontaining the expression for the default value of the given link field.- Returns:
- a
DefaultValueExpressionMetadatawith a default value expression if it exists, otherwise null
-
getFormatMask
FormatMaskExpressionMetadata getFormatMask()Retrieves theFormatMaskExpressionMetadatacontaining the expression for the format mask of the given link field.- Returns:
- a
FormatMaskExpressionMetadatawith the format mask expression of LinkFormat()
-
getMaxLength
int getMaxLength()Retrieves the maximum character length of the given link field.- Returns:
- the max length of the field.For example, 255.
-
isSystemManaged
boolean isSystemManaged()Retrieves whether the given link field is a system-managed field.- Returns:
- true if the field is system-managed, otherwise false
-