public class ClassAttributeSearchDescriptor 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 |
|---|
ClassAttributeSearchDescriptor(ClassAttributePropertyDescriptor 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.
|
ClassAttributeAssignment |
getAttributeAssignment()
Deprecated.
since 6.3, use
getClassAttributeAssignment() instead |
java.lang.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..
|
java.lang.String |
getDescription()
localized description
|
java.lang.String |
getEditorType()
The general editor type.
|
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() |
ClassAttributePropertyDescriptor |
getPropertyDescriptor() |
java.lang.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.
|
java.lang.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(java.util.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, 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)
public void setOperators(java.util.List<Operator> operators)
public java.util.List<Operator> getOperators()
getOperators in interface SearchParameterDescriptorpublic Operator getDefaultOperator()
GenericSearchParameterDescriptorgetDefaultOperator in interface GenericSearchParameterDescriptor@Deprecated public ClassAttributeAssignment getAttributeAssignment()
getClassAttributeAssignment() insteadpublic ClassAttributeAssignmentModel getClassAttributeAssignment()
public java.lang.String getAttributeQualifier()
GenericSearchParameterDescriptorgetAttributeQualifier 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 getName(java.lang.String languageIso)
getName in interface PropertyDescriptorpublic boolean isReadable()
isReadable in interface PropertyDescriptorpublic boolean isWritable()
isWritable in interface PropertyDescriptorpublic java.lang.String getSelectionOf()
PropertyDescriptorgetSelectionOf in interface PropertyDescriptorCopyright © 2018 SAP SE. All Rights Reserved.