1 7 package com.inversoft.verge.mvc.controller.form.config; 8 9 10 import com.inversoft.verge.mvc.config.BaseValidatorConfig; 11 12 13 21 public class ValidatorConfig extends BaseValidatorConfig { 22 23 private MappingConfig failureMapping; 24 25 26 33 public ValidatorConfig(Class validator, String failure) { 34 super(validator, failure); 35 } 36 37 43 public ValidatorConfig(BaseValidatorConfig base) { 44 super(base); 45 } 46 47 53 public ValidatorConfig(ValidatorConfig config) { 54 super(config); 55 this.failureMapping = config.failureMapping; 56 } 57 58 59 64 public MappingConfig getFailureMapping() { 65 return failureMapping; 66 } 67 68 73 public void setFailureMapping(MappingConfig failureMapping) { 74 this.failureMapping = failureMapping; 75 } 76 } | Popular Tags |