Class IndexField

All Implemented Interfaces:
ObjectModel

public class IndexField extends DynamicModel<String>
Schema for indexed fields for use with declarative JSON query. This type supports additional properties of type String. Schema for sort direction.
  • Constructor Details

    • IndexField

      public IndexField()
  • Method Details

    • newBuilder

      public IndexField.Builder newBuilder()
      New builder.
      Returns:
      a IndexField builder
    • getName

      public String getName()
      Gets the name. Name of the field.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - the new name
    • getType

      public String getType()
      Gets the type. The type of the named field.
      Returns:
      the type
    • setType

      public void setType(String type)
      Sets the type.
      Parameters:
      type - the new type