wt.pds
Interface OidArray

All Known Implementing Classes:
ObjectTable.OidArrayImpl, ObjectVectorOidArray, OidHolderArray, RawOidHolderArray

public interface OidArray

This interface specifies an abstraction for accessing OID components from an array of OIDs. Its purpose is to allow for lightweight access to OID data. This interface is used for ObjectReference queries to increase performance.

Supported API: false

Extendable: false


Field Summary
static String COLUMN_COUNT
          Label for the attribute; Number of columns (OID values) per row.
static String LENGTH
          Label for the attribute; Length of the array.
 
Method Summary
 String getClassName(int a_rowIndex, int a_columnIndex)
          Return the OID class name at the specified index.
 int getColumnCount()
          Gets the value of the attribute: COLUMN_COUNT.
 Object getId(int a_rowIndex, int a_columnIndex)
          Return the OID ID value at the specified index.
 int getLength()
          Gets the value of the attribute: LENGTH.
 boolean isValidIndex(int a_rowIndex)
          Indicates if the specified index refers to a valid entry.
 

Field Detail

LENGTH

public static final String LENGTH
Label for the attribute; Length of the array.

Supported API: false

See Also:
Constant Field Values

COLUMN_COUNT

public static final String COLUMN_COUNT
Label for the attribute; Number of columns (OID values) per row.

Supported API: false

See Also:
Constant Field Values
Method Detail

getLength

public int getLength()
Gets the value of the attribute: LENGTH. Length of the array.

Supported API: false

Returns:
int

getColumnCount

public int getColumnCount()
Gets the value of the attribute: COLUMN_COUNT. Number of columns (OID values) per row.

Supported API: false

Returns:
int

getClassName

public String getClassName(int a_rowIndex,
                           int a_columnIndex)
Return the OID class name at the specified index.

Supported API: false

Parameters:
a_rowIndex - Index of row in array
a_columnIndex - Index of column (OID) in a row
Returns:
String

getId

public Object getId(int a_rowIndex,
                    int a_columnIndex)
Return the OID ID value at the specified index.

Supported API: false

Parameters:
a_rowIndex - Index of row in array
a_columnIndex - Index of column (OID) in a row
Returns:
Object

isValidIndex

public boolean isValidIndex(int a_rowIndex)
Indicates if the specified index refers to a valid entry.

Supported API: false

Parameters:
a_rowIndex - Index of row in array
Returns:
boolean