|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by DSETypeExternalizer, a singleton class which is responsible for maintaining a registry of all Type instances.
Method Summary | |
---|---|
Type |
addType(Type newType)
Adds the Type passed as argument to the registry of Types known to the TypeExternalizer and if successful, the Type added is returned. |
void |
augment(java.net.URL typeDefinitionsAsXML)
Augments the TypeExternalizer with the Type definitions contained in the URL passed as argument, throwing an appropriate exception if unsuccessful. |
Type |
getType(java.lang.String name)
Returns the Type with the name passed as argument. |
java.util.Enumeration |
getTypes()
Returns an Enumeration of all Types known to the TypeExternalizer. |
java.lang.Object |
readObject(java.lang.String name)
Returns a business object for the Type with the name passed as argument. |
Method Detail |
public Type addType(Type newType) throws DSETypeException
newType
- Type
DSETypeException
- - Name of the Type to add is either null or a duplicatepublic void augment(java.net.URL typeDefinitionsAsXML) throws DSETypeException
typeDefinitionsAsXML
- URL
DSETypeException
- - Augmentation is unsuccessfulpublic Type getType(java.lang.String name) throws DSETypeException
name
- String
DSETypeException
- - Type requested is not foundpublic java.util.Enumeration getTypes()
public java.lang.Object readObject(java.lang.String name) throws DSETypeException
This business object is populated with the default data for the Type requested. Collabrotes with Type. Compond Types return a KeyedCollection, Simple Types return a DataField with a business object as value.
name
- String
DSETypeException
- - Type requested is not found
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |