Package com.veeva.vault.sdk.api.document
Interface DocumentFieldCollectionResponse
public interface DocumentFieldCollectionResponse
Deprecated.
Holds a
DocumentField collection.-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsField(String fieldName) Deprecated.Given the field name, checks to see if anDocumentFieldexists with the name.Deprecated.Given the field name, obtains theDocumentField.intDeprecated.Retrieves the number of entries in the collection.Deprecated.Streams the document fields in the native format,DocumentField.
-
Method Details
-
getField
Deprecated.Given the field name, obtains theDocumentField. This value is never null.- Parameters:
fieldName- name of the field. Cannot be null or empty. Field must exist. For example, name__v.- Returns:
- a
DocumentField
-
containsField
Deprecated.Given the field name, checks to see if anDocumentFieldexists with the name.- Parameters:
fieldName- name of field. Cannot be null or empty. For example, name__v.- Returns:
- true if a
DocumentFieldexists with the given field name, otherwise false
-
getFieldCount
int getFieldCount()Deprecated.Retrieves the number of entries in the collection.- Returns:
- the number of entries in this collection
-
streamFields
Stream<DocumentField> streamFields()Deprecated.Streams the document fields in the native format,DocumentField.To traverse the stream results in the classic iterator model, use the retrieved stream's
BaseStream.iterator()method.- Returns:
- a stream of all the
DocumentFieldin this collection
-
DocumentMetadataService.getDocumentFieldMetadata(DocumentFieldMetadataRequest)