View Javadoc

1   /**
2    * BusinessRule AnotherRule initial generated by Mod4j BusinessDomain DSL at: Mon Oct 20 22:16:44 CEST 2008
3    */
4   
5   package org.company.thesandbox.domain.businessrules;
6   
7   import org.springframework.validation.Errors;
8   import org.springframework.validation.ValidationUtils;
9   import org.springframework.validation.Validator;
10  
11  import org.company.thesandbox.domain.Customer;
12  
13  /**
14   * Just another rule
15   * 
16   * @author Generated by Mod4j
17   */
18  public abstract class AnotherRuleImplBase implements Validator {
19  
20      /**
21       * {@inheritDoc}
22       */
23      @SuppressWarnings("unchecked")
24      public boolean supports(Class clazz) {
25          return Customer.class.isAssignableFrom(clazz);
26      }
27  }