wt.pds
Class RawOidHolderArray

java.lang.Object
  extended bywt.pds.RawOidHolderArray
All Implemented Interfaces:
OidArray, Serializable

public class RawOidHolderArray
extends Object
implements OidArray, Serializable

This class provides an implementation for access an array of OID values from a raw object array (i.e. Object[]).

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  int columnCount
           
private  Object[] rawOids
           
private static String RESOURCE
           
 
Fields inherited from interface wt.pds.OidArray
COLUMN_COUNT, LENGTH
 
Constructor Summary
RawOidHolderArray(Object[] a_rawOids)
          

Supported API: false
 
Method Summary
static long convertToLong(Object a_long)
           
 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: columnCount; Number of columns (OID values) per row.
 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; Length of the array.
 Object[] getRawOids()
          Gets the value of the attribute: rawOids; Array of raw OID values.
 boolean isValidIndex(int a_rowIndex)
          Indicates if the specified index refers to a valid entry.
 void setColumnCount(int a_ColumnCount)
          Sets the value of the attribute: columnCount; Number of columns (OID values) per row.
 void setRawOids(Object[] a_RawOids)
          Sets the value of the attribute: rawOids; Array of raw OID values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

rawOids

private Object[] rawOids

columnCount

private int columnCount
Constructor Detail

RawOidHolderArray

public RawOidHolderArray(Object[] a_rawOids)


Supported API: false

Parameters:
a_rawOids - Array of raw OID values. Each element of the array is assumed to be an Object[] with the first element classname and second element id value.
Method Detail

getRawOids

public Object[] getRawOids()
Gets the value of the attribute: rawOids; Array of raw OID values. Each element of the array is assumed to be an Object[] with the first element classname and second element id value.

Supported API: false

Returns:
Object[]

setRawOids

public void setRawOids(Object[] a_RawOids)
Sets the value of the attribute: rawOids; Array of raw OID values. Each element of the array is assumed to be an Object[] with the first element classname and second element id value.

Supported API: false

Parameters:
a_RawOids -

getColumnCount

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

Supported API: false

Specified by:
getColumnCount in interface OidArray
Returns:
int

setColumnCount

public void setColumnCount(int a_ColumnCount)
                    throws WTPropertyVetoException
Sets the value of the attribute: columnCount; Number of columns (OID values) per row.

Supported API: false

Parameters:
a_ColumnCount -
Throws:
WTPropertyVetoException

getLength

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

Supported API: false

Specified by:
getLength in interface OidArray
Returns:
int

getClassName

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

Supported API: false

Specified by:
getClassName in interface OidArray
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

Specified by:
getId in interface OidArray
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

Specified by:
isValidIndex in interface OidArray
Parameters:
a_rowIndex - Index of row in array
Returns:
boolean

convertToLong

public static long convertToLong(Object a_long)