rewrite-showcase-rest 2.0.0.Final

org.ocpsoft.rewrite.showcase.rest
Class ProductValidator

java.lang.Object
  extended by org.ocpsoft.rewrite.showcase.rest.ProductValidator
All Implemented Interfaces:
Validator<Product>

public class ProductValidator
extends Object
implements Validator<Product>

Author:
Lincoln Baxter, III

Constructor Summary
ProductValidator()
           
 
Method Summary
 boolean isValid(Rewrite event, EvaluationContext context, Product value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductValidator

public ProductValidator()
Method Detail

isValid

public boolean isValid(Rewrite event,
                       EvaluationContext context,
                       Product value)
Specified by:
isValid in interface Validator<Product>

rewrite-showcase-rest 2.0.0.Final

Copyright © 2013 OCPsoft. All Rights Reserved.