OpenAPI 1.0

com.aquafold.openapi.data
Interface AQDataRow

All Known Subinterfaces:
AQColumnStructure

public interface AQDataRow

This interface describes a single data row.


Method Summary
 Object get(int columnIndex)
          Get data object by index of column in the column structure.
 int getSize()
          Returns number of columns in this data row that might have data (usually the number of columns in a data set or a table).
 String getString(int columnIndex)
          Returns data value as a String
 boolean isNull(int columnIndex)
          Returns true if value in the specified column is null.
 void set(int columnIndex, Object value)
          Set data object in the specified column.
 

Method Detail

getSize

int getSize()
Returns number of columns in this data row that might have data (usually the number of columns in a data set or a table).


get

Object get(int columnIndex)
Get data object by index of column in the column structure.

Parameters:
columnIndex - 0-based column index.
Returns:
A java object or null.

set

void set(int columnIndex,
         Object value)
Set data object in the specified column.

Parameters:
columnIndex - 0-based column index.
value - New data value.

getString

String getString(int columnIndex)
Returns data value as a String

Parameters:
columnIndex - 0-based column index.
Returns:
The value of the data field as a string.

isNull

boolean isNull(int columnIndex)
Returns true if value in the specified column is null.

Parameters:
columnIndex - 0-based column index.
Returns:
The value true if the column specified has a null value; false otherwise.

OpenAPI 1.0


Copyright © 2010 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.