1 17 18 package org.objectweb.jac.aspects.integrity; 19 20 import org.objectweb.jac.core.rtti.MethodItem; 21 22 25 26 public class ConstraintDescriptor { 27 MethodItem constraint; 28 Object [] params; 29 String errorMsg; 30 31 public ConstraintDescriptor(MethodItem constraint, 32 Object [] params, 33 String errorMsg) 34 { 35 this.constraint = constraint; 36 this.params = params; 37 this.errorMsg = errorMsg; 38 } 39 40 public MethodItem getConstraint() 41 { 42 return constraint; 43 } 44 45 public Object [] getParams() 46 { 47 return params; 48 } 49 50 public String getErrorMsg() 51 { 52 return errorMsg; 53 } 54 } 55 | Popular Tags |