com.ibm.dse.base.types.ext
Class StringPropertyDescriptor

java.lang.Object
  |
  +--com.ibm.dse.base.types.AbstractPropertyDescriptor
        |
        +--com.ibm.dse.base.types.ext.StringPropertyDescriptor

public class StringPropertyDescriptor
extends AbstractPropertyDescriptor

PropertyDescriptor for business objects of Type String

See Also:
Serialized Form

Fields inherited from class com.ibm.dse.base.types.AbstractPropertyDescriptor
converters, keyValuePairs
 
Constructor Summary
StringPropertyDescriptor()
          This constructor creates a StringPropertyDescriptor object.
StringPropertyDescriptor(java.lang.String name, java.util.Hashtable keyValuePairs)
          Creates a PropertyDescriptor for business objects of Type String.
StringPropertyDescriptor(java.lang.String name, java.util.Hashtable keyValuePairs, java.lang.String typeName)
          Creates a PropertyDescriptor for business objects of Type String.
 
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 value)
          Returns an independent copy of the Object passed.
 java.lang.Class getImplClass()
          Gets the class of the business object descripted by this PropertyDescription
 
Methods inherited from class com.ibm.dse.base.types.AbstractPropertyDescriptor
applyDefaultDescriptor, formatToString, formatToString, formatToWriter, formatToWriter, getConversion, getConverterFromConversionType, getConverters, getDescription, 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
 

Constructor Detail

StringPropertyDescriptor

public StringPropertyDescriptor()
This constructor creates a StringPropertyDescriptor object.

StringPropertyDescriptor

public StringPropertyDescriptor(java.lang.String name,
                                java.util.Hashtable keyValuePairs)
                         throws DSETypeException
Creates a PropertyDescriptor for business objects of Type String.
Parameters:
name - String
Hashtable - keyValuePairs

StringPropertyDescriptor

public StringPropertyDescriptor(java.lang.String name,
                                java.util.Hashtable keyValuePairs,
                                java.lang.String typeName)
                         throws DSETypeException
Creates a PropertyDescriptor for business objects of Type String.
Parameters:
name - String
Hashtable - keyValuePairs
typeName - String
Method Detail

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 value)
                                 throws DSETypeException
Returns an independent copy of the Object passed.
Overrides:
cloneDescriptee in class AbstractPropertyDescriptor
Parameters:
value - Object
Returns:
Object

getImplClass

public java.lang.Class getImplClass()
                             throws DSETypeException
Gets the class of the business object descripted by this PropertyDescription
Overrides:
getImplClass in class AbstractPropertyDescriptor
Returns:
java.lang.Class