public class HeaderCellContext
extends java.lang.Object
QDR, value, and data model.| Constructor and Description |
|---|
HeaderCellContext(DataModel model,
int edge,
int layer,
int slice,
QDR qdr,
java.lang.Object value)
Constructs a
HeaderCellContext for the specified header cell. |
| Modifier and Type | Method and Description |
|---|---|
int |
getEdge()
Returns the edge (
oracle.dss.util.DataDirector.COLUMN_EDGE or
oracle.dss.util.DataDirector.ROW_EDGE ) of the header cell. |
int |
getLayer()
Return the layer of the header cell.
|
int |
getLayerCount()
Returns the number of layers on the edge.
|
QDR |
getQDR()
Returns the
QDR for the cell. |
java.lang.Object |
getValue()
Returns the value to be displayed in the cell.
|
java.lang.Object |
getValue(java.lang.String type)
Returns a value associated with the cell.
|
public HeaderCellContext(DataModel model, int edge, int layer, int slice, QDR qdr, java.lang.Object value)
HeaderCellContext for the specified header cell.model - the data model for the Pivot Tableedge - the edge number of the header celllayer - the zero-based layer number of the header cellslice - the zero-based slice number of the header cellqdr - the QDR of the header cellvalue - the value in the header cellpublic int getEdge()
oracle.dss.util.DataDirector.COLUMN_EDGE or
oracle.dss.util.DataDirector.ROW_EDGE ) of the header cell.public int getLayer()
public int getLayerCount()
public QDR getQDR()
QDR for the cell.QDR for the cellpublic java.lang.Object getValue()
public java.lang.Object getValue(java.lang.String type)
throws DataException
type - one of the types listed in oracle.dss.util.MetadataMapDataException - if the edge, layer, or slice are out of bounds