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

java.lang.Object
  |
  +--com.ibm.dse.base.types.AbstractValidator
        |
        +--com.ibm.dse.base.types.ext.FloatValidator

public class FloatValidator
extends AbstractValidator

Validator for business objects of Type Float

See Also:
Serialized Form

Fields inherited from class com.ibm.dse.base.types.AbstractValidator
keyValuePairs
 
Constructor Summary
FloatValidator(java.util.Hashtable keyValuePairs)
          Creates a FloatValidator object.
 
Method Summary
 java.lang.Object validateForType(java.lang.Object toValidate, PropertyDescription descriptor)
          Validates an object of Type Float and if successful, the object is returned, otherwise an appropriate exception is thrown.
 
Methods inherited from class com.ibm.dse.base.types.AbstractValidator
getParameters, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatValidator

public FloatValidator(java.util.Hashtable keyValuePairs)
Creates a FloatValidator object.
Parameters:
keyValuePairs - java.util.Hashtable
Method Detail

validateForType

public java.lang.Object validateForType(java.lang.Object toValidate,
                                        PropertyDescription descriptor)
                                 throws DSETypeException
Validates an object of Type Float and if successful, the object is returned, otherwise an appropriate exception is thrown. Parameters required are first taken from the descriptor passed as argument, and if they are not found there then they are taken for the own hashtable.
Overrides:
validateForType in class AbstractValidator
Tags copied from class: AbstractValidator
Parameters:
toValidate - Object
descriptor - PropertyDescription
Throws:
DSETypeException - Validation is unsuccessful.