Package de.hybris.platform.core
Class GenericSearchFieldType
- java.lang.Object
-
- de.hybris.platform.core.FlexibleSearchTranslatable
-
- de.hybris.platform.core.GenericSearchFieldType
-
- All Implemented Interfaces:
java.io.Serializable
public final class GenericSearchFieldType extends FlexibleSearchTranslatable
Class represents a field modifier, used to indicate one of the following:CORE- marks field as core attributePROPERTY- marks field as propertyLOCALIZED- marks field as localized attributeINTERNAL- marks field as internalOUTER_JOIN- forces flexible search to join this field outer- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static GenericSearchFieldTypeCOREstatic GenericSearchFieldTypeINTERNALstatic GenericSearchFieldTypeLOCALIZEDstatic GenericSearchFieldTypeOUTER_JOINstatic GenericSearchFieldTypePROPERTY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object arg0)equalsintgetCode()inthashCode()booleanisCore()booleanisInternal()booleanisLocalized()booleanisOptional()booleanisProperty()static java.util.CollectiontoCollection(int newType)voidtoFlexibleSearch(java.lang.StringBuilder queryBuffer, java.util.Map<java.lang.String,java.lang.String> typeIndexMap, java.util.Map<java.lang.String,java.lang.Object> valueMap)toFlexibleSearchjava.lang.StringtoString()-
Methods inherited from class de.hybris.platform.core.FlexibleSearchTranslatable
getAliasFromTypeMap, toPolyglotSearch
-
-
-
-
Field Detail
-
CORE
public static final GenericSearchFieldType CORE
-
PROPERTY
public static final GenericSearchFieldType PROPERTY
-
LOCALIZED
public static final GenericSearchFieldType LOCALIZED
-
INTERNAL
public static final GenericSearchFieldType INTERNAL
-
OUTER_JOIN
public static final GenericSearchFieldType OUTER_JOIN
-
-
Method Detail
-
toFlexibleSearch
public void toFlexibleSearch(java.lang.StringBuilder queryBuffer, java.util.Map<java.lang.String,java.lang.String> typeIndexMap, java.util.Map<java.lang.String,java.lang.Object> valueMap)toFlexibleSearch- Specified by:
toFlexibleSearchin classFlexibleSearchTranslatable- Parameters:
queryBuffer- contains the querytypeIndexMap- contains typeCode <> typeIndex mappingsvalueMap- contains valueQualifier <> value mappings- See Also:
FlexibleSearchTranslatable.toFlexibleSearch(java.lang.StringBuilder, Map, Map)
-
getCode
public int getCode()
- Returns:
- modifier's code
-
isCore
public boolean isCore()
-
isProperty
public boolean isProperty()
-
isLocalized
public boolean isLocalized()
-
isInternal
public boolean isInternal()
-
isOptional
public boolean isOptional()
-
toCollection
public static java.util.Collection toCollection(int newType)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object arg0)
equals- Overrides:
equalsin classjava.lang.Object- See Also:
Object.equals(java.lang.Object)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-