Package com.day.cq.reporting
Class DataRow
- java.lang.Object
-
- com.day.cq.reporting.DataRow
-
public class DataRow extends java.lang.Object
This class implements a row ofData
.
-
-
Constructor Summary
Constructors Constructor Description DataRow(int colCnt)
Creates a new row of report data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.lang.String property, CellValue value)
Adds cell data.CellValue
get(java.lang.String property)
Gets the data of the specified cell.java.lang.String
toString()
-
-
-
Method Detail
-
add
public void add(java.lang.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.
- Parameters:
property
- Name of the propertyvalue
- The property's value for the eow
-
get
public CellValue get(java.lang.String property)
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;
null
if no value is available
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-