Class ProductValidator

java.lang.Object
org.ocpsoft.rewrite.showcase.rest.ProductValidator
All Implemented Interfaces:
org.ocpsoft.rewrite.param.ParameterConfigurator, org.ocpsoft.rewrite.param.Validator<Product>

public class ProductValidator extends Object implements org.ocpsoft.rewrite.param.Validator<Product>
Author:
Lincoln Baxter, III
  • Constructor Details

    • ProductValidator

      public ProductValidator()
  • Method Details

    • isValid

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