|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.dse.base.DataElement
com.ibm.dse.base.DataCollection
The DataCollection class is the abstract parent class for all types of collections.
Field Summary |
---|
Fields inherited from class com.ibm.dse.base.DataElement |
---|
description, externalizer, name, parameters, state |
Constructor Summary | |
---|---|
DataCollection()
|
Method Summary | |
---|---|
abstract java.util.Enumeration |
getEnumeration()
Returns the elements of the class as an Enumeration. |
java.lang.Object |
getValueAt(java.lang.String aCompositeKey)
Returns the value of an element located in the path aCompositeKey. |
Vector |
nestedElements()
Returns all the DataElements included in this collection at any level. |
void |
nestedElements(java.util.Hashtable theTable)
Returns all the DataElements included in this collection at any level. |
Vector |
nestedFields()
Returns all the DataFields at any level included in this collection. |
Vector |
nestedKeyedCollections()
Returns all the KeyedCollections at any level included in this collection. |
void |
nestedQualifiedElements(java.util.Hashtable theTable,
java.lang.String Path)
Adds, using their qualified names, all elements of this DataCollection to the Hashtable passed by parameter. |
void |
setValue(java.lang.Object aValue)
Throws an exception. |
void |
setValueAt(java.lang.String aName,
java.lang.Object aValue)
Sets the value of an element located in the aCompositeKey path. |
java.lang.Object |
validate(java.lang.Object toValidate,
java.lang.String convType)
Validates an object using its property descriptor and returns the validated object. |
Methods inherited from class com.ibm.dse.base.DataElement |
---|
clone, externalizer, getDescription, getDescriptor, getElementAt, getErrorInfo, getExternalizer, getKey, getName, getParameter, getParameters, getState, getTagName, getValue, isAmended, readExternal, readExternal, readObject, removeElementAt, removeExternal, setAmended, setDescription, setDescriptor, setErrorInfo, setExternalizer, setName, setParameter, setParameters, setState, toStrings, toTags, tryGetElementAt, validate, validateObject, writeExternal, writeExternal |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.dse.base.Externalizable |
---|
initializeFrom |
Constructor Detail |
public DataCollection()
Method Detail |
public abstract java.util.Enumeration getEnumeration()
public java.lang.Object getValueAt(java.lang.String aCompositeKey) throws DSEObjectNotFoundException
aCompositeKey
- java.lang.String
DSEObjectNotFoundException
public Vector nestedElements()
nestedElements
in class DataElement
public void nestedElements(java.util.Hashtable theTable)
nestedElements
in class DataElement
public Vector nestedFields()
nestedFields
in class DataElement
public Vector nestedKeyedCollections()
public void nestedQualifiedElements(java.util.Hashtable theTable, java.lang.String Path)
theTable
- java.util.HashtablePath
- String - The path where the DataCollection ispublic void setValue(java.lang.Object aValue) throws DSEInvalidArgumentException
setValue
in class DataElement
aValue
- java.lang.Object
DSEInvalidArgumentException
public void setValueAt(java.lang.String aName, java.lang.Object aValue) throws DSEInvalidArgumentException, DSEObjectNotFoundException
DSEInvalidArgumentException
DSEObjectNotFoundException
public java.lang.Object validate(java.lang.Object toValidate, java.lang.String convType) throws DSETypeException
validate
in class DataElement
toValidate
- ObjectconvType
- String
DSETypeException
- - Thrown if the validation is unsuccessful
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |