|
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.HashtableIndexedCollectionFormat
This class unformats a vector of hashtables in a IndexedCollection of KeyedCollections using the HashtableFormat.
Field Summary | |
---|---|
java.lang.String |
dataElementName
|
HashtableFormat |
element
|
java.lang.String |
name
|
Constructor Summary | |
---|---|
HashtableIndexedCollectionFormat()
HashtableIndexedCollectionFormat constructor. |
Method Summary | |
---|---|
Externalizer |
externalizer()
externalizer method comment. |
java.lang.String |
getDataElementName()
Returns the value of the dataElementName attribute. |
HashtableFormat |
getElement()
Returns the instance of HashtableFormat being managed. |
java.lang.String |
getName()
Gets the value of the name attribute. |
java.lang.String |
getTagName()
Returns the tag associated with the name of the class. |
int |
getTimesRepeat()
Returns the value of timesRepeat. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes a HashtableIndexedCollectionFormat with the Tag attributes. |
boolean |
isCacheable()
This method finds out if THIS particular object can be cached. |
void |
readExternal()
This method will find the tag that corresponds to the name of THIS entity. |
void |
readExternal(java.io.ObjectInput s)
Invokes the object creation from an ObjectInput. |
void |
reinitialize()
This method will reinitialize THIS object. |
void |
removeExternal()
Removes the object's tags from the XML file in which it is externalized. |
void |
setDataElementName(java.lang.String aString)
Sets the dataElementName attribute value to aString. |
void |
setElement(HashtableFormat aHashtableFormat)
Sets the value of element. |
void |
setName(java.lang.String aString)
Sets the name attribute value to aString. |
void |
setTimesRepeat(int aNumber)
Sets the value of timesRepeat. |
Vector |
toStrings()
Returns an XML representation of the instance. |
Vector |
toTags()
Returns a Vector with the HashtableFormat instance represented as a Tag. |
void |
unformat(Vector aVectorOfHashtables,
Context aContext)
Unformats the vector of hashtables into the context. |
IndexedCollection |
unformatIndexedCollection(Vector aVector,
IndexedCollection anIndexedCollection)
Updates the IndexedCollection elements by unformatting the vector elements. |
void |
writeExternal()
Writes the HashtableFormat instance converted to tags to its XML file. |
void |
writeExternal(java.io.ObjectOutput s)
Provides concrete serialization handling for HashtableIndexedCollectionFormat. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String dataElementName
public HashtableFormat element
public java.lang.String name
Constructor Detail |
public HashtableIndexedCollectionFormat()
Method Detail |
public Externalizer externalizer() throws java.io.IOException
externalizer
in interface Externalizable
java.io.IOException
public java.lang.String getDataElementName()
public HashtableFormat getElement()
public java.lang.String getName()
getName
in interface Externalizable
public java.lang.String getTagName()
public int getTimesRepeat()
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException
initializeFrom
in interface Externalizable
aTag
- com.ibm.dse.base.Tag
java.io.IOException
public boolean isCacheable()
isCacheable
in interface Cacheable
public void readExternal() throws java.io.IOException
readExternal
in interface Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput s) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
s
- java.io.ObjectInput
java.io.IOException
java.lang.ClassNotFoundException
public void reinitialize()
reinitialize
in interface Cacheable
public void removeExternal() throws java.io.IOException
removeExternal
in interface Externalizable
java.io.IOException
public void setDataElementName(java.lang.String aString)
aString
- java.lang.Stringpublic void setElement(HashtableFormat aHashtableFormat)
aHashtableFormat
- com.ibm.dse.base.HashtableFormatpublic void setName(java.lang.String aString)
setName
in interface Externalizable
aString
- java.lang.Stringpublic void setTimesRepeat(int aNumber)
aNumber
- intpublic Vector toStrings()
toStrings
in interface Externalizable
public Vector toTags() throws java.io.IOException
toTags
in interface Externalizable
java.io.IOException
public void unformat(Vector aVectorOfHashtables, Context aContext) throws java.io.IOException, DSEInvalidRequestException, DSEInvalidArgumentException, DSEObjectNotFoundException
aVectorOfHashtables
- com.ibm.dse.base.VectoraContext
- com.ibm.dse.base.Context
java.io.IOException
DSEInvalidRequestException
DSEInvalidArgumentException
DSEObjectNotFoundException
public IndexedCollection unformatIndexedCollection(Vector aVector, IndexedCollection anIndexedCollection) throws DSEInvalidRequestException, DSEInvalidArgumentException, DSEObjectNotFoundException, java.io.IOException
aVector
- com.ibm.dse.base.VectoranIndexedCollection
- IndexedCollection
DSEInvalidRequestException
DSEInvalidArgumentException
DSEObjectNotFoundException
java.io.IOException
public void writeExternal() throws java.io.IOException
writeExternal
in interface Externalizable
java.io.IOException
public void writeExternal(java.io.ObjectOutput s) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
s
- java.io.ObjectOutput
java.io.IOException
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |