com.jgoodies.validation.tutorial.validator
Class OrderModelValidator

java.lang.Object
  extended by com.jgoodies.validation.tutorial.validator.OrderModelValidator

public final class OrderModelValidator
extends Object

Validates an OrderModel.

Version:
$Revision: 1.9 $
Author:
Karsten Lentzsch

Constructor Summary
OrderModelValidator(OrderModel orderModel)
          Constructs an OrderModelValidator on the given order model.
 
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
 

Constructor Detail

OrderModelValidator

public OrderModelValidator(OrderModel orderModel)
Constructs an OrderModelValidator on the given order model.

Parameters:
orderModel - provides the order models to be validated
Method Detail

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.