|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.totals.BaseTotalsSelectorAdapter
public class BaseTotalsSelectorAdapter
Base class that contains attributes and methods common to the different Totals Selector adapters.
Field Summary | |
---|---|
protected boolean |
columnTotals
Flag to indicate if the column totals have to be applied. |
protected com.sas.iquery.metadata.business.BusinessQuery |
dataModel
The data model used by the adapter. |
protected boolean |
valuesFromDataModel
Flag to indicate if the values must be read directly from the Data Model or from the internal variables. |
Fields inherited from interface com.sas.dataselectors.totals.TotalsSelectorInterface |
---|
BOTTOM, COLUMN_SUBTOTALS, COLUMN_TOTALS, EXPANDED_TOTALS, NO_COLUMN_SUBTOTALS, NO_COLUMN_TOTALS, NO_EXPANDED_TOTALS, NO_ROW_SUBTOTALS, NO_ROW_TOTALS, ROW_SUBTOTALS, ROW_TOTALS, TOP, UNFILTERED_TOTALS, VISUAL_TOTALS |
Constructor Summary | |
---|---|
BaseTotalsSelectorAdapter()
|
Method Summary | |
---|---|
boolean |
columnTotals()
Returns true if the column totals must be applyed, false otherwise. |
void |
columnTotals(boolean columnTotals)
Sets if the column totals must be applyed. |
com.sas.iquery.metadata.business.BusinessQuery |
dataModel()
Returns the model that contains the data. |
void |
dataModel(com.sas.iquery.metadata.business.BusinessQuery model)
Sets the model that contains the data. |
boolean |
hasSummarizeableItems()
Says if the data model contains at least one additive DataItem. |
boolean |
valuesFromDataModel()
Returns true if the values must be read directly from the Data Model, false if the values must be read from the internal variables |
void |
valuesFromDataModel(boolean valuesFromDataModel)
Sets if the the values must be read directly from the Data Model or from the internal variables |
Field Detail |
---|
protected com.sas.iquery.metadata.business.BusinessQuery dataModel
protected boolean columnTotals
protected boolean valuesFromDataModel
Constructor Detail |
---|
public BaseTotalsSelectorAdapter()
Method Detail |
---|
public void dataModel(com.sas.iquery.metadata.business.BusinessQuery model)
model
- the model that contains the data.public com.sas.iquery.metadata.business.BusinessQuery dataModel()
public boolean columnTotals()
TotalsSelectorInterface
columnTotals
in interface TotalsSelectorInterface
public void columnTotals(boolean columnTotals)
TotalsSelectorInterface
columnTotals
in interface TotalsSelectorInterface
columnTotals
- true if the column totals must be applyed, false otherwise.public boolean valuesFromDataModel()
valuesFromDataModel
in interface TotalsSelectorInterface
public void valuesFromDataModel(boolean valuesFromDataModel)
valuesFromDataModel
in interface TotalsSelectorInterface
valuesFromDataModel
- true if the the values must be read directly from the Data Model, false if the values must be read from the internal variablespublic boolean hasSummarizeableItems()
TotalsSelectorInterface
hasSummarizeableItems
in interface TotalsSelectorInterface
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |