1 package org.sapia.validator; 2 3 4 14 public class RuleSetRef implements Validatable { 15 private String _ref; 16 17 20 public RuleSetRef() { 21 } 22 23 29 public void setId(String ref) { 30 _ref = ref; 31 } 32 33 40 public String getId() { 41 return _ref; 42 } 43 44 47 public void validate(ValidationContext ctx) { 48 ctx.getConfig().getRuleSet(_ref).validate(ctx); 49 } 50 } 51 | Popular Tags |