Package com.day.cq.reporting
Class DataRow
java.lang.Object
com.day.cq.reporting.DataRow
This class implements a row of
Data.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DataRow
public DataRow(int colCnt) Creates a new row of report data.- Parameters:
colCnt- Number of columns (should be set appropriately to save memory)
-
-
Method Details
-
add
Adds cell data.
If there's already cell data available for the specified property, the existing cell data gets overwritten by the new value.
- Parameters:
property- Name of the propertyvalue- The property's value for the eow
-
get
Gets the data of the specified cell.- Parameters:
property- Name of property for which the data has to be retrieved- Returns:
- The property's value for the row;
nullif no value is available
-
toString
-