1 17 package org.eclipse.emf.codegen.ecore.genmodel; 18 19 20 import java.util.List ; 21 22 import org.eclipse.emf.common.util.EList; 23 import org.eclipse.emf.ecore.EOperation; 24 25 26 44 public interface GenOperation extends GenTypedElement { 45 61 GenClass getGenClass(); 62 63 71 void setGenClass(GenClass value); 72 73 87 EOperation getEcoreOperation(); 88 89 97 void setEcoreOperation(EOperation value); 98 99 115 EList getGenParameters(); 116 117 String getName(); 118 String getCapName(); 119 String getFormattedName(); 120 121 boolean isVoid(); 122 123 126 String getReturnTypeClassifier(); 127 128 131 GenPackage getReturnTypeGenPackage(); 132 133 136 String getReturnType(); 137 138 141 String getImportedReturnType(); 142 143 146 String getObjectReturnType(); 147 148 151 boolean isPrimitiveReturnType(); 152 153 String getParameters(); 154 String getParameterTypes(String separator); 155 String getParameterTypes(String separator, boolean qualified); 156 String getParameterNames(String separator); 157 158 String getImportedMetaType(); 159 160 GenPackage getGenPackage(); 161 162 void initialize(EOperation eOperation); 163 String getModelInfo(); 164 165 boolean reconcile(GenOperation oldGenOperationVersion); 166 boolean hasBody(); 167 String getBody(String indentation); 168 169 List getGenExceptions(); 170 String getThrows(); 171 172 boolean isInvariant(); 173 } 174 | Popular Tags |