1 26 27 package org.objectweb.openccm.pss.generator.common.api; 28 29 import org.objectweb.openccm.ast.api.StorageTypeStateMemberDecl; 31 import org.objectweb.openccm.generator.translator.idl2java.api.PSDL_JavaTranslator; 32 import org.objectweb.openccm.generator.java.ast.api.InterfaceObject; 33 import org.objectweb.openccm.generator.java.ast.api.ClassObject; 34 import org.objectweb.openccm.generator.java.ast.api.MethodObject; 35 36 37 44 45 public interface StateMemberMapping 46 { 47 52 public void 53 setStateMember(StorageTypeStateMemberDecl state); 54 55 60 public String 61 mapStateName(); 62 63 70 public void 71 toJavaAccessors(PSDL_JavaTranslator translator, 72 InterfaceObject obj, 73 boolean finalAccessor); 74 75 81 public void 82 toJavaReadOnlyStateMemberModifier( 83 PSDL_JavaTranslator translator, 84 ClassObject clazz); 85 86 93 public void 94 toJavaAttribute(PSDL_JavaTranslator translator, 95 ClassObject clazz, 96 org.objectweb.openccm.ast.api.StorageTypeDecl st); 97 98 104 public void 105 toJavaParameter(PSDL_JavaTranslator translator, 106 MethodObject method); 107 } 108 | Popular Tags |