Class QueryField

  • All Implemented Interfaces:
    IQueryValue

    @StableMinor(version="17.0",
                 sinceVersion="4.0")
    public class QueryField
    extends java.lang.Object
    implements IQueryValue
    Represents a query field
    Since:
    4.0.0
    Version:
    $Revision: 26587 $ $Date: 2024-08-26 21:09:17 -0300 (Mon, 26 Aug 2024) $
    • Constructor Detail

      • QueryField

        public QueryField()
    • Method Detail

      • getFieldAlias

        public java.lang.String getFieldAlias()
      • setFieldAlias

        public void setFieldAlias​(java.lang.String fieldAlias)
      • getFieldName

        public java.lang.String getFieldName()
      • setFieldName

        public void setFieldName​(java.lang.String fieldName)
      • getTableOrView

        public QueryTable getTableOrView()
      • setTableOrView

        public void setTableOrView​(QueryTable tableOrView)
      • getDataType

        public java.lang.String getDataType()
        Returns the LPS data type of this field.
      • setDataType

        public void setDataType​(java.lang.String dataType)
        Sets the LPS data type of this field.
      • getConverter

        public IConverter getConverter()
        Returns the converter for this field's values.
        Returns:
        the converter for this field's values. May be null if no converter was specified for this field.
        Since:
        4.0.4
      • setConverter

        public void setConverter​(IConverter converter)
        Sets the converter for this field's values.
        Parameters:
        converter - the converter to set.
        Since:
        4.0.4
      • getIdentification

        public java.lang.String getIdentification()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • isGroupBy

        public boolean isGroupBy()
        Returns true if field should be in group by clause, otherwise false.
        Returns:
        true if field should be in group by clause, otherwise false.
        Since:
        7.0.0
      • setGroupBy

        public void setGroupBy​(boolean groupBy)
        Sets the group by attribute.
        Parameters:
        groupBy - the group by attribute.
        Since:
        7.0.0