|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.types.AbstractValidator
public abstract class AbstractValidator
This class resides at the top of the Validator hierarchy and provides an abstract implementation of the Validation interface for Type specific Validators to extend.
Field Summary | |
---|---|
protected java.util.Hashtable |
keyValuePairs
The parameterization for this Validator, understood by concrete subclasses |
Fields inherited from interface com.ibm.btt.base.types.TypeConstants |
---|
amended, CONV_TYPE_DEFAULT, CONV_TYPE_HOST, CONV_TYPE_HTML, 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 | |
---|---|
AbstractValidator()
This constructor creates a Validator for business objects of the associated Type. |
|
AbstractValidator(java.util.Hashtable keyValuePairs)
This constructor creates a Validator for business objects of the associated Type. |
Method Summary | |
---|---|
java.util.Hashtable |
getParameters()
Returns the keyValuePairs Hashtable. |
void |
readExternal(java.io.ObjectInput s)
Invokes the object creation from an ObjectInput. |
java.lang.Object |
validate(java.lang.Object toValidate,
PropertyDescription descriptor)
Validates the object and, if successful, returns the object. |
java.lang.Object |
validate(java.lang.Object toValidate,
PropertyDescription descriptor,
Hashtable parameters)
Validates the object and, if successful, returns the object. |
java.lang.Object |
validate(java.lang.String toValidate,
PropertyDescription descriptor)
Validates the object and, if successful, returns the object. |
java.lang.Object |
validate(java.lang.String toValidate,
java.lang.String convType,
PropertyDescription descriptor)
Validates the object and, if successful, returns the object. |
java.lang.Object |
validate(java.lang.String toValidate,
java.lang.String convType,
PropertyDescription descriptor,
Hashtable parameters)
Validates the object and, if successful, returns the object. |
java.lang.Object |
validateForType(java.lang.Object toValidate,
PropertyDescription descriptor)
Validates the object and, if successful, returns the object. |
java.lang.Object |
validateForType(java.lang.Object toValidate,
PropertyDescription descriptor,
Hashtable parameters)
Validates the object and, if successful, returns the object. |
void |
validateParams(PropertyDescription pd)
Validates the parameters externaly defined for this validator |
void |
writeExternal(java.io.ObjectOutput s)
Provides concrete serialization handling for the Context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Hashtable keyValuePairs
Constructor Detail |
---|
public AbstractValidator()
public AbstractValidator(java.util.Hashtable keyValuePairs)
keyValuePairs
- HashtableMethod Detail |
---|
public java.util.Hashtable getParameters()
public void readExternal(java.io.ObjectInput s) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
s
- java.io.ObjectInput
java.io.IOException.
java.lang.ClassNotFoundException.
java.io.IOException
java.lang.ClassNotFoundException
public java.lang.Object validate(java.lang.Object toValidate, PropertyDescription descriptor) throws DSETypeException
validate
in interface Validation
toValidate
- Objectdescriptor
- PropertyDescription
DSETypeException
- Validation is unsuccessful.public java.lang.Object validate(java.lang.Object toValidate, PropertyDescription descriptor, Hashtable parameters) throws DSETypeException
validate
in interface Validation
toValidate
- Objectdescriptor
- PropertyDescriptionparameters
- com.ibm.btt.base.Hashtable
DSETypeException
- Validation is unsuccessful.public java.lang.Object validate(java.lang.String toValidate, PropertyDescription descriptor) throws DSETypeException
validate
in interface Validation
toValidate
- Stringdescriptor
- PropertyDescription
DSETypeException
- Validation is unsuccessful.public java.lang.Object validate(java.lang.String toValidate, java.lang.String convType, PropertyDescription descriptor) throws DSETypeException
validate
in interface Validation
toValidate
- StringconvType
- Stringdescriptor
- PropertyDescription
DSETypeException
- Validation is unsuccessful.public java.lang.Object validate(java.lang.String toValidate, java.lang.String convType, PropertyDescription descriptor, Hashtable parameters) throws DSETypeException
validate
in interface Validation
toValidate
- StringconvType
- Stringdescriptor
- PropertyDescriptionparameters
- com.ibm.btt.base.Hashtable
DSETypeException
- Validation is unsuccessful.public java.lang.Object validateForType(java.lang.Object toValidate, PropertyDescription descriptor) throws DSETypeException
toValidate
- Objectdescriptor
- PropertyDescription
DSETypeException
- Validation is unsuccessful.public java.lang.Object validateForType(java.lang.Object toValidate, PropertyDescription descriptor, Hashtable parameters) throws DSETypeException
toValidate
- Objectdescriptor
- PropertyDescriptionparameters
- com.ibm.btt.base.Hashtable
DSETypeException
- Validation is unsuccessful.public void validateParams(PropertyDescription pd) throws DSETypeException
validateParams
in interface Validation
pd
- com.ibm.btt.base.types.PropertyDescription
DSETypeException
- If parameter validation fails.public void writeExternal(java.io.ObjectOutput s) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
s
- java.io.ObjectOutput
java.io.IOException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |