Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.1.0)

E17492-02

oracle.adf.view.faces.bi.component.pivotTable
Class HeaderCellContext

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.pivotTable.HeaderCellContext

public class HeaderCellContext
extends java.lang.Object

Contains information about a Pivot Table header cell, including its edge, layer, slice, QDR, value, and data model.

Since:
release specific (what release of product did this appear in)

Constructor Summary
HeaderCellContext(DataModel model, int edge, int layer, int slice, QDR qdr, java.lang.Object value)
          Constructs a HeaderCellContext for the specified header cell.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeaderCellContext

public HeaderCellContext(DataModel model,
                         int edge,
                         int layer,
                         int slice,
                         QDR qdr,
                         java.lang.Object value)
Constructs a HeaderCellContext for the specified header cell.

Parameters:
model - the data model for the Pivot Table
edge - the edge number of the header cell
layer - the zero-based layer number of the header cell
slice - the zero-based slice number of the header cell
qdr - the QDR of the header cell
value - the value in the header cell
Method Detail

getEdge

public int getEdge()
Returns the edge ( oracle.dss.util.DataDirector.COLUMN_EDGE or oracle.dss.util.DataDirector.ROW_EDGE ) of the header cell.

Returns:
the edge of the header cell

getLayer

public int getLayer()
Return the layer of the header cell.

Returns:
the layer of the header cell

getLayerCount

public int getLayerCount()
Returns the number of layers on the edge.

Returns:
the number of layers on the edge

getQDR

public QDR getQDR()
Returns the QDR for the cell.

Returns:
the QDR for the cell

getValue

public java.lang.Object getValue()
Returns the value to be displayed in the cell.

Returns:
the value to be displayed in the cell

getValue

public java.lang.Object getValue(java.lang.String type)
                          throws DataException
Returns a value associated with the cell.

Parameters:
type - one of the types listed in oracle.dss.util.MetadataMap
Returns:
the cell value of the specified type
Throws:
DataException - if the edge, layer, or slice are out of bounds

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.1.0)

E17492-02

Copyright © 1997, 2011, Oracle. All rights reserved.