com.ibm.dse.base.types
Class KCollPropertyDescriptor
java.lang.Object
|
+--com.ibm.dse.base.types.AbstractPropertyDescriptor
|
+--com.ibm.dse.base.types.KCollPropertyDescriptor
- public class KCollPropertyDescriptor
- extends AbstractPropertyDescriptor
This class is a generic PropertyDescriptor for compound business objects which are
KeyedCollections.
This class also provides an extension point for all specific PropertyDescriptors
which describe compound business objects which are KeyedCollections.
- See Also:
- Serialized Form
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. |
Methods inherited from class com.ibm.dse.base.types.AbstractPropertyDescriptor |
applyDefaultDescriptor,
formatToString,
formatToString,
formatToWriter,
formatToWriter,
getConversion,
getConverterFromConversionType,
getConverters,
getDescription,
getImplClass,
getInitialState,
getInitialValue,
getName,
getParameters,
getType,
getValidator,
initializeInstance,
initializeState,
readExternal,
setConversion,
setConversion,
setInitialState,
setInitialValue,
setName,
setValidator,
unformatFromReader,
unformatFromReader,
unformatFromString,
unformatFromString,
validate,
validate,
writeExternal |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
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.
- Parameters:
name
- StringHashtable
- keyValuePairstypeName
- String
applyDefaultDescriptorForType
public void applyDefaultDescriptorForType(PropertyDescription defaultDescriptor)
- Forces this PropertyDescriptor to inherit the business rules of the passed descriptor.
Any specific business behaviour defined is retained and will override that of the
descriptor passed.
- Overrides:
- applyDefaultDescriptorForType in class AbstractPropertyDescriptor
- Parameters:
descriptor
- PropertyDescription
cloneDescriptee
public java.lang.Object cloneDescriptee(java.lang.Object toClone)
throws DSETypeException
- Returns an independent copy of the Object passed.
- Overrides:
- cloneDescriptee in class AbstractPropertyDescriptor
- Parameters:
toClone
- Object- Returns:
- Object
- Throws:
- DSETypeException - Object clonation is unsuccessful.