Package com.veeva.vault.sdk.api.document
Interface DocumentFieldMetadataResponse
public interface DocumentFieldMetadataResponse
Holds a collection of
DocumentFieldMetadata entries.-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsField(String fieldName) Given a field name, checks to see if the correspondingDocumentFieldMetadataobject exists within this response.Given the field name, retrieves the correspondingDocumentFieldMetadataobject.Retrieves a collection of allDocumentFieldMetadataobjects contained within this response.
-
Method Details
-
getField
Given the field name, retrieves the correspondingDocumentFieldMetadataobject.- Parameters:
fieldName- name of the field. Cannot be null or empty. Field must exist. For example, "name__v".- Returns:
- a
DocumentFieldMetadata
-
getFields
List<DocumentFieldMetadata> getFields()Retrieves a collection of allDocumentFieldMetadataobjects contained within this response.- Returns:
- a collection of
DocumentFieldMetadata
-
containsField
Given a field name, checks to see if the correspondingDocumentFieldMetadataobject exists within this response.- Parameters:
fieldName- the name of the field. Cannot be null or empty. For example, "name__v".- Returns:
- true if a corresponding
DocumentFieldMetadataobject exists within this response, otherwise false
-