com.jgoodies.validation.tutorial.validator
Class OrderModelValidator
java.lang.Object
com.jgoodies.validation.tutorial.validator.OrderModelValidator
public final class OrderModelValidator
- extends Object
Validates an OrderModel.
- Version:
- $Revision: 1.9 $
- Author:
- Karsten Lentzsch
Method Summary |
com.jgoodies.validation.ValidationResult |
validate()
Validates the order models and returns the result
as an instance of ValidationResult . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrderModelValidator
public OrderModelValidator(OrderModel orderModel)
- Constructs an OrderModelValidator on the given order model.
- Parameters:
orderModel
- provides the order models to be validated
validate
public com.jgoodies.validation.ValidationResult validate()
- Validates the order models and returns the result
as an instance of
ValidationResult
.
- Returns:
- the validation result
Copyright © 2003-2008 JGoodies Karsten Lentzsch. All Rights Reserved.