Package com.axelor.meta.schema.queries
Class QueryColumn
java.lang.Object
com.axelor.meta.schema.queries.QueryColumn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionISO currency code, for a column whose format iscurrency.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.How values in this column are presented.getName()getScale()What a percentage column's stored number means:ratiofor 0.6,percentfor 60.getTitle()getType()voidsetCurrency(String currency) voidsetCurrencyField(String currencyField) voidvoidvoidvoidsetSelection(String selection) voidvoid
-
Constructor Details
-
QueryColumn
public QueryColumn()
-
-
Method Details
-
getName
-
setName
-
getTitle
-
setTitle
-
getType
-
setType
-
getSelection
-
setSelection
-
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
-
getCurrency
ISO currency code, for a column whose format iscurrency. -
setCurrency
-
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
-
getScale
What a percentage column's stored number means:ratiofor 0.6,percentfor 60. Both display as 60%, and only the query knows which was stored. -
setScale
-