Class FieldType

    • Constructor Detail

      • FieldType

        public FieldType​(String type)
      • FieldType

        public FieldType​(String type,
                         boolean multiValued)
    • Method Detail

      • getInstance

        @Nullable
        public static FieldType getInstance​(String type)
        Get the instance of FieldType for the given named type representation.
        Parameters:
        type - the named representation of the type
        Returns:
        the FieldType matching the type name
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getType

        public String getType()
        The named representation of the type.
        Returns:
        named representation of the type
      • isMultiValued

        public boolean isMultiValued()
        Whether this type supports multiple values.
        Returns:
        whether this type supports multiple values