Package de.hybris.platform.core
Class GenericSearchFieldType
java.lang.Object
de.hybris.platform.core.FlexibleSearchTranslatable
de.hybris.platform.core.GenericSearchFieldType
- All Implemented Interfaces:
Serializable
Class represents a field modifier, used to indicate one of the following:
CORE - marks field as core attribute PROPERTY - marks field as property
LOCALIZED - marks field as localized attribute INTERNAL - marks field as internal
OUTER_JOIN - forces flexible search to join this field outer- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GenericSearchFieldTypestatic final GenericSearchFieldTypestatic final GenericSearchFieldTypestatic final GenericSearchFieldTypestatic final GenericSearchFieldType -
Method Summary
Modifier and TypeMethodDescriptionbooleanequalsintgetCode()inthashCode()booleanisCore()booleanbooleanbooleanbooleanstatic CollectiontoCollection(int newType) voidtoFlexibleSearch(StringBuilder queryBuffer, Map<String, String> typeIndexMap, Map<String, Object> valueMap) toFlexibleSearchtoString()Methods inherited from class de.hybris.platform.core.FlexibleSearchTranslatable
getAliasFromTypeMap, toPolyglotSearch
-
Field Details
-
CORE
-
PROPERTY
-
LOCALIZED
-
INTERNAL
-
OUTER_JOIN
-
-
Method Details
-
toFlexibleSearch
public void toFlexibleSearch(StringBuilder queryBuffer, Map<String, String> typeIndexMap, Map<String, Object> valueMap) toFlexibleSearch- Specified by:
toFlexibleSearchin classFlexibleSearchTranslatable- Parameters:
queryBuffer- contains the querytypeIndexMap- contains typeCode <> typeIndex mappingsvalueMap- contains valueQualifier <> value mappings- See Also:
-
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
-
hashCode
public int hashCode() -
equals
equals -
toString
-