com.ibm.commons.iloader.node.views
Class DataNodeBinding

java.lang.Object
  extended by com.ibm.commons.iloader.node.views.DataNodeBinding

public class DataNodeBinding
extends java.lang.Object

A class that wraps the functionality of a DataNode. Provides access to the underlying DataNode.

See Also:
DataNode

Constructor Summary
DataNodeBinding(DataNode dataNode)
          Constructs a new instance of this class
 
Method Summary
 int getCurrentRow()
          Returns the row as stored in DataNode.getCurrentRow()
 DataNode getDataNode()
           
 boolean isCurrentRow(int row)
          Determines if the provided int is the current row of the DataNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataNodeBinding

public DataNodeBinding(DataNode dataNode)
Constructs a new instance of this class

Parameters:
dataNode - the DataNode object that is to be associated with this object
Method Detail

getDataNode

public DataNode getDataNode()
Returns:
the DataNode associated with this object
See Also:
DataNode

getCurrentRow

public int getCurrentRow()
Returns the row as stored in DataNode.getCurrentRow()

Returns:
an int representing the current row in the DataNode

isCurrentRow

public boolean isCurrentRow(int row)
Determines if the provided int is the current row of the DataNode

Parameters:
row - the value being tested
Returns:
true if the value being tested is equal to getCurrentRow()