com.tonbeller.jpivot.olap.model
Interface Cell

All Superinterfaces:
Decorator, PropertyHolder, Visitable
All Known Implementing Classes:
CellBase, CellImpl, MondrianCell, XMLA_Cell

public interface Cell
extends PropertyHolder, Visitable, Decorator

Cell of an OLAP result. Cells may have properties for alerting, e.g. a cell may have an "arrow" property, thats value is some code for an trend arrow.

Author:
av

Method Summary
 NumberFormat getFormat()
          If the cells value represents a java.lang.Number, return its format.
 java.lang.String getFormattedValue()
          return the formatted value of the cell
 java.lang.Object getValue()
          return the value of the cell
 boolean isNull()
          true if the cell is null
 
Methods inherited from interface com.tonbeller.jpivot.olap.model.PropertyHolder
getProperties, getProperty
 
Methods inherited from interface com.tonbeller.jpivot.olap.model.Visitable
accept
 
Methods inherited from interface com.tonbeller.jpivot.olap.model.Decorator
getRootDecoree
 

Method Detail

getValue

java.lang.Object getValue()
return the value of the cell


getFormat

NumberFormat getFormat()
If the cells value represents a java.lang.Number, return its format. Returns null otherwise.

See Also:
getValue()

getFormattedValue

java.lang.String getFormattedValue()
return the formatted value of the cell


isNull

boolean isNull()
true if the cell is null