IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.bean
Class AbstractBeanIndexCollection

java.lang.Object
  extended by com.ibm.btt.base.DataElement
      extended by com.ibm.btt.base.DataCollection
          extended by com.ibm.btt.base.IndexedCollection
              extended by com.ibm.btt.bean.AbstractBeanIndexCollection
All Implemented Interfaces:
DSECloneable, TypedData, java.io.Externalizable, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
ArrayCollection, BooleanArrayCollection, ByteArrayCollection, CharArrayCollection, DoubleArrayCollection, FloatArrayCollection, IntArrayCollection, ListCollection, LongArrayCollection, ShortArrayCollection

public abstract class AbstractBeanIndexCollection
extends IndexedCollection

The AbstractBeanIndexCollection class is the abstract parent class for ArrayCollection and ListCollection.

See Also:
Serialized Form

Field Summary
protected static Tag subTag
           
 
Fields inherited from class com.ibm.btt.base.IndexedCollection
defaultName, elements
 
Fields inherited from class com.ibm.btt.base.DataElement
description, name, parameters, state
 
Constructor Summary
AbstractBeanIndexCollection()
           
 
Method Summary
 void addElement(java.lang.String name, java.lang.Object value, java.lang.String type, int position)
          Deprecated. 
protected abstract  DataElement createDataElement(java.lang.Object obj, java.lang.String name)
           
protected  DataElement createDataElement(Tag subTag, java.lang.Object obj)
           
abstract  DataElement createElement(boolean shareDescriptor)
          Returns a new DataElement .
 DataElement createElementSharingDescriptors(DataElement sourceDataElement)
          Deprecated. 
protected  java.lang.String generateDataElementName(java.lang.String className)
           
 DataElement getElementAt(int anIdentifier)
          Returns the element located at the index anIdentifier.
 java.lang.Object initializeFrom(Tag aTag)
          Initializes an IndexedCollection with the attributes in aTag.
 void setDataElement(DataElement dataElement)
          Deprecated. 
 void setElements(Vector vector)
          Deprecated. 
 
Methods inherited from class com.ibm.btt.base.IndexedCollection
addElement, clone, getDataElement, getElementAt, getElements, getElementSubTag, getEnumeration, getValue, nestedQualifiedElements, readExternal, removeAll, removeElementAt, removeElementAt, setElementSubTag, setValue, size, toString, toStrings, toTags, tryGetElementAt, tryGetElementAt, tryGetValueAt, trySetValueAt, validate, writeExternal
 
Methods inherited from class com.ibm.btt.base.DataCollection
getValueAt, nestedElements, nestedElements, nestedFields, nestedKeyedCollections, setValueAt, validate
 
Methods inherited from class com.ibm.btt.base.DataElement
externalizer, getCompositeKey, getDescription, getDescriptor, getErrorInfo, getExternalizer, getKey, getName, getParameter, getParameters, getState, getTagName, isAmended, isCached, isSerializable, readExternal, readObject, removeExternal, setAmended, setCompositeKey, setDescription, setDescriptor, 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
 

Field Detail

subTag

protected static Tag subTag
Constructor Detail

AbstractBeanIndexCollection

public AbstractBeanIndexCollection()
Method Detail

setDataElement

@Deprecated
public void setDataElement(DataElement dataElement)
Deprecated. 

Description copied from class: IndexedCollection
Sets the data element.

Overrides:
setDataElement in class IndexedCollection
Parameters:
dataElement - com.ibm.btt.base.DataElement

initializeFrom

public java.lang.Object initializeFrom(Tag aTag)
                                throws java.io.IOException
Initializes an IndexedCollection with the attributes in aTag.

Overrides:
initializeFrom in class IndexedCollection
Parameters:
aTag - Externalization.Tag
Returns:
Externalizable
Throws:
java.io.IOException

createDataElement

protected DataElement createDataElement(Tag subTag,
                                        java.lang.Object obj)

generateDataElementName

protected java.lang.String generateDataElementName(java.lang.String className)

createDataElement

protected abstract DataElement createDataElement(java.lang.Object obj,
                                                 java.lang.String name)

addElement

@Deprecated
public void addElement(java.lang.String name,
                                  java.lang.Object value,
                                  java.lang.String type,
                                  int position)
                throws DSEInvalidArgumentException,
                       java.lang.ClassNotFoundException,
                       java.lang.InstantiationException,
                       java.lang.IllegalAccessException
Deprecated. 

Overrides:
addElement in class IndexedCollection
Throws:
DSEInvalidArgumentException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException

createElementSharingDescriptors

@Deprecated
public DataElement createElementSharingDescriptors(DataElement sourceDataElement)
                                            throws DSEInvalidRequestException
Deprecated. 

Description copied from class: IndexedCollection
Creates a new DataElement that shares the same descriptor than the DataElement passed.

Overrides:
createElementSharingDescriptors in class IndexedCollection
Returns:
com.ibm.btt.base.DataElement - The new DataElement
Throws:
DSEInvalidRequestException

setElements

@Deprecated
public void setElements(Vector vector)
Deprecated. 

Description copied from class: IndexedCollection
Sets the value of elements.

Overrides:
setElements in class IndexedCollection
Parameters:
vector - java.util.Vector

getElementAt

public DataElement getElementAt(int anIdentifier)
                         throws DSEObjectNotFoundException
Returns the element located at the index anIdentifier.

Overrides:
getElementAt in class IndexedCollection
Throws:
DSEObjectNotFoundException

createElement

public abstract DataElement createElement(boolean shareDescriptor)
                                   throws DSEInvalidRequestException
Returns a new DataElement .

Overrides:
createElement in class IndexedCollection
Parameters:
shareDescriptor - - True if the descriptors can be shared
Returns:
com.ibm.btt.base.DataElement - The new DataElement
Throws:
DSEInvalidRequestException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010