|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by all Validators that descend from the abstract implementation, AbstractValidator.
Validators provide behavior to validate business objects in accordance with specific business rules. The majority of such behavior is Type specific.
Method Summary | |
---|---|
java.lang.Object |
validate(java.lang.Object toValidate,
PropertyDescription descriptor)
Validates the passed object and, if successful, returns the object. |
java.lang.Object |
validate(java.lang.Object toValidate,
PropertyDescription descriptor,
Hashtable parameters)
Validates the passed object and, if successful, returns the object. |
java.lang.Object |
validate(java.lang.String toValidate,
PropertyDescription descriptor)
Validates the Object resulting from unformatting the passed String into the appropriate Type. |
java.lang.Object |
validate(java.lang.String toValidate,
java.lang.String convType,
PropertyDescription descriptor)
Validates the Object resulting from unformatting (using the convtype) the passed String into the appropriate Type. |
java.lang.Object |
validate(java.lang.String toValidate,
java.lang.String convType,
PropertyDescription descriptor,
Hashtable parameters)
Validates the Object resulting from unformatting (using the convtype) the passed String into the appropriate Type. |
void |
validateParams(PropertyDescription pd)
Validates the parameters externaly defined for this validator. |
Method Detail |
public java.lang.Object validate(java.lang.Object toValidate, PropertyDescription descriptor) throws DSETypeException
toValidate
- Objectdescriptor
- PropertyDescription
DSETypeException
- - Thrown if the validation is unsuccessfulpublic java.lang.Object validate(java.lang.Object toValidate, PropertyDescription descriptor, Hashtable parameters) throws DSETypeException
toValidate
- Objectdescriptor
- PropertyDescriptionparameters
- com.ibm.dse.base.Hashtable
DSETypeException
- - Thrown if the validation is unsuccessfulpublic java.lang.Object validate(java.lang.String toValidate, PropertyDescription descriptor) throws DSETypeException
toValidate
- Stringdescriptor
- PropertyDescription
DSETypeException
- - Thrown if the validation is unsuccessfulpublic java.lang.Object validate(java.lang.String toValidate, java.lang.String convType, PropertyDescription descriptor) throws DSETypeException
toValidate
- StringconvType
- Stringdescriptor
- PropertyDescription
DSETypeException
- - Thrown if the validation is unsuccessfulpublic java.lang.Object validate(java.lang.String toValidate, java.lang.String convType, PropertyDescription descriptor, Hashtable parameters) throws DSETypeException
toValidate
- StringconvType
- Stringdescriptor
- PropertyDescriptionparameters
- com.ibm.dse.base.Hashtable
DSETypeException
- - Thrown if the validation is unsuccessfulpublic void validateParams(PropertyDescription pd) throws DSETypeException
pd
- com.ibm.dse.base.types.PropertyDescription
DSETypeException
- - Thrown if the parameter validation fails
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |