Class GenericField

    • Constructor Summary

      Constructors 
      Constructor Description
      GenericField​(java.lang.String typeIdentifier, java.lang.String qualifier)  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getQualifier()
      Return the attribute qualifier of this field.
      java.lang.String getTypeCode()
      Deprecated.
      since ages
      java.lang.String getTypeIdentifier()
      Returns the type identifier of this field.
      protected void setQualifier​(java.lang.String qualifier)  
      protected void setTypeIdentifier​(java.lang.String typeCode)
      Sets a new type code.
      void toFlexibleSearch​(java.lang.StringBuilder queryBuffer, java.util.Map<java.lang.String,​java.lang.String> aliasTypeMap, java.util.Map<java.lang.String,​java.lang.Object> valueMap)
      compiles this instance in order to append its query snippet and add its value(s), if any
      void toPolyglotSearch​(java.lang.StringBuilder queryBuffer, java.util.Map<java.lang.String,​java.lang.String> aliasTypeMap, java.util.Map<java.lang.String,​java.lang.Object> valueMap)
      compiles this instance in order to append its query snippet and add its value(s), if any
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GenericField

        public GenericField​(java.lang.String typeIdentifier,
                            java.lang.String qualifier)
    • Method Detail

      • setQualifier

        protected void setQualifier​(java.lang.String qualifier)
      • getQualifier

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

        @Deprecated
        public java.lang.String getTypeCode()
        Deprecated.
        since ages
        return the typeCode of this field
        Returns:
        the typeCode
      • getTypeIdentifier

        public java.lang.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​(java.lang.String typeCode)
        Sets a new type code.
        Parameters:
        typeCode - the new type code
      • toPolyglotSearch

        public void toPolyglotSearch​(java.lang.StringBuilder queryBuffer,
                                     java.util.Map<java.lang.String,​java.lang.String> aliasTypeMap,
                                     java.util.Map<java.lang.String,​java.lang.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