|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Cell
This interface describes a Cell
within a palo cube. Each cell
consists of a coordinate and a cell value of certain type. Currently palo
supports the types NUMERIC
and STRING
. Constants
are provide for both types.
Note: Cell
s are not cached by the API.
Field Summary | |
---|---|
static int |
NUMERIC
Constant for NUMERIC type. |
static int |
STRING
Constant for value type STRING |
Method Summary | |
---|---|
Element[] |
getCoordinate()
Returns the cell coordinate |
Cube |
getCube()
Returns the cube of this cell |
Element[] |
getPath()
Returns the cell path |
java.lang.String |
getRuleId()
Returns the identifier of the Rule which is applied to this cell
or null if this cell has no rule. |
int |
getType()
Returns the value type which is either NUMERIC or
STRING |
java.lang.Object |
getValue()
Returns the cell value which is either of type NUMERIC or
STRING |
boolean |
hasRule()
Checks if the cell value is based on a rule |
boolean |
isConsolidated()
Checks if the cell is consolidated, i.e. at least one Element must be of type CONSOLIDATED and all
other must be of type NUMERIC . |
boolean |
isEmpty()
Checks if this cell is empty, i.e. no value is set. |
Field Detail |
---|
static final int NUMERIC
double
s.
static final int STRING
Method Detail |
---|
Cube getCube()
Element[] getPath()
getCoordinate()
instead.Element[] getCoordinate()
java.lang.Object getValue()
NUMERIC
or
STRING
int getType()
NUMERIC
or
STRING
boolean hasRule()
true
if cell has a rule applied, false
otherwise.java.lang.String getRuleId()
Rule
which is applied to this cell
or null
if this cell has no rule.
null
.boolean isConsolidated()
Element
must be of type CONSOLIDATED
and all
other must be of type NUMERIC
.
true
if this cell is consolidated,
false
otherwiseboolean isEmpty()
STRING
this means an empty string.
true
if this cell has no value, otherwise false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |