edu.wpi.cs.dsrg.xmldb.xat.common.xatnode
Interface RowAccessor
- All Known Subinterfaces:
- XATTable
- public interface RowAccessor
This class is the Row structure of the XAT.
- Since:
- 1.0
Method Summary |
XATValue |
getValue(int column_position,
int tuple_position)
Get a cell by column and tuple positions. |
XATValue |
updateValue(int column_position,
int tuple_position,
XATValue new_value)
Update a cell with a specific object. |
getValue
public XATValue getValue(int column_position,
int tuple_position)
throws XATTableOutOfRangeException,
XATTableEmptyException
- Get a cell by column and tuple positions.
- Parameters:
column_position
- The column position of the cell extracting.tuple_position
- The tuple position of the cell extracting.- Returns:
- XATValue The value in the cell specified by column_positon and tuple_positon.
- Throws:
- XATTableOutOfRangeException -
- XATTableEmptyException -
- Since:
- 1.0
updateValue
public XATValue updateValue(int column_position,
int tuple_position,
XATValue new_value)
throws XATTableOutOfRangeException,
XATTableEmptyException
- Update a cell with a specific object.
- Parameters:
column_position
- The column position of the cell extracting.tuple_position
- The tuple position of the cell extracting.new_value
- The new value of the cell.- Returns:
- XATValue The original value in the cell.
- Since:
- 1.0