1 18 19 package org.objectweb.kilim.model.mapping; 20 21 import org.objectweb.kilim.KilimException; 22 23 33 public interface Mapper { 34 35 44 void enterContext(MappingContext aContext) throws KilimException; 45 46 52 void leaveContext(MappingContext aContext) throws KilimException; 53 54 64 Object getGetterValue (Object aSupport, boolean isStatic, String fieldName, MappingContext aContext) throws KilimException; 65 66 77 void executeSetter(Object aSupport, boolean isStatic, String fieldName, Object toBeSet, MappingContext aContext) throws KilimException; 78 79 91 Object getMethodValue(Object aSupport, boolean isStatic, String aMethodName, Object [] paramObjects, String [] typeNames, MappingContext aContext) throws KilimException; 92 93 104 void executeMethod(Object aSupport, boolean isStatic, String aMethodName, Object [] paramObjects, String [] typeNames, MappingContext aContext) throws KilimException; 105 106 116 Object getConstructorValue(Class aClass, Object [] paramObjects, String [] typeNames, MappingContext aContext) throws KilimException; 117 118 127 void executeConstructor(Class aClass, Object [] paramObjects, String [] typeNames, MappingContext aContext) throws KilimException; 128 129 136 Object getPropertyValue(Object aValue, MappingContext aContext) throws KilimException; 137 138 146 Object getClassValue(String aClassName, MappingContext aContext) throws KilimException; 147 148 157 Object getExternalValue(Object value, MappingContext aContext) throws KilimException; 158 159 166 Object getNullElementValue(MappingContext aContext) throws KilimException; 167 168 173 void executeNullElement(MappingContext aContext) throws KilimException; 174 175 181 Object getEventSourceValue(MappingContext aContext) throws KilimException; 182 183 } | Popular Tags |