|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.pds.RawOidHolderArray
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
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 |
private static final String RESOURCE
private static final String CLASSNAME
private Object[] rawOids
private int columnCount
Constructor Detail |
public RawOidHolderArray(Object[] a_rawOids)
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 |
public Object[] getRawOids()
public void setRawOids(Object[] a_RawOids)
a_RawOids
- public int getColumnCount()
getColumnCount
in interface OidArray
public void setColumnCount(int a_ColumnCount) throws WTPropertyVetoException
a_ColumnCount
-
WTPropertyVetoException
public int getLength()
getLength
in interface OidArray
public String getClassName(int a_rowIndex, int a_columnIndex)
getClassName
in interface OidArray
a_rowIndex
- Index of row in arraya_columnIndex
- Index of column (OID) in a row
public Object getId(int a_rowIndex, int a_columnIndex)
getId
in interface OidArray
a_rowIndex
- Index of row in arraya_columnIndex
- Index of column (OID) in a row
public boolean isValidIndex(int a_rowIndex)
isValidIndex
in interface OidArray
a_rowIndex
- Index of row in array
public static long convertToLong(Object a_long)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |