|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.StaticDataRow
public class StaticDataRow
This is a static datarow holding a value for each name in the datarow. This datarow does not hold dataflags and thus does not track the changes done to the data inside.
The StaticDataRow is a derived view and is used to provide a safe collection of the values of the previous datarow.
| Constructor Summary | |
|---|---|
StaticDataRow()
|
|
StaticDataRow(DataRow dataRow)
|
|
StaticDataRow(String[] names,
Object[] values)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
Object |
get(String col)
Returns the value of the function, expression or column using its specific name. |
String[] |
getColumnNames()
Returns the known column names, this data-row understands. |
int |
hashCode()
|
boolean |
isChanged(String name)
Checks whether the value contained in the column has changed since the last advance-operation. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticDataRow()
public StaticDataRow(DataRow dataRow)
public StaticDataRow(String[] names,
Object[] values)
| Method Detail |
|---|
public String[] getColumnNames()
DataRow
getColumnNames in interface DataRowpublic Object get(String col)
getValue()
method is called and for columns from the tablemodel the tablemodel method getValueAt(row, column)
gets called.
get in interface DataRowcol - the item index.
IllegalStateException - if the datarow detected a deadlock.public boolean isChanged(String name)
DataRow
isChanged in interface DataRowname - the name of the column.
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||