|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.day.cq.reporting.DataRow
public class DataRow
This class implements a row of Data.
| Constructor Summary | |
|---|---|
DataRow(int colCnt)
Creates a new row of report data. |
|
| Method Summary | |
|---|---|
void |
add(String property,
CellValue value)
Adds cell data. |
protected void |
compact()
Compacts row data |
protected void |
ensureMutable()
Ensures that the data is still mutable. |
CellValue |
get(String property)
Gets the data of the specified cell. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DataRow(int colCnt)
colCnt - Number of columns (should be set appropriately to save memory)| Method Detail |
|---|
protected void ensureMutable()
IllegalStateException
otherwise.
protected void compact()
public void add(String property,
CellValue value)
Adds cell data.
If there's already cell data available for the specified property, the existing cell data gets overwritten by the new value.
property - Name of the propertyvalue - The property's value for the eowpublic CellValue get(String property)
property - Name of property for which the data has to be retrieved
null if no value is availablepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||