public class ItemAttributeSearchDescriptor extends java.lang.Object implements GenericSearchParameterDescriptor
| Type | Property and Description |
|---|---|
boolean |
isSimpleSearch
Gets the value of the property simpleSearchProperty.
|
PropertyDescriptor.Multiplicity, PropertyDescriptor.OccurrenceBOOLEAN, DATE, DECIMAL, ENUM, FEATURE, FLOAT, INTEGER, LONG, PK, QUALIFIER_DELIM, QUALIFIER_DELIM_EXP, REFERENCE, TEXT| Constructor and Description |
|---|
ItemAttributeSearchDescriptor(ItemAttributePropertyDescriptor propertyDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
GenericCondition |
createCondition(GenericQuery query,
java.lang.Object value,
Operator operator)
Creates the condition for the given generic query combined of the specified arguments.
|
protected GenericQueryParameterCreator |
createCreator() |
boolean |
equals(java.lang.Object obj) |
java.util.List<AttributeDescriptorModel> |
getAttributeDescriptors() |
java.lang.String |
getAttributeQualifier()
Returns the attribute qualifier of the underlying property.
|
Operator |
getDefaultOperator()
Returns the default operator for the property, which can be "equals", "contains", etc..
|
java.lang.String |
getDescription()
localized description
|
java.lang.String |
getEditorType()
The general editor type.
|
AttributeDescriptorModel |
getFirstAttributeDescriptor() |
AttributeDescriptorModel |
getLastAttributeDescriptor() |
PropertyDescriptor.Multiplicity |
getMultiplicity()
Specifies which type of collection this editor should handle.
|
java.lang.String |
getName()
localized name
|
java.lang.String |
getName(java.lang.String languageIso) |
PropertyDescriptor.Occurrence |
getOccurence()
Tells if this property is mandatory, recommended or optional.
|
java.util.List<Operator> |
getOperators() |
java.lang.String |
getQualifier()
The (globally!) unique property qualifier.
|
protected GenericQueryParameterCreator |
getQueryCreator() |
ComposedTypeModel |
getRequiredComposedType()
Returns the required composed type that is enclosing type of underlying property descriptor.
|
java.lang.String |
getSelectionOf()
qualifier of property descriptor that holds the "selectionOf"
|
int |
hashCode() |
boolean |
isLocalized()
Tells whether this property contains localized data.
|
boolean |
isReadable() |
boolean |
isSimpleSearchProperty()
Gets the value of the property simpleSearchProperty.
|
boolean |
isWritable() |
void |
setEditorType(java.lang.String type)
Deprecated.
since 6.3,
ItemAttributePropertyDescriptor.setEditorType(String) should be used instead. |
void |
setOperators(java.util.List<Operator> operators) |
void |
setSimpleSearchProperty(boolean simpleSearchProperty) |
public boolean isSimpleSearchProperty
isSimpleSearchProperty in interface GenericSearchParameterDescriptorpublic ItemAttributeSearchDescriptor(ItemAttributePropertyDescriptor propertyDescriptor)
protected GenericQueryParameterCreator createCreator()
protected GenericQueryParameterCreator getQueryCreator()
public GenericCondition createCondition(GenericQuery query, java.lang.Object value, Operator operator)
GenericSearchParameterDescriptorcreateCondition in interface GenericSearchParameterDescriptorquery - the generic query that condition will be created forvalue - the value used to create conditionoperator - the operator used to create conditionpublic ComposedTypeModel getRequiredComposedType()
GenericSearchParameterDescriptorgetRequiredComposedType in interface GenericSearchParameterDescriptorpublic boolean isSimpleSearchProperty()
isSimpleSearchProperty in interface GenericSearchParameterDescriptorpublic void setSimpleSearchProperty(boolean simpleSearchProperty)
@Deprecated public void setEditorType(java.lang.String type)
ItemAttributePropertyDescriptor.setEditorType(String) should be used instead.ItemAttributeSearchDescriptor.type - the editor type to setpublic void setOperators(java.util.List<Operator> operators)
public java.util.List<Operator> getOperators()
getOperators in interface SearchParameterDescriptorpublic Operator getDefaultOperator()
GenericSearchParameterDescriptorgetDefaultOperator in interface GenericSearchParameterDescriptorpublic java.lang.String getDescription()
PropertyDescriptorgetDescription in interface PropertyDescriptorpublic java.lang.String getEditorType()
PropertyDescriptorgetEditorType in interface PropertyDescriptorpublic PropertyDescriptor.Multiplicity getMultiplicity()
PropertyDescriptorPropertyDescriptor.Multiplicity.SINGLE or null.getMultiplicity in interface PropertyDescriptorpublic java.lang.String getName()
PropertyDescriptorgetName in interface PropertyDescriptorpublic PropertyDescriptor.Occurrence getOccurence()
PropertyDescriptorgetOccurence in interface PropertyDescriptorpublic java.lang.String getQualifier()
PropertyDescriptorgetQualifier in interface PropertyDescriptorpublic boolean isLocalized()
PropertyDescriptorisLocalized in interface PropertyDescriptorpublic java.lang.String getAttributeQualifier()
GenericSearchParameterDescriptorgetAttributeQualifier in interface GenericSearchParameterDescriptorpublic java.util.List<AttributeDescriptorModel> getAttributeDescriptors()
public AttributeDescriptorModel getFirstAttributeDescriptor()
public AttributeDescriptorModel getLastAttributeDescriptor()
public java.lang.String getName(java.lang.String languageIso)
getName in interface PropertyDescriptorpublic boolean isReadable()
isReadable in interface PropertyDescriptorpublic boolean isWritable()
isWritable in interface PropertyDescriptorpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getSelectionOf()
PropertyDescriptorgetSelectionOf in interface PropertyDescriptorCopyright © 2018 SAP SE. All Rights Reserved.