1 17 18 package org.objectweb.jac.aspects.integrity; 19 20 import org.objectweb.jac.core.rtti.CollectionItem; 21 import org.objectweb.jac.core.rtti.FieldItem; 22 import org.objectweb.jac.core.rtti.MethodItem; 23 24 public interface IntegrityConf { 25 26 46 void updateAssociations(); 47 48 59 void declareRepository(String repositoryName, 60 CollectionItem collection, 61 FieldItem field); 62 63 92 void declareConstraint(FieldItem relation, 93 FieldItem target, String constraint); 94 95 118 void addPreCondition(FieldItem field, 119 MethodItem constraint, 120 Object [] params, 121 String errorMsg); 122 123 146 void addPostCondition(FieldItem field, 147 MethodItem constraint, 148 Object [] params, 149 String errorMsg); 150 151 } 152 153 | Popular Tags |