com.sas.iquery.metadata.business
Class TotalingType

com.sas.iquery.metadata.business.TotalingType
All Implemented Interfaces:
com.sas.util.LocalizableToStringInterface

public class TotalingType

The type of totaling:


Field Summary
static TotalingType ALLTOTAL
          This action defines if either all innermost rows or columns will be subtotaled for a business model.
static TotalingType AXISTOTAL
          This action defines that totaling is applied at the outermost hierarchy and level in the result set on either the column axis or the row axis.
static TotalingType GRANDTOTAL
          Deprecated. use TotallingType#AXISTOTAL
static TotalingType SUBTOTAL
          This action defines if either rows or columns will be totaled for a business model.
static TotalingType TOTAL_NONE
          This totaling action defines that no subtotals and axis totals have been applied for a business model.
 
Method Summary
static TotalingType fromValue(java.lang.String oldValue)
           
 java.lang.String getTotalType()
          returns the old string value used by the TotalType methods
 

Field Detail

TOTAL_NONE

public static final TotalingType TOTAL_NONE
This totaling action defines that no subtotals and axis totals have been applied for a business model.


ALLTOTAL

public static final TotalingType ALLTOTAL
This action defines if either all innermost rows or columns will be subtotaled for a business model. A subtotal is the value for a parent that has been added to the output because the user has asked for subtotals. It can therefore be either a Visual Total or a Cube Value.


SUBTOTAL

public static final TotalingType SUBTOTAL
This action defines if either rows or columns will be totaled for a business model.


GRANDTOTAL

public static final TotalingType GRANDTOTAL
Deprecated. use TotallingType#AXISTOTAL
This action defines if grand totaling is applied to outermost dimension for a business model.


AXISTOTAL

public static final TotalingType AXISTOTAL
This action defines that totaling is applied at the outermost hierarchy and level in the result set on either the column axis or the row axis. Column totals are displayed as the last/first row(s) on the row axis. Row totals are displayed as the last/first column(s) on the column axis. When a total is coalesced, there is a single row/column for total. If total is not coalesced, you will see the natural multidimensional presentation.

Method Detail

getTotalType

public java.lang.String getTotalType()
returns the old string value used by the TotalType methods


fromValue

public static TotalingType fromValue(java.lang.String oldValue)
Parameters:
oldValue - persisted value
Returns:
TotalingType or null if no matching type found



Copyright © 2009 SAS Institute Inc. All Rights Reserved.