|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.DataElement
com.ibm.btt.base.DataCollection
com.ibm.btt.base.IndexedCollection
com.ibm.btt.bean.AbstractBeanIndexCollection
com.ibm.btt.bean.DoubleArrayCollection
public class DoubleArrayCollection
Instances of this class contain a double[] object and his parent bean This class provides a protocol for accessing the bean's attribute which type is double[] by position, and for changing and removing array position's value
Nested Class Summary | |
---|---|
(package private) class |
DoubleArrayCollection.MyEnumeration
|
Field Summary |
---|
Fields inherited from class com.ibm.btt.base.IndexedCollection |
---|
defaultName, elements |
Fields inherited from class com.ibm.btt.base.DataElement |
---|
description, direction, name, parameters, state |
Constructor Summary | |
---|---|
|
DoubleArrayCollection()
This constructor creates the DoubleArrayCollection object. |
protected |
DoubleArrayCollection(double[] _array,
int key,
java.lang.Object parent,
boolean createInstance)
|
protected |
DoubleArrayCollection(double[] _array,
java.lang.Object object,
boolean createInstance)
|
Method Summary | |
---|---|
void |
addElement(DataElement dataElement)
Deprecated. |
java.lang.Object |
clone()
Returns a new DoubleArrayCollection cloned from the current one. |
protected DataElement |
createDataElement(java.lang.Object obj,
java.lang.String name)
Deprecated. |
DataElement |
createElement(boolean shareDescriptor)
Deprecated. |
double[] |
getArray()
get the double array |
DataElement |
getDataElement()
Gets the dataElement defined if the DoubleArrayCollection size is zero. |
java.util.Enumeration |
getEnumeration()
Returns the DoubleArrayCollection's elements as an Enumeration. |
java.lang.Object |
getValue()
Returns the Indexed Collection's elements. |
void |
nestedQualifiedElements(java.util.Hashtable theTable,
java.lang.String Path)
Deprecated. |
void |
readExternal(java.io.ObjectInput s)
Invokes the object creation from an ObjectInput. |
void |
removeAll()
Removes all elements. |
void |
setArray(double[] array)
set the double array |
void |
setValue(java.lang.Object value)
Validates the value to be set and if it succeeds then sets the value to the IndexedCollection from a Vector of DataElements. |
int |
size()
Returns the length of array. |
DataElement |
tryGetElementAt(int anIdentifier)
Returns the element located at the index anIdentifier. |
void |
writeExternal(java.io.ObjectOutput s)
Provides concrete serialization handling for ArrayCollection. |
Methods inherited from class com.ibm.btt.bean.AbstractBeanIndexCollection |
---|
addElement, createDataElement, createElementSharingDescriptors, generateDataElementName, getElementAt, nestedElements, setDataElement, setElements |
Methods inherited from class com.ibm.btt.base.IndexedCollection |
---|
getElementAt, getElements, getElementSubTag, initializeFrom, removeElementAt, removeElementAt, setElementSubTag, toString, toStrings, toTags, tryGetElementAt, tryGetValueAt, trySetValueAt, validate |
Methods inherited from class com.ibm.btt.base.DataCollection |
---|
getValueAt, nestedElements, nestedFields, nestedKeyedCollections, setValueAt, validate |
Methods inherited from class com.ibm.btt.base.DataElement |
---|
externalizer, getCompositeKey, getDescription, getDescriptor, getDirection, getErrorInfo, getExternalizer, getKey, getName, getParameter, getParameters, getState, getTagName, isAmended, isCached, isSerializable, readExternal, readObject, removeExternal, setAmended, setCompositeKey, setDescription, setDescriptor, setDirection, setErrorInfo, setExternalizer, setIsCached, setName, setParameter, setParameters, setSerializable, setState, validateObject, writeExternal |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DoubleArrayCollection()
protected DoubleArrayCollection(double[] _array, java.lang.Object object, boolean createInstance)
protected DoubleArrayCollection(double[] _array, int key, java.lang.Object parent, boolean createInstance)
Method Detail |
---|
public double[] getArray()
public void setArray(double[] array)
array
- public int size()
size
in class IndexedCollection
public DataElement getDataElement()
getDataElement
in class IndexedCollection
@Deprecated public void addElement(DataElement dataElement)
IndexedCollection
addElement
in class IndexedCollection
dataElement
- - The element to be addedpublic java.util.Enumeration getEnumeration()
getEnumeration
in class IndexedCollection
@Deprecated public void nestedQualifiedElements(java.util.Hashtable theTable, java.lang.String Path)
IndexedCollection
nestedQualifiedElements
in class IndexedCollection
theTable
- java.util.HashtablePath
- String - The path where the IndexedCollection is@Deprecated public DataElement createElement(boolean shareDescriptor) throws DSEInvalidRequestException
AbstractBeanIndexCollection
createElement
in class AbstractBeanIndexCollection
shareDescriptor
- - True if the descriptors can be shared
DSEInvalidRequestException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface DSECloneable
clone
in class IndexedCollection
java.lang.CloneNotSupportedException
- - if a problem occurs trying to clone the objectpublic DataElement tryGetElementAt(int anIdentifier)
tryGetElementAt
in class IndexedCollection
public void setValue(java.lang.Object value) throws DSEInvalidArgumentException
IndexedCollection
setValue
in class IndexedCollection
value
- java.lang.Object - Must be a Vector of DataElements
DSEInvalidArgumentException
- - The parameter is not a Vectorpublic java.lang.Object getValue()
IndexedCollection
getValue
in class IndexedCollection
@Deprecated protected DataElement createDataElement(java.lang.Object obj, java.lang.String name)
createDataElement
in class AbstractBeanIndexCollection
public void readExternal(java.io.ObjectInput s) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class IndexedCollection
s
- java.io.ObjectInput
java.io.IOException.
java.lang.ClassNotFoundException.
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput s) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class IndexedCollection
s
- java.io.ObjectOutput
java.io.IOException
public void removeAll()
IndexedCollection
removeAll
in class IndexedCollection
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |