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.EAnnotation; 24 import org.eclipse.emf.ecore.EPackage; 25 26 27 62 public interface GenPackage extends GenBase{ 63 77 String getPrefix(); 78 79 87 void setPrefix(String value); 88 89 103 String getBasePackage(); 104 105 113 void setBasePackage(String value); 114 115 131 GenResourceKind getResource(); 132 133 142 void setResource(GenResourceKind value); 143 144 158 boolean isDisposableProviderFactory(); 159 160 168 void setDisposableProviderFactory(boolean value); 169 170 185 boolean isAdapterFactory(); 186 187 195 void setAdapterFactory(boolean value); 196 197 211 boolean isLoadInitialization(); 212 213 221 void setLoadInitialization(boolean value); 222 223 238 String getInterfacePackageSuffix(); 239 240 248 void setInterfacePackageSuffix(String value); 249 250 265 String getClassPackageSuffix(); 266 267 275 void setClassPackageSuffix(String value); 276 277 292 String getUtilityPackageSuffix(); 293 294 302 void setUtilityPackageSuffix(String value); 303 304 319 String getProviderPackageSuffix(); 320 321 329 void setProviderPackageSuffix(String value); 330 331 346 String getPresentationPackageSuffix(); 347 348 356 void setPresentationPackageSuffix(String value); 357 358 373 String getTestsPackageSuffix(); 374 375 383 void setTestsPackageSuffix(String value); 384 385 400 boolean isGenerateExampleClass(); 401 402 410 void setGenerateExampleClass(boolean value); 411 412 426 EPackage getEcorePackage(); 427 428 436 void setEcorePackage(EPackage value); 437 438 454 GenModel getGenModel(); 455 456 464 void setGenModel(GenModel value); 465 466 480 EList getGenEnums(); 481 482 496 EList getGenDataTypes(); 497 498 512 EList getGenClasses(); 513 514 528 EList getNestedGenPackages(); 529 530 546 EList getGenClassifiers(); 547 548 String getInterfacePackageName(); 549 String getClassPackageName(); 550 String getUtilitiesPackageName(); 551 String getTestsPackageName(); 552 553 String getNSName(); 555 String getNSURI(); 556 String getPackageName(); 557 String getQualifiedPackageName(); 558 559 String getPackageInterfaceName(); 560 String getQualifiedPackageInterfaceName(); 561 String getImportedPackageInterfaceName(); 562 String getUncapPackageInterfaceName(); 563 String getPackageClassName(); 564 String getQualifiedPackageClassName(); 565 String getImportedPackageClassName(); 566 567 String getFactoryInterfaceName(); 568 String getQualifiedFactoryInterfaceName(); 569 String getImportedFactoryInterfaceName(); 570 String getUncapFactoryInterfaceName(); 571 String getFactoryClassName(); 572 String getQualifiedFactoryClassName(); 573 String getImportedFactoryClassName(); 574 575 String getAdapterFactoryClassName(); 576 String getQualifiedAdapterFactoryClassName(); 577 String getImportedAdapterFactoryClassName(); 578 String getUncapAdapterFactoryClassName(); 579 580 String getSwitchClassName(); 581 String getValidatorClassName(); 582 String getImportedValidatorClassName(); 583 String getTestSuiteClassName(); 584 String getExampleClassName(); 585 String getQualifiedTestSuiteClassName(); 586 String getImportedTestSuiteClassName(); 587 588 List getAllGenDataTypes(); 589 590 596 List getOrderedGenClasses(); 597 List getOrderedGenClassifiers(); 598 599 String getClassifierID(GenClassifier genClassifier); 600 int getClassifierValue(GenClassifier genClassifier); 601 int getLocalClassifierIndex(GenClassifier genClassifier); 602 603 List getPackageSimpleDependencies(); 604 List getPackageInterDependencies(); 605 List getPackageLoadInterDependencies(); 606 List getPackageBuildInterDependencies(); 607 List getPackageInitializationDependencies(); 608 String getPackageInstanceVariable(GenPackage genPackage); 609 610 614 List getSubGenPackages(); 615 616 620 GenPackage getSuperGenPackage(); 621 622 626 GenPackage getRootGenPackage(); 627 628 631 boolean isLoadingInitialization(); 632 633 636 boolean isLoadedInitialization(); 637 638 boolean isEcorePackage(); 639 boolean hasInterfaceImplConflict(); 640 boolean hasJavaLangConflict(); 641 List getJavaLangConflicts(); 642 boolean hasClassifiers(); 643 boolean hasClassifiers(boolean traverseNestedPackages); 644 645 List getAllSwitchGenClasses(); 646 String getClassUniqueName(GenClass genClass); 647 648 List getAllValidatorBaseGenPackages(); 649 String getValidatorPackageUniqueSafeName(GenPackage genPackage); 650 651 void initialize(EPackage ePackage); 652 653 657 void generateSchema(); 658 659 663 String getProviderPackageName(); 664 String getPresentationPackageName(); 665 666 String getItemProviderAdapterFactoryClassName(); 667 String getQualifiedItemProviderAdapterFactoryClassName(); 668 String getImportedItemProviderAdapterFactoryClassName(); 669 String getEditorClassName(); 670 String getQualifiedEditorClassName(); 671 String getImportedEditorClassName(); 672 String getModelWizardClassName(); 673 String getQualifiedModelWizardClassName(); 674 String getImportedModelWizardClassName(); 675 String getActionBarContributorClassName(); 676 String getQualifiedActionBarContributorClassName(); 677 String getImportedActionBarContributorClassName(); 678 679 String getAdapterFactoryDelegateName(GenPackage genDelegate); 680 String getUncapAdapterFactoryDelegateName(GenPackage genDelegate); 681 682 String getEditPluginClassName(); 683 String getQualifiedEditPluginClassName(); 684 String getImportedEditPluginClassName(); 685 686 String getEditorPluginClassName(); 687 String getQualifiedEditorPluginClassName(); 688 String getImportedEditorPluginClassName(); 689 690 List getAllGenFeatures(); 693 List getAdapterDelegatePackages(); 694 List getAdapterDelegateSuperClasses(); 695 696 boolean hasStatefulProvider(); 697 698 String getModelInfo(); 699 700 boolean reconcile(GenPackage oldGenPackageVersion); 701 702 List getAnnotationSources(); 703 String getAnnotationSourceIdentifier(String annotationSource); 704 List getAllAnnotations(); 705 String getAnnotatedModelElementAccessor(EAnnotation eAnnotation); 706 707 String getResourceClassName(); 708 String getQualifiedResourceClassName(); 709 String getImportedResourceClassName(); 710 String getImportedResourceBaseClassName(); 711 712 String getResourceFactoryClassName(); 713 String getQualifiedResourceFactoryClassName(); 714 String getImportedResourceFactoryClassName(); 715 String getImportedResourceFactoryBaseClassName(); 716 717 boolean hasXMLMap(); 718 boolean hasDocumentRoot(); 719 boolean hasExtendedMetaData(); 720 boolean hasTargetNamespace(); 721 722 boolean hasConstraints(); 723 724 String getSerializedPackageFilename(); 725 726 List getProviderSupportedTypes(); 727 728 GenClass getRootClass(); 729 GenFeature getRootFeature(); 730 731 boolean hasConcreteClasses(); 732 733 boolean hasTests(); 734 } 735 | Popular Tags |