Interface ObjectFieldCollectionResponse


public interface ObjectFieldCollectionResponse
Holds a ObjectField collection.
  • Method Details

    • getField

      ObjectField getField(String fieldName)
      Deprecated.
      Given the field name, retrieves the ObjectField. 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

      boolean containsField(String fieldName)
      Deprecated.
      Given the field name, checks to see if an ObjectField exists with the name.
      Parameters:
      fieldName - name of field. Cannot be null or empty. For example, name__v.
      Returns:
      true if an ObjectField exists 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 Stream<ObjectField> 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 ObjectField in 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 ObjectField in this collection