Class FieldType


  • public class FieldType
    extends java.lang.Object
    FieldType - The type of the field
    • Field Detail

      • SHORT_TEXT

        public static final FieldType SHORT_TEXT
      • LONG_TEXT

        public static final FieldType LONG_TEXT
      • MULTI_SELECT

        public static final FieldType MULTI_SELECT
      • SINGLE_SELECT

        public static final FieldType SINGLE_SELECT
      • BOOLEAN

        public static final FieldType BOOLEAN
      • NUMBER

        public static final FieldType NUMBER
      • LOCATION

        public static final FieldType LOCATION
      • UNMAPPED_VALUE

        public static final FieldType UNMAPPED_VALUE
    • Method Detail

      • of

        public static FieldType of​(java.lang.String value)
        Returns a FieldType with the given value. For a specific value the returned object will always be a singleton so reference equality is satisfied when the values are the same.
        Parameters:
        value - value to be wrapped as FieldType
      • value

        public java.lang.String value()
      • isKnown

        public boolean isKnown()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • values

        public static FieldType[] values()