Package com.veeva.vault.sdk.api.data
Interface ObjectFieldCollectionResponse
public interface ObjectFieldCollectionResponse
Deprecated.
Holds a
ObjectField collection.-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsField(String fieldName) Deprecated.Given the field name, checks to see if anObjectFieldexists with the name.Deprecated.Given the field name, retrieves theObjectField.intDeprecated.Retrieves the number of entries in the collection.Deprecated.Retrieves a list of the object fields in the native format,ObjectField.Deprecated.
-
Method Details
-
getField
Deprecated.Given the field name, retrieves theObjectField. 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
ObjectField
-
containsField
Deprecated.Given the field name, checks to see if anObjectFieldexists with the name.- Parameters:
fieldName- name of field. Cannot be null or empty. For example, name__v.- Returns:
- true if an
ObjectFieldexists with the given field name, false otherwise
-
getFieldCount
int getFieldCount()Deprecated.Retrieves the number of entries in the collection.- Returns:
- the number of entries in this collection
-
streamFields
Deprecated.Streams the object fields in the native format,ObjectField.To traverse the stream results in the classic iterator model, use the retrieved stream's
BaseStream.iterator()method.- Returns:
- a stream of all the
ObjectFieldin this collection
-
getFields
List<ObjectField> getFields()Deprecated.Retrieves a list of the object fields in the native format,ObjectField.- Returns:
- a list of all the
ObjectFieldin this collection
-
ObjectMetadataService.getFields(ObjectFieldCollectionRequest)