Class GenericField

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GenericSearchField, GenericSelectField

public abstract class GenericField extends FlexibleSearchTranslatable
Super class for all kinds of Fields.
See Also:
  • Constructor Details

    • GenericField

      public GenericField(String typeIdentifier, String qualifier)
  • Method Details

    • setQualifier

      protected void setQualifier(String qualifier)
    • getQualifier

      public String getQualifier()
      Return the attribute qualifier of this field.
    • getTypeCode

      @Deprecated(since="ages", forRemoval=true) public String getTypeCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since ages
      return the typeCode of this field
      Returns:
      the typeCode
    • getTypeIdentifier

      public String getTypeIdentifier()
      Returns the type identifier of this field. If null is returned this field belongs to the initial type of the enclosing query.
    • setTypeIdentifier

      protected void setTypeIdentifier(String typeCode)
      Sets a new type code.
      Parameters:
      typeCode - the new type code
    • toFlexibleSearch

      public void toFlexibleSearch(StringBuilder queryBuffer, Map<String,String> aliasTypeMap, Map<String,Object> valueMap)
      Description copied from class: FlexibleSearchTranslatable
      compiles this instance in order to append its query snippet and add its value(s), if any
      Specified by:
      toFlexibleSearch in class FlexibleSearchTranslatable
      Parameters:
      queryBuffer - contains the query
      aliasTypeMap - contains typeCode <> typeIndex mappings
      valueMap - contains valueQualifier <> value mappings
      See Also:
    • toPolyglotSearch

      public void toPolyglotSearch(StringBuilder queryBuffer, Map<String,String> aliasTypeMap, Map<String,Object> valueMap)
      Description copied from class: FlexibleSearchTranslatable
      compiles this instance in order to append its query snippet and add its value(s), if any
      Overrides:
      toPolyglotSearch in class FlexibleSearchTranslatable
      Parameters:
      queryBuffer - contains the query
      aliasTypeMap - contains typeCode <> typeIndex mappings
      valueMap - contains valueQualifier <> value mappings