Package com.veeva.vault.sdk.api.data
Interface ObjectLookupParentReferenceFieldMetadata
- All Superinterfaces:
ObjectLookupFieldTypeMetadata
Provides methods to retrieve common metadata on parent reference lookup fields.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the inbound relationship label (relationship_inbound_label) of the given parent reference lookup field.Retrieves the inbound relationship name (relationship_inbound_name) of the given parent reference lookup field.Retrieves the outbound relationship name (relationship_outbound_name) of the given parent reference lookup field.Retrieves the referenced object name (object) of the given parent reference lookup field.Retrieves theObjectReferenceFieldMetadataDeleteType(relationship_deletion) of the given parent reference lookup field.Methods inherited from interface com.veeva.vault.sdk.api.data.ObjectLookupFieldTypeMetadata
getBaseFieldMetadata
-
Method Details
-
getInboundRelationshipLabel
String getInboundRelationshipLabel()Retrieves the inbound relationship label (relationship_inbound_label) of the given parent reference lookup field. For example,inbound label.- Returns:
- the inbound relationship label of the field
-
getInboundRelationshipName
String getInboundRelationshipName()Retrieves the inbound relationship name (relationship_inbound_name) of the given parent reference lookup field. For example,inbound__cr.- Returns:
- the inbound relationship name of the field
-
getOutboundRelationshipName
String getOutboundRelationshipName()Retrieves the outbound relationship name (relationship_outbound_name) of the given parent reference lookup field. For example,outbound__cr.- Returns:
- the outbound relationship name of the field
-
getReferencedObjectName
String getReferencedObjectName()Retrieves the referenced object name (object) of the given parent reference lookup field. For example,referenced_obj__c.- Returns:
- the referenced object name of the field
-
getRelationshipDeleteType
ObjectReferenceFieldMetadataDeleteType getRelationshipDeleteType()Retrieves theObjectReferenceFieldMetadataDeleteType(relationship_deletion) of the given parent reference lookup field. For example,ObjectReferenceFieldMetadataDeleteType.BLOCK.- Returns:
- the
ObjectReferenceFieldMetadataDeleteTypeof the field if it exists, otherwise null
-