Class FieldType
java.lang.Object
com.broadleafcommerce.search.api.type.FieldType
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DefaultFieldType
A generic representation for the type of a field. This is not specific to any search engine
implementation. The
FieldTypeConverter
is
responsible for transforming these field types for specific search engines.- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FieldType
-
FieldType
-
-
Method Details
-
getInstance
Get the instance ofFieldType
for the given named type representation.- Parameters:
type
- the named representation of the type- Returns:
- the FieldType matching the type name
-
equals
-
canEqual
-
hashCode
public int hashCode() -
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
-