public class GenericSearchField extends GenericField
| Constructor and Description |
|---|
GenericSearchField(String qualifier) |
GenericSearchField(String typeIdentifier,
String qualifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFieldType(GenericSearchFieldType type) |
boolean |
equals(Object object) |
Collection |
getFieldTypes()
returns all
GenericSearchFieldType associated to this instance |
PK |
getLanguagePK()
returns the LanguagePK for this field
|
boolean |
hasFieldType(GenericSearchFieldType type) |
void |
setFieldTypes(Collection fieldTypes)
Sets the type set for this field
|
void |
setLanguagePK(PK pk)
sets the LanguagePK for this field
|
void |
toFlexibleSearch(StringBuilder queryBuffer,
Map<String,String> typeIndexMap,
Map<String,Object> valueMap)
compiles this instance in order to append its query snippet and add its value(s), if any
|
String |
toString() |
getQualifier, getTypeCode, getTypeIdentifier, setQualifier, setTypeIdentifiergetAliasFromTypeMappublic GenericSearchField(String qualifier)
public void addFieldType(GenericSearchFieldType type)
public boolean hasFieldType(GenericSearchFieldType type)
public Collection getFieldTypes()
GenericSearchFieldType associated to this instancepublic void setFieldTypes(Collection fieldTypes)
fieldTypes - Collection of GenericSearchFieldTypespublic PK getLanguagePK()
public void setLanguagePK(PK pk)
pk - stringpublic void toFlexibleSearch(StringBuilder queryBuffer, Map<String,String> typeIndexMap, Map<String,Object> valueMap)
FlexibleSearchTranslatabletoFlexibleSearch in class GenericFieldqueryBuffer - contains the querytypeIndexMap - contains typeCode <> typeIndex mappingsvalueMap - contains valueQualifier <> value mappingsFlexibleSearchTranslatable.toFlexibleSearch(java.lang.StringBuilder,Map,Map)Copyright © 2017 SAP SE. All Rights Reserved.