org.pentaho.reporting.engine.classic.core.states
Class LegacyDataRowWrapper

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.states.LegacyDataRowWrapper

public final class LegacyDataRowWrapper
extends Object

This data-row wrapper supports the full interface as it was defined in version 0.8.9. This class makes sure that scripts and introspection code does not break. However, this class should not be used outside of that scope or evil things will happen.

Author:
Thomas Morgner

Constructor Summary
LegacyDataRowWrapper()
           
 
Method Summary
 int findColumn(String name)
           
 Object get(int col)
           
 Object get(String col)
           
 int getColumnCount()
           
 String getColumnName(int col)
           
 DataRow getParent()
           
 boolean isChanged(int index)
           
 boolean isChanged(String name)
           
 void setParent(DataRow parent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyDataRowWrapper

public LegacyDataRowWrapper()
Method Detail

getParent

public DataRow getParent()

setParent

public void setParent(DataRow parent)

get

public Object get(int col)

get

public Object get(String col)

getColumnName

public String getColumnName(int col)

findColumn

public int findColumn(String name)

getColumnCount

public int getColumnCount()

isChanged

public boolean isChanged(String name)

isChanged

public boolean isChanged(int index)