
290 • Developing Essbase Applications: Advanced Techniques for Finance and IT Professionals
IEssMemberCell memberCell = (IEssMemberCell)cell;
System.out.print(memberCell.getDimensionNumber());
}
e result is a grid of dimension numbers in cells that contain Essbase members.
5 4 2
1 1 1 1
3
Likewise, you can cast data cells to an IEssDataCell object and get information about
the cell. For example, you can tell if a data value is read-only or read-write using this
object. To do so, modify the sample code with the following changes:
// get the cell object
IEssCell cell = gv.getCell(row, col);
// if it is a data cell
if (cell.getCellType().equals(IEssCell.EEssCellType.DATA)) ...