org.company.thesandbox.domain.businessrules
Class OneEarDiscount

java.lang.Object
  extended by org.company.thesandbox.domain.businessrules.OneEarDiscountImplBase
      extended by org.company.thesandbox.domain.businessrules.OneEarDiscount
All Implemented Interfaces:
org.springframework.validation.Validator

public class OneEarDiscount
extends OneEarDiscountImplBase

If Customer has one ear, he/she get a discount of 50 percent. This ExtensionPoint is intended to be manually changed by developers.


Constructor Summary
OneEarDiscount()
           
 
Method Summary
 void validate(java.lang.Object target, org.springframework.validation.Errors errors)
          
 
Methods inherited from class org.company.thesandbox.domain.businessrules.OneEarDiscountImplBase
supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneEarDiscount

public OneEarDiscount()
Method Detail

validate

public void validate(java.lang.Object target,
                     org.springframework.validation.Errors errors)



Copyright © 2010. All Rights Reserved.