Package com.jedox.palojlib.main
Class Cell
java.lang.Object
com.jedox.palojlib.main.Cell
- All Implemented Interfaces:
ICell
- Author:
- khaddadin
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jedox.palojlib.interfaces.ICell
ICell.CellType
-
Constructor Summary
ConstructorsConstructorDescriptionCell
(int[] path, Object value, ICell.CellType type, IDimension[] dimensions, String[] pathNames, String exists) Cell
(int[] path, String type, String exists, Object value, IDimension[] dimensions, String[] pathNames) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the current user is allowed to access this cell.boolean
exists()
int[]
getPathNameAt
(int index) get the name of the element building this cell path at a certain positionString[]
get the names of the elements building this cell pathgetType()
get the type of the cellICell.CellType
getValue()
get the value of the cell as an object
-
Constructor Details
-
Cell
public Cell(int[] path, Object value, ICell.CellType type, IDimension[] dimensions, String[] pathNames, String exists) -
Cell
public Cell(int[] path, String type, String exists, Object value, IDimension[] dimensions, String[] pathNames)
-
-
Method Details
-
getPathIds
public int[] getPathIds() -
getPathIdsAsString
-
getPathNames
Description copied from interface:ICell
get the names of the elements building this cell path- Specified by:
getPathNames
in interfaceICell
- Returns:
- array of element names
- Throws:
PaloException
- exception from OLAP serverPaloJException
- exception from the library itself
-
getPathNameAt
Description copied from interface:ICell
get the name of the element building this cell path at a certain position- Specified by:
getPathNameAt
in interfaceICell
- Parameters:
index
- path index- Returns:
- element name
- Throws:
PaloException
- exception from OLAP serverPaloJException
- exception from the library itself
-
getValue
Description copied from interface:ICell
get the value of the cell as an object -
getType
Description copied from interface:ICell
get the type of the cellICell.CellType
-
exists
public boolean exists() -
accessAllowed
public boolean accessAllowed()Description copied from interface:ICell
Checks if the current user is allowed to access this cell.- Specified by:
accessAllowed
in interfaceICell
- Returns:
true
if the user is allowed to access this cell,false
otherwise
-