IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.base.types
Class KCollPropertyDescriptor

java.lang.Object
  extended by com.ibm.btt.base.types.AbstractPropertyDescriptor
      extended by com.ibm.btt.base.types.KCollPropertyDescriptor
All Implemented Interfaces:
PropertyDescription, TypeConstants, java.io.Externalizable, java.io.Serializable

public class KCollPropertyDescriptor
extends AbstractPropertyDescriptor

This class is a generic PropertyDescriptor for compound business objects that are KeyedCollections. This class also provides an extension point for all specific PropertyDescriptors describing compound business objects that are KeyedCollections.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.btt.base.types.AbstractPropertyDescriptor
classNameForState, converters, keyValuePairs
 
Fields inherited from interface com.ibm.btt.base.types.TypeConstants
amended, CONV_TYPE_DEFAULT, CONV_TYPE_HOST, CONV_TYPE_OUTPUT, CONV_TYPE_SER, CONV_TYPE_XML, disabled, hidden, isAmended, isDisabled, isHidden, isMandatory, isOmitted, isReadOnly, mandatory, omitted, readOnly, TYPE_DEFAULT, TYPE_REGISTRY_INIT_SIZE
 
Constructor Summary
KCollPropertyDescriptor()
          This constructor creates a KCollPropertyDescriptor object.
KCollPropertyDescriptor(java.lang.String name, java.util.Hashtable keyValuePairs, java.lang.String typeName)
          This constructor creates a PropertyDescriptor for compound business objects which are KeyedCollections.
 
Method Summary
 void applyDefaultDescriptorForType(PropertyDescription defaultDescriptor)
          Forces this PropertyDescriptor to inherit the business rules of the passed descriptor.
 java.lang.Object cloneDescriptee(java.lang.Object toClone)
          Returns an independent copy of the passed Object.
 
Methods inherited from class com.ibm.btt.base.types.AbstractPropertyDescriptor
applyDefaultDescriptor, convertFrom, convertFrom, convertFrom, convertFrom, convertFrom, convertTo, convertTo, convertTo, convertTo, convertTo, formatToString, formatToString, formatToString, formatToWriter, formatToWriter, formatToWriter, formatToWriter, getConversion, getConverterFromConversionType, getConverters, getDefaultConverter, getDescription, getImplClass, getInitialState, getInitialValue, getName, getParameters, getType, getValidator, initializeInstance, initializeState, readExternal, setConversion, setConversion, setInitialState, setInitialValue, setName, setValidator, unformatFromReader, unformatFromReader, unformatFromReader, unformatFromString, unformatFromString, unformatFromString, unformatFromString, validate, validate, validate, validate, validate, validate, validate, validateParams, validateParams, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KCollPropertyDescriptor

public KCollPropertyDescriptor()
This constructor creates a KCollPropertyDescriptor object.


KCollPropertyDescriptor

public KCollPropertyDescriptor(java.lang.String name,
                               java.util.Hashtable keyValuePairs,
                               java.lang.String typeName)
                        throws DSETypeException
This constructor creates a PropertyDescriptor for compound business objects which are KeyedCollections.

Throws:
DSETypeException
Method Detail

applyDefaultDescriptorForType

public void applyDefaultDescriptorForType(PropertyDescription defaultDescriptor)
Forces this PropertyDescriptor to inherit the business rules of the passed descriptor. Any defined specific business behavior is retained and overrides that of the passed descriptor.

Overrides:
applyDefaultDescriptorForType in class AbstractPropertyDescriptor

cloneDescriptee

public java.lang.Object cloneDescriptee(java.lang.Object toClone)
                                 throws DSETypeException
Returns an independent copy of the passed Object.

Specified by:
cloneDescriptee in interface PropertyDescription
Specified by:
cloneDescriptee in class AbstractPropertyDescriptor
Parameters:
toClone - Object
Returns:
Object - The copy of the object
Throws:
DSETypeException - Object - Thrown if the cloning is unsuccessful

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011