Class Cell

java.lang.Object
com.jedox.palojlib.main.Cell
All Implemented Interfaces:
ICell

public class Cell extends Object implements ICell
Author:
khaddadin
  • Constructor Details

  • Method Details

    • getPathIds

      public int[] getPathIds()
    • getPathIdsAsString

      public String getPathIdsAsString()
    • getPathNames

      public String[] getPathNames() throws PaloException, PaloJException
      Description copied from interface: ICell
      get the names of the elements building this cell path
      Specified by:
      getPathNames in interface ICell
      Returns:
      array of element names
      Throws:
      PaloException - exception from OLAP server
      PaloJException - exception from the library itself
    • getPathNameAt

      public String getPathNameAt(int index) throws PaloException, PaloJException
      Description copied from interface: ICell
      get the name of the element building this cell path at a certain position
      Specified by:
      getPathNameAt in interface ICell
      Parameters:
      index - path index
      Returns:
      element name
      Throws:
      PaloException - exception from OLAP server
      PaloJException - exception from the library itself
    • getValue

      public Object getValue()
      Description copied from interface: ICell
      get the value of the cell as an object
      Specified by:
      getValue in interface ICell
      Returns:
      object can be numeric or string
    • getType

      public ICell.CellType getType()
      Description copied from interface: ICell
      get the type of the cell ICell.CellType
      Specified by:
      getType in interface ICell
      Returns:
      cell type
    • exists

      public boolean exists()
      Specified by:
      exists in interface ICell
    • accessAllowed

      public boolean accessAllowed()
      Description copied from interface: ICell
      Checks if the current user is allowed to access this cell.
      Specified by:
      accessAllowed in interface ICell
      Returns:
      true if the user is allowed to access this cell, false otherwise