Interface GenericSearchParameterDescriptor

All Superinterfaces:
PropertyDescriptor, SearchParameterDescriptor
All Known Implementing Classes:
ClassAttributeSearchDescriptor, CustomerAddressSearchDescriptor, EmployeeCompanyAttributeSearchDescriptor, ItemAttributeSearchDescriptor, SpecialGenericSearchParameterDescriptor

public interface GenericSearchParameterDescriptor extends SearchParameterDescriptor
The interface GenericSearchParameterDescriptor. Contains several fields of search descriptor and method for create generic search condition.
  • Method Details

    • isSimpleSearchProperty

      boolean isSimpleSearchProperty()
      Checks if is simple search property.
      Returns:
      true, if is simple search property
    • getRequiredComposedType

      ComposedTypeModel getRequiredComposedType()
      Returns the required composed type that is enclosing type of underlying property descriptor.
      Returns:
      the required composed type
    • createCondition

      GenericCondition createCondition(GenericQuery query, Object value, Operator operator)
      Creates the condition for the given generic query combined of the specified arguments.
      Parameters:
      query - the generic query that condition will be created for
      value - the value used to create condition
      operator - the operator used to create condition
      Returns:
      the new create generic condition
    • getAttributeQualifier

      String getAttributeQualifier()
      Returns the attribute qualifier of the underlying property.
      Returns:
      the attribute qualifier
    • getDefaultOperator

      Operator getDefaultOperator()
      Returns the default operator for the property, which can be "equals", "contains", etc..
      Returns:
      the default operator for the underlying property