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.EClass; 24 25 26 47 public interface GenClass extends GenClassifier 48 { 49 65 GenProviderKind getProvider(); 66 67 76 void setProvider(GenProviderKind value); 77 78 93 boolean isImage(); 94 95 103 void setImage(boolean value); 104 105 119 EClass getEcoreClass(); 120 121 129 void setEcoreClass(EClass value); 130 131 147 EList getGenFeatures(); 148 149 165 EList getGenOperations(); 166 167 181 GenFeature getLabelFeature(); 182 183 191 void setLabelFeature(GenFeature value); 192 193 198 String getInterfaceName(); 199 200 String getQualifiedInterfaceName(); 201 String getImportedInterfaceName(); 202 203 String getClassName(); 204 String getQualifiedClassName(); 205 String getImportedClassName(); 206 207 212 String getUncapName(); 213 214 List getBaseGenClasses(); 215 List getAllBaseGenClasses(); 216 217 222 List getSwitchGenClasses(); 223 224 227 GenClass getBaseGenClass(); 228 229 235 GenClass getClassExtendsGenClass(); 236 237 String getClassExtends(); 238 String getClassImplements(); 239 String getInterfaceExtends(); 240 boolean needsRootExtendsInterfaceExtendsTag(); 241 242 List getAllGenFeatures(); 243 List getInheritedGenFeatures(); 244 List getAllGenOperations(); 245 246 String getFeatureID(GenFeature genFeature); 247 String getQualifiedFeatureID(GenFeature genFeature); 248 String getOperationID(GenOperation genOperation); 249 String getFeatureValue(GenFeature genFeature); 250 String getLocalFeatureIndex(GenFeature genFeature); 251 String getFlagsField(GenFeature genFeature); 252 int getFlagIndex(GenFeature genFeature); 253 String getESetFlagsField(GenFeature genFeature); 254 int getESetFlagIndex(GenFeature genFeature); 255 256 String getFeatureCountID(); 257 String getQualifiedFeatureCountID(); 258 String getFeatureCountValue(); 259 int getFeatureCount(); 260 261 boolean isEObject(); 262 boolean isEObjectExtension(); 263 boolean isAbstract(); 264 String getAbstractFlag(); 265 boolean isInterface(); 266 String getInterfaceFlag(); 267 268 274 boolean isExternalInterface(); 275 276 boolean isMapEntry(); 277 GenFeature getMapEntryKeyFeature(); 278 GenFeature getMapEntryValueFeature(); 279 280 List getImplementedGenClasses(); 281 List getImplementedGenFeatures(); 282 List getImplementedGenOperations(); 283 284 List getExtendedGenClasses(); 285 List getExtendedGenFeatures(); 286 List getExtendedGenOperations(); 287 288 List getDeclaredFieldGenFeatures(); 289 290 List getDeclaredGenFeatures(); 291 List getDeclaredGenOperations(); 292 293 List getFlagGenFeatures(); 294 List getFlagGenFeatures(String staticDefaultValue); 295 296 List getESetGenFeatures(); 297 List getEInverseAddGenFeatures(); 298 List getEInverseRemoveGenFeatures(); 299 List getEBasicRemoveFromContainerGenFeatures(); 300 List getToStringGenFeatures(); 301 302 List getMixinGenClasses(); 303 List getMixinGenFeatures(); 304 List getMixinGenOperations(); 305 306 void initialize(EClass eClass); 307 311 String getProviderClassName(); 312 String getQualifiedProviderClassName(); 313 String getImportedProviderClassName(); 314 boolean isProviderSingleton(); 315 316 String getProviderBaseClassName(); 317 List getProviderImplementedGenClasses(); 318 319 List getLabelFeatureCandidates(); 320 List getPropertyFeatures(); 321 322 List getNotifyFeatures(); 323 List getLabelNotifyFeatures(); 324 List getContentNotifyFeatures(); 325 List getLabelAndContentNotifyFeatures(); 326 327 List getChildrenFeatures(); 328 List getAllChildrenFeatures(); 329 330 List getCreateChildFeatures(); 331 List getAllCreateChildFeatures(); 332 List getCrossPackageCreateChildFeatures(); 333 List getSharedClassCreateChildFeatures(); 334 boolean hasFeatureMapCreateChildFeatures(); 335 336 List getChildrenClasses(GenFeature genFeature); 337 List getCrossPackageChildrenClasses(GenFeature genFeature); 338 339 String getItemProviderAdapterFactoryClassName(); 340 341 String getTestCaseClassName(); 342 String getQualifiedTestCaseClassName(); 343 String getImportedTestCaseClassName(); 344 345 String getModelInfo(); 346 347 boolean reconcile(GenClass oldGenClassVersion); 348 349 GenOperation getInvariantOperation(String constraint); 350 351 boolean isDocumentRoot(); 352 GenFeature getMixedGenFeature(); 353 354 String getListConstructor(GenFeature genFeature); 355 356 boolean isModelRoot(); 357 358 boolean isFlag(GenFeature genFeature); 359 boolean isESetFlag(GenFeature genFeature); 360 361 boolean isField(GenFeature genFeature); 362 boolean isESetField(GenFeature genFeature); 363 364 boolean hasTests(); 365 } 366 | Popular Tags |