javax.rad.model.event
Class DataRowEvent

java.lang.Object
  extended by javax.rad.model.event.DataRowEvent

public class DataRowEvent
extends Object

The DataRowEvent gives information about changes in the IDataRow.

See Also:
IDataRow

Constructor Summary
DataRowEvent(IDataRow pChangedDataRow, String[] pChangedColumnNames, IDataRow pOriginalDataRow)
          Constructs the DataRowEvent.
 
Method Summary
 String[] getChangedColumnNames()
          Gets the column names whose values changed.
 IDataRow getChangedDataRow()
          Gets the IDataRow that is changed.
 IDataRow getOriginalDataRow()
          Gets the original IDataRow before change.
 boolean isChangedColumnName(String pColumnName)
          Gets true, if the given column name is in the list of changed column names.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataRowEvent

public DataRowEvent(IDataRow pChangedDataRow,
                    String[] pChangedColumnNames,
                    IDataRow pOriginalDataRow)
Constructs the DataRowEvent.

Parameters:
pChangedDataRow - the changed IDataRow.
pChangedColumnNames - the changed column names.
pOriginalDataRow - the old IDataRow.
Method Detail

getChangedDataRow

public IDataRow getChangedDataRow()
Gets the IDataRow that is changed.

Returns:
the IDataRow that is changed.

getChangedColumnNames

public String[] getChangedColumnNames()
Gets the column names whose values changed.

Returns:
the column names whose values changed.

getOriginalDataRow

public IDataRow getOriginalDataRow()
Gets the original IDataRow before change.

Returns:
the original IDataRow before change.

isChangedColumnName

public boolean isChangedColumnName(String pColumnName)
Gets true, if the given column name is in the list of changed column names.

Parameters:
pColumnName - the column name
Returns:
true, if the given column name is in the list of changed column names.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.