|
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.types.AbstractPropertyDescriptor
com.ibm.dse.base.types.ext.StringPropertyDescriptor
PropertyDescriptor for business objects of the String type.
Field Summary |
---|
Fields inherited from class com.ibm.dse.base.types.AbstractPropertyDescriptor |
---|
classNameForState, converters, keyValuePairs |
Fields inherited from interface com.ibm.dse.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 | |
---|---|
StringPropertyDescriptor()
This constructor creates a StringPropertyDescriptor object. |
|
StringPropertyDescriptor(java.lang.String name,
java.util.Hashtable keyValuePairs)
Creates a PropertyDescriptor for business objects of the String type. |
|
StringPropertyDescriptor(java.lang.String name,
java.util.Hashtable keyValuePairs,
java.lang.String typeName)
Creates a PropertyDescriptor for business objects of the String type. |
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()
Returns the class of the business object described by this PropertyDescription. |
java.lang.Object |
unformatFromString(java.lang.String value,
java.lang.String conversionType,
java.util.Locale locale)
Converts the String into an Object using the specified conversion type and the specified locale. |
java.lang.Object |
unformatFromString(java.lang.String value,
java.lang.String conversionType,
java.util.Locale locale,
Hashtable parameters)
Converts the String into an Object using the specified conversion type and the specified locale. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StringPropertyDescriptor()
public StringPropertyDescriptor(java.lang.String name, java.util.Hashtable keyValuePairs) throws DSETypeException
name
- Stringpublic StringPropertyDescriptor(java.lang.String name, java.util.Hashtable keyValuePairs, java.lang.String typeName) throws DSETypeException
name
- StringtypeName
- StringMethod Detail |
public void applyDefaultDescriptorForType(PropertyDescription defaultDescriptor)
applyDefaultDescriptorForType
in class AbstractPropertyDescriptor
public java.lang.Object cloneDescriptee(java.lang.Object value) throws DSETypeException
cloneDescriptee
in interface PropertyDescription
cloneDescriptee
in class AbstractPropertyDescriptor
value
- Object
DSETypeException
- - Cloning is unsuccessfulpublic java.lang.Class getImplClass() throws DSETypeException
getImplClass
in interface PropertyDescription
getImplClass
in class AbstractPropertyDescriptor
DSETypeException
public java.lang.Object unformatFromString(java.lang.String value, java.lang.String conversionType, java.util.Locale locale) throws DSETypeException
unformatFromString
in interface PropertyDescription
unformatFromString
in class AbstractPropertyDescriptor
value
- StringconversionType
- Stringlocale
- Locale
DSETypeException
- - If unformatting is unsuccessfulpublic java.lang.Object unformatFromString(java.lang.String value, java.lang.String conversionType, java.util.Locale locale, Hashtable parameters) throws DSETypeException
unformatFromString
in class AbstractPropertyDescriptor
value
- StringconversionType
- Stringlocale
- Localeparameters
- com.ibm.dse.base.Hashtable
DSETypeException
- - If unformatting is unsuccessful
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |