org.apache.qpid.management.domain.model
Class QpidProperty.NumberValidator
java.lang.Object
org.apache.qpid.management.domain.model.QpidProperty.NumberValidator
- All Implemented Interfaces:
- IValidator
- Enclosing class:
- QpidProperty
class QpidProperty.NumberValidator
- extends Object
- implements IValidator
Validator responsible for validating numbers.
Method Summary |
void |
validate(Object value)
Validates the given value according to the rules definied by this validator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QpidProperty.NumberValidator
QpidProperty.NumberValidator()
validate
public void validate(Object value)
throws ValidationException
- Description copied from interface:
IValidator
- Validates the given value according to the rules definied by this validator.
- Specified by:
validate
in interface IValidator
- Parameters:
value
- the value be checked.
- Throws:
ValidationException
- when the value is violating validator's rules.
Licensed to the Apache Software Foundation