Class QueryColumn

java.lang.Object
com.axelor.meta.schema.queries.QueryColumn

public class QueryColumn extends Object
  • Constructor Details

    • QueryColumn

      public QueryColumn()
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getSelection

      public String getSelection()
    • setSelection

      public void setSelection(String selection)
    • getFormat

      public String getFormat()
      How values in this column are presented.

      Declared once here rather than in every widget that shows the column, so a currency measure reads the same in a metric, a table cell and a chart tooltip.

    • setFormat

      public void setFormat(String format)
    • getCurrency

      public String getCurrency()
      ISO currency code, for a column whose format is currency.
    • setCurrency

      public void setCurrency(String currency)
    • getCurrencyField

      public String getCurrencyField()
      The column holding each row's currency code, for amounts in more than one currency: a value is shown in its row's currency, and rows in different currencies are never added together.
    • setCurrencyField

      public void setCurrencyField(String currencyField)
    • getScale

      public String getScale()
      What a percentage column's stored number means: ratio for 0.6, percent for 60. Both display as 60%, and only the query knows which was stored.
    • setScale

      public void setScale(String scale)