public class ClassAttributeSearchDescriptor extends 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 |
|---|
ClassAttributeSearchDescriptor(ClassAttributePropertyDescriptor propertyDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
GenericCondition |
createCondition(GenericQuery query,
Object value,
Operator operator)
Creates the condition for the given generic query combined of the specified arguments.
|
ClassAttributeAssignment |
getAttributeAssignment()
Deprecated.
use
getClassAttributeAssignment() instead |
String |
getAttributeQualifier()
Returns the attribute qualifier of the underlying property.
|
ClassAttributeAssignmentModel |
getClassAttributeAssignment() |
Operator |
getDefaultOperator()
Returns the default operator for the property, which can be "equals", "contains", etc..
|
String |
getDescription()
localized description
|
String |
getEditorType()
The general editor type.
|
PropertyDescriptor.Multiplicity |
getMultiplicity()
Specifies which type of collection this editor should handle.
|
String |
getName()
localized name
|
String |
getName(String languageIso) |
PropertyDescriptor.Occurrence |
getOccurence()
Tells if this property is mandatory, recommended or optional.
|
List<Operator> |
getOperators() |
ClassAttributePropertyDescriptor |
getPropertyDescriptor() |
String |
getQualifier()
The (globally!) unique property qualifier.
|
protected GenericQueryClassParameterCreator |
getQueryCreator() |
ComposedTypeModel |
getRequiredComposedType()
Returns the required composed type that is enclosing type of underlying property descriptor.
|
String |
getSelectionOf()
qualifier of property descriptor that holds the "selectionOf"
|
boolean |
isLocalized()
Tells whether this property contains localized data.
|
boolean |
isReadable() |
boolean |
isSimpleSearchProperty()
Gets the value of the property simpleSearchProperty.
|
boolean |
isWritable() |
void |
setOperators(List<Operator> operators) |
void |
setSimpleSearchProperty(boolean simpleSearchProperty) |
public boolean isSimpleSearchProperty
isSimpleSearchProperty in interface GenericSearchParameterDescriptorpublic ClassAttributeSearchDescriptor(ClassAttributePropertyDescriptor propertyDescriptor)
protected GenericQueryClassParameterCreator getQueryCreator()
public ClassAttributePropertyDescriptor getPropertyDescriptor()
public GenericCondition createCondition(GenericQuery query, 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)
public List<Operator> getOperators()
getOperators in interface SearchParameterDescriptorpublic Operator getDefaultOperator()
GenericSearchParameterDescriptorgetDefaultOperator in interface GenericSearchParameterDescriptor@Deprecated public ClassAttributeAssignment getAttributeAssignment()
getClassAttributeAssignment() insteadpublic ClassAttributeAssignmentModel getClassAttributeAssignment()
public String getAttributeQualifier()
GenericSearchParameterDescriptorgetAttributeQualifier in interface GenericSearchParameterDescriptorpublic String getDescription()
PropertyDescriptorgetDescription in interface PropertyDescriptorpublic String getEditorType()
PropertyDescriptorgetEditorType in interface PropertyDescriptorpublic PropertyDescriptor.Multiplicity getMultiplicity()
PropertyDescriptorPropertyDescriptor.Multiplicity.SINGLE or null.getMultiplicity in interface PropertyDescriptorpublic String getName()
PropertyDescriptorgetName in interface PropertyDescriptorpublic PropertyDescriptor.Occurrence getOccurence()
PropertyDescriptorgetOccurence in interface PropertyDescriptorpublic String getQualifier()
PropertyDescriptorgetQualifier in interface PropertyDescriptorpublic boolean isLocalized()
PropertyDescriptorisLocalized in interface PropertyDescriptorpublic String getName(String languageIso)
getName in interface PropertyDescriptorpublic boolean isReadable()
isReadable in interface PropertyDescriptorpublic boolean isWritable()
isWritable in interface PropertyDescriptorpublic String getSelectionOf()
PropertyDescriptorgetSelectionOf in interface PropertyDescriptorCopyright © 2017 SAP SE. All Rights Reserved.