1 6 7 package SOFA.Connector.EEG.EEM.Elements; 8 9 import SOFA.Connector.EEG.CodeWriter.JWriterDirectorException; 10 import SOFA.Connector.EEG.EEM.Actions.JIfaceCN; 11 import SOFA.Connector.EEG.EEM.Actions.JIfaceWriterDirectorBase; 12 import SOFA.SOFAnode.Made.TIR.OperationDef; 13 14 19 public class CNInterfaceGen extends JIfaceWriterDirectorBase { 20 21 22 public CNInterfaceGen(String ifaceCDL, SOFA.Connector.Property[] params) { 23 super(ifaceCDL,params); 24 } 25 26 public String getMethod(OperationDef method) throws JWriterDirectorException { 27 return JIfaceCN.getMethodDef(method); 28 } 29 30 public String getInterfaceBody() throws JWriterDirectorException { 31 return 32 "\torg.objectweb.fractal.api.Type getFcItfType() ;\n"+ 33 "\tboolean isFcInternalItf() ;\n"+ 34 "\tString getFcItfName() ;\n"+ 35 "\torg.objectweb.fractal.api.Component getFcItfOwner() ;\n\n"; 36 } 37 38 } 39 | Popular Tags |