1 18 19 package org.objectweb.jac.core.rtti; 20 21 39 40 public interface RttiConf { 41 42 59 63 64 74 void addWrittenFields(AbstractMethodItem method, String [] writtenFields); 75 76 86 void addAccessedFields(MethodItem method, String [] accessedFields); 87 88 97 void declareCalculatedField(ClassItem cl, String fieldName, 98 String getterName); 99 100 105 void setSetter(FieldItem field, String setterName); 106 107 112 void setGetter(FieldItem field, String getterName); 113 114 123 void addDependentField(FieldItem field, String dependentField); 124 125 128 void addFieldDependency(FieldItem field, FieldItem dependentField); 129 130 136 void addAdder(CollectionItem collection,String method); 137 138 143 void setAdder(CollectionItem collection, String method); 144 145 150 void addRemover(CollectionItem collection, String method); 151 152 158 void setRemover(CollectionItem collection, String method); 159 160 168 void setFieldType(FieldItem field, String type); 169 170 180 void setDynamicFieldType(FieldItem field, MethodItem method); 181 182 189 void setComponentType(CollectionItem collection, String type); 190 191 197 void setParametersType(AbstractMethodItem method, String [] types) ; 198 199 207 void newVirtualClass(String className, ClassItem actualType); 208 209 221 void defineRepository(ClassItem type, 222 String repositoryName, 223 CollectionItem repositoryCollection); 224 225 232 void setClonedFields(String className, String [] fields); 233 234 241 void setClass(ClassItem cli, String className); 242 243 250 void setClass(MemberItem member, String className); 251 252 265 void setParametersFields(AbstractMethodItem method, FieldItem[] fields); 266 267 275 void setNullAllowed(FieldItem field); 276 277 286 void setNullAllowed(FieldItem field, boolean allowed); 287 288 298 void setNullAllowedParameters(AbstractMethodItem method, 299 boolean[] nulls); 300 301 315 void setIsIndex(CollectionItem collection, boolean isIndex); 316 317 328 void setIndexedField(CollectionItem collection, FieldItem indexedField); 329 330 337 void definePrimaryKey(CollectionItem collection, String [] fields); 338 339 346 void setAggregation(FieldItem field, boolean isAggregation); 347 348 360 void addAllowedCast(ClassItem src, ClassItem dest); 361 362 370 void setOppositeRole(FieldItem field, FieldItem oppositeRole); 371 372 393 void declareAssociation(FieldItem roleA, FieldItem roleB); 394 395 407 void addMixinMethod(ClassItem cli, MethodItem method) throws InvalidDelegateException; 408 } 409 | Popular Tags |