|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
org.eclipse.emf.codegen.ecore.genmodel.impl.GenPackageImpl
public class GenPackageImpl
An implementation of the model object 'Gen Package'.
The following features are implemented:
PrefixBase PackageResourceDisposable Provider FactoryAdapter FactoryLoad InitializationInterface Package SuffixMeta Data Package SuffixClass Package SuffixUtility Package SuffixProvider Package SuffixPresentation Package SuffixTests Package SuffixGenerate Example ClassLiterals InterfaceData Type ConvertersMultiple Editor PagesGenerate Model WizardExtensible Provider FactoryChild Creation ExtendersContent Type IdentifierFile ExtensionsEcore PackageGen ModelGen EnumsGen Data TypesGen ClassesNested Gen PackagesGen Classifiers
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
|---|
GenBaseImpl.AnnotationFilter, GenBaseImpl.AnnotationFilterImpl, GenBaseImpl.ColorInformation, GenBaseImpl.EclipseUtil, GenBaseImpl.GenAnnotationCopier, GenBaseImpl.GenClassFilter, GenBaseImpl.GenConstraintFilter, GenBaseImpl.GenFeatureFilter, GenBaseImpl.GenOperationFilter, GenBaseImpl.GIFEmitter, GenBaseImpl.UniqueNameHelper |
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenPackage |
|---|
GenPackage.AnnotationReferenceData |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected static boolean |
ADAPTER_FACTORY_EDEFAULT
The default value of the ' Adapter Factory' attribute |
protected boolean |
adapterFactory
The cached value of the ' Adapter Factory' attribute |
protected static java.lang.String |
BASE_PACKAGE_EDEFAULT
The default value of the ' Base Package' attribute |
protected java.lang.String |
basePackage
The cached value of the ' Base Package' attribute |
protected static boolean |
CHILD_CREATION_EXTENDERS_EDEFAULT
The default value of the ' Child Creation Extenders' attribute |
protected boolean |
childCreationExtenders
The cached value of the ' Child Creation Extenders' attribute |
protected static java.lang.String |
CLASS_PACKAGE_SUFFIX_EDEFAULT
The default value of the ' Class Package Suffix' attribute |
protected java.lang.String |
classPackageSuffix
The cached value of the ' Class Package Suffix' attribute |
protected static java.lang.String |
CONTENT_TYPE_IDENTIFIER_EDEFAULT
The default value of the ' Content Type Identifier' attribute |
protected java.lang.String |
contentTypeIdentifier
The cached value of the ' Content Type Identifier' attribute |
protected static boolean |
DATA_TYPE_CONVERTERS_EDEFAULT
The default value of the ' Data Type Converters' attribute |
protected boolean |
dataTypeConverters
The cached value of the ' Data Type Converters' attribute |
protected static boolean |
DISPOSABLE_PROVIDER_FACTORY_EDEFAULT
The default value of the ' Disposable Provider Factory' attribute |
protected boolean |
disposableProviderFactory
The cached value of the ' Disposable Provider Factory' attribute |
protected EPackage |
ecorePackage
The cached value of the ' Ecore Package' reference |
protected static boolean |
EXTENSIBLE_PROVIDER_FACTORY_EDEFAULT
The default value of the ' Extensible Provider Factory' attribute |
protected boolean |
extensibleProviderFactory
The cached value of the ' Extensible Provider Factory' attribute |
protected static java.lang.String |
FILE_EXTENSIONS_EDEFAULT
The default value of the ' File Extensions' attribute |
protected java.lang.String |
fileExtensions
The cached value of the ' File Extensions' attribute |
protected EList<GenClass> |
genClasses
The cached value of the ' Gen Classes' containment reference list |
protected EList<GenDataType> |
genDataTypes
The cached value of the ' Gen Data Types' containment reference list |
protected EList<GenEnum> |
genEnums
The cached value of the ' Gen Enums' containment reference list |
protected static boolean |
GENERATE_EXAMPLE_CLASS_EDEFAULT
The default value of the ' Generate Example Class' attribute |
protected static boolean |
GENERATE_MODEL_WIZARD_EDEFAULT
The default value of the ' Generate Model Wizard' attribute |
protected boolean |
generateExampleClass
The cached value of the ' Generate Example Class' attribute |
protected boolean |
generateModelWizard
The cached value of the ' Generate Model Wizard' attribute |
protected static java.lang.String |
INTERFACE_PACKAGE_SUFFIX_EDEFAULT
The default value of the ' Interface Package Suffix' attribute |
protected java.lang.String |
interfacePackageSuffix
The cached value of the ' Interface Package Suffix' attribute |
protected static boolean |
LITERALS_INTERFACE_EDEFAULT
The default value of the ' Literals Interface' attribute |
protected boolean |
literalsInterface
The cached value of the ' Literals Interface' attribute |
protected static boolean |
LOAD_INITIALIZATION_EDEFAULT
The default value of the ' Load Initialization' attribute |
protected boolean |
loadInitialization
The cached value of the ' Load Initialization' attribute |
protected static java.lang.String |
META_DATA_PACKAGE_SUFFIX_EDEFAULT
The default value of the ' Meta Data Package Suffix' attribute |
protected java.lang.String |
metaDataPackageSuffix
The cached value of the ' Meta Data Package Suffix' attribute |
protected static boolean |
MULTIPLE_EDITOR_PAGES_EDEFAULT
The default value of the ' Multiple Editor Pages' attribute |
protected boolean |
multipleEditorPages
The cached value of the ' Multiple Editor Pages' attribute |
protected EList<GenPackage> |
nestedGenPackages
The cached value of the ' Nested Gen Packages' containment reference list |
protected static boolean |
NO_CONSTRAINTS
|
protected java.lang.String |
prefix
The cached value of the ' Prefix' attribute |
protected static java.lang.String |
PREFIX_EDEFAULT
The default value of the ' Prefix' attribute |
protected static java.lang.String |
PRESENTATION_PACKAGE_SUFFIX_EDEFAULT
The default value of the ' Presentation Package Suffix' attribute |
protected java.lang.String |
presentationPackageSuffix
The cached value of the ' Presentation Package Suffix' attribute |
protected static java.lang.String |
PROVIDER_PACKAGE_SUFFIX_EDEFAULT
The default value of the ' Provider Package Suffix' attribute |
protected java.lang.String |
providerPackageSuffix
The cached value of the ' Provider Package Suffix' attribute |
protected GenResourceKind |
resource
The cached value of the ' Resource' attribute |
protected static GenResourceKind |
RESOURCE_EDEFAULT
The default value of the ' Resource' attribute |
protected static java.lang.String |
TESTS_PACKAGE_SUFFIX_EDEFAULT
The default value of the ' Tests Package Suffix' attribute |
protected java.lang.String |
testsPackageSuffix
The cached value of the ' Tests Package Suffix' attribute |
protected static java.lang.String |
UTILITY_PACKAGE_SUFFIX_EDEFAULT
The default value of the ' Utility Package Suffix' attribute |
protected java.lang.String |
utilityPackageSuffix
The cached value of the ' Utility Package Suffix' attribute |
protected static java.lang.String |
XSD2ECORE_URI
|
| Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
|---|
DEFAULT_ANNOTATION_FILTER, EMPTY_URI, genAnnotations, PLATFORM_RESOURCE_URI |
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
| Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
GenPackageImpl()
|
| Method Summary | |
|---|---|
EPackage |
basicGetEcorePackage()
|
NotificationChain |
basicSetGenModel(GenModel newGenModel,
NotificationChain msgs)
|
boolean |
canGenerateSchema()
Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2. |
boolean |
canGenerateTests()
|
void |
clearCache()
Clear the cache for unique naming information. |
protected void |
collectPackages(java.util.List<GenPackage> result,
java.util.List<GenPackage> genPackages,
int depth)
Collects into result nested GenPackages to the specified depth, not counting those without classifiers (for which nothing is ever generated); -1 for no limit. |
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
void |
generate(Monitor progressMonitor)
Deprecated. In EMF 2.2, a Generator should be used to generate code.
This method will be removed after 2.2. |
void |
generateEdit(Monitor progressMonitor)
Deprecated. In EMF 2.2, a Generator should be used to generate code.
This method will be removed after 2.2. |
void |
generateEditor(Monitor progressMonitor)
Deprecated. In EMF 2.2, a Generator should be used to generate code.
This method will be removed after 2.2. |
void |
generatePackageSerialization(Monitor progressMonitor)
Deprecated. In EMF 2.2, a Generator should be used to generate code.
This method will be removed after 2.2. |
void |
generateSchema()
Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2. |
void |
generateSchema(Monitor progressMonitor)
Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2. |
void |
generateTests(Monitor progressMonitor)
Deprecated. In EMF 2.2, a Generator should be used to generate code.
This method will be removed after 2.2. |
protected void |
generateXSD(java.lang.String type)
Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2. |
java.lang.String |
getActionBarContributorClassName()
|
java.util.List<GenPackage> |
getAdapterDelegatePackages()
|
java.util.List<GenClass> |
getAdapterDelegateSuperClasses()
|
java.lang.String |
getAdapterFactoryClassName()
|
java.lang.String |
getAdapterFactoryDelegateName(GenPackage genDelegate)
|
java.util.List<EAnnotation> |
getAllAnnotations()
|
java.util.List<GenDataType> |
getAllGenDataTypes()
|
java.util.List<GenFeature> |
getAllGenFeatures()
|
java.util.List<EAnnotation> |
getAllNestedAnnotations(EAnnotation eAnnotation)
|
java.util.List<GenClass> |
getAllSwitchGenClasses()
|
java.util.List<GenPackage> |
getAllValidatorBaseGenPackages()
|
java.lang.String |
getAnnotatedModelElementAccessor(EAnnotation eAnnotation)
|
java.lang.String |
getAnnotationSourceIdentifier(java.lang.String annotationSource)
|
java.util.List<java.lang.String> |
getAnnotationSources()
|
java.lang.String |
getBasePackage()
Returns the value of the 'Base Package' attribute |
java.lang.String |
getBasePackageGen()
|
java.lang.String |
getBasicPackageName()
Returns the name of the single package class generated when interfaces are suppressed. |
java.lang.String |
getCapPackageID()
|
java.lang.String |
getChildCreationExtenderName(GenPackage genPackage)
|
java.lang.String |
getClassifierID(GenClassifier genClassifier)
|
int |
getClassifierValue(GenClassifier genClassifier)
|
java.lang.String |
getClassPackageName()
|
java.lang.String |
getClassPackageSuffix()
|
java.lang.String |
getClassUniqueName(GenClass genClass)
|
java.lang.String |
getContentTypeIdentifier()
|
GenClass |
getDocumentRoot()
|
EModelElement |
getEcoreModelElement()
|
EPackage |
getEcorePackage()
|
java.lang.String |
getEditorClassName()
|
java.lang.String |
getEditorPluginClassName()
|
java.lang.String |
getEditPluginClassName()
|
java.lang.String |
getExampleClassName()
|
java.util.Map<GenPackage,java.util.Map<GenClass,java.util.List<GenClass.ChildCreationData>>> |
getExtendedChildCreationData()
Returns a nested map structure describing the child creation extensions that this package provides to other packages. |
java.lang.String |
getFactoryClassName()
|
java.lang.String |
getFactoryInstanceName()
|
java.lang.String |
getFactoryInterfaceName()
|
java.lang.String |
getFactoryName()
Returns the name of the single factory class generated when interfaces are suppressed. |
java.lang.String |
getFileExtension()
Returns the first file extension in the comma-separated list. |
java.lang.String |
getFileExtensions()
Returns the value of the 'File Extensions' attribute |
java.lang.String |
getFileExtensionsGen()
|
java.util.List<GenFeature> |
getFilteredAllGenFeatures()
|
EList<GenClass> |
getGenClasses()
|
EList<GenClassifier> |
getGenClassifiers()
|
EList<GenDataType> |
getGenDataTypes()
|
EList<GenEnum> |
getGenEnums()
|
GenModel |
getGenModel()
Returns the value of the 'Gen Model' container reference. |
GenModel |
getGenModelGen()
Deprecated. |
java.lang.String |
getImportedActionBarContributorClassName()
|
java.lang.String |
getImportedAdapterFactoryClassName()
|
java.lang.String |
getImportedEditorClassName()
|
java.lang.String |
getImportedEditorPluginClassName()
|
java.lang.String |
getImportedEditPluginClassName()
|
java.lang.String |
getImportedFactoryClassName()
|
java.lang.String |
getImportedFactoryInterfaceName()
|
java.lang.String |
getImportedItemProviderAdapterFactoryClassName()
|
java.lang.String |
getImportedModelWizardClassName()
|
java.lang.String |
getImportedPackageClassName()
|
java.lang.String |
getImportedPackageInterfaceName()
|
java.lang.String |
getImportedResourceBaseClassName()
|
java.lang.String |
getImportedResourceClassName()
|
java.lang.String |
getImportedResourceFactoryBaseClassName()
|
java.lang.String |
getImportedResourceFactoryClassName()
|
java.lang.String |
getImportedTestSuiteClassName()
|
java.lang.String |
getImportedValidatorClassName()
|
java.lang.String |
getImportedXMLProcessorBaseClassName()
|
java.lang.String |
getInterfacePackageName()
|
java.lang.String |
getInterfacePackageSuffix()
|
java.lang.String |
getItemProviderAdapterFactoryClassName()
|
java.util.List<java.lang.String> |
getJavaLangConflicts()
|
int |
getLocalClassifierIndex(GenClassifier genClassifier)
|
java.lang.String |
getMetaDataPackageSuffix()
|
java.lang.String |
getModelIconFileName()
|
java.lang.String |
getModelInfo()
|
java.lang.String |
getModelWizardClassName()
|
java.lang.String |
getModelWizardIconFileName()
|
java.lang.String |
getName()
|
EList<GenPackage> |
getNestedGenPackages()
|
java.lang.String |
getNSName()
|
java.lang.String |
getNSURI()
|
java.util.List<GenClass> |
getOrderedGenClasses()
Returns the list of GenClasses in the GenPackage, ordered such that a class always follows all of the classes it extends. |
java.util.List<GenClassifier> |
getOrderedGenClassifiers()
|
java.util.List<GenPackage> |
getPackageBuildInterDependencies()
|
java.lang.String |
getPackageClassName()
|
java.lang.String |
getPackageID()
|
java.util.List<GenPackage> |
getPackageInitializationDependencies()
|
java.lang.String |
getPackageInstanceVariable(GenPackage genPackage)
|
java.util.List<GenPackage> |
getPackageInterDependencies()
|
java.lang.String |
getPackageInterfaceName()
|
java.util.List<GenPackage> |
getPackageLoadInterDependencies()
|
java.lang.String |
getPackageName()
|
java.util.List<GenPackage> |
getPackageSimpleDependencies()
|
java.lang.String |
getPrefix()
Returns the value of the 'Prefix' attribute |
protected java.lang.String |
getPrefixedName(java.lang.String name)
|
java.lang.String |
getPrefixGen()
|
java.lang.String |
getPresentationPackageName()
|
java.lang.String |
getPresentationPackageSuffix()
|
java.lang.String |
getProviderPackageName()
|
java.lang.String |
getProviderPackageSuffix()
|
java.util.List<java.lang.String> |
getProviderSupportedTypes()
|
java.lang.String |
getQualifiedActionBarContributorClassName()
|
java.lang.String |
getQualifiedAdapterFactoryClassName()
|
java.lang.String |
getQualifiedContentTypeIdentifier()
Returns the qualified content type identifier. |
java.lang.String |
getQualifiedEditorClassName()
|
java.lang.String |
getQualifiedEditorPluginClassName()
|
java.lang.String |
getQualifiedEditPluginClassName()
|
java.lang.String |
getQualifiedEFactoryInstanceAccessor()
|
java.lang.String |
getQualifiedEFactoryInternalInstanceAccessor()
|
java.lang.String |
getQualifiedEffectiveResourceFactoryClassName()
Returns the package's resource factory class name, or the framework's
default XMI resource factory class name if no resource will be generated for the package. |
java.lang.String |
getQualifiedExampleClassName()
|
java.lang.String |
getQualifiedFactoryClassName()
|
java.lang.String |
getQualifiedFactoryInstanceAccessor()
|
java.lang.String |
getQualifiedFactoryInterfaceName()
|
java.lang.String |
getQualifiedItemProviderAdapterFactoryClassName()
|
java.lang.String |
getQualifiedModelWizardClassName()
|
java.lang.String |
getQualifiedPackageClassName()
|
java.lang.String |
getQualifiedPackageInterfaceName()
|
java.lang.String |
getQualifiedPackageName()
|
protected java.lang.String |
getQualifiedPackageName(java.lang.String suffix)
|
java.lang.String |
getQualifiedResourceClassName()
|
java.lang.String |
getQualifiedResourceFactoryClassName()
|
java.lang.String |
getQualifiedSwitchClassName()
|
java.lang.String |
getQualifiedTestSuiteClassName()
|
java.lang.String |
getQualifiedValidatorClassName()
|
java.lang.String |
getQualifiedXMLProcessorClassName()
|
java.util.List<GenPackage.AnnotationReferenceData> |
getReferenceData(EAnnotation eAnnotation)
|
java.lang.String |
getReflectionClassPackageName()
|
java.lang.String |
getReflectionPackageName()
|
GenResourceKind |
getResource()
|
java.lang.String |
getResourceClassName()
|
java.lang.String |
getResourceFactoryClassName()
|
GenClass |
getRootClass()
|
GenFeature |
getRootFeature()
|
GenPackage |
getRootGenPackage()
Returns the top-most GenPackage-typed container for which hasClassifiers() is true, which may be this GenPackage, itself. |
java.lang.String |
getSerializedPackageFilename()
|
java.util.List<GenPackage> |
getSubGenPackages()
Returns a list of those nestedGenPackages for which hasClassifiers() is true. |
GenPackage |
getSuperGenPackage()
Returns the closest GenPackage-typed container for which hasClassifiers() is true, or null if there is none. |
java.lang.String |
getSwitchClassName()
|
java.lang.String |
getTestsPackageName()
|
java.lang.String |
getTestsPackageSuffix()
|
java.lang.String |
getTestSuiteClassName()
|
java.lang.String |
getUncapAdapterFactoryClassName()
|
java.lang.String |
getUncapAdapterFactoryDelegateName(GenPackage genDelegate)
|
java.lang.String |
getUncapFactoryInterfaceName()
|
java.lang.String |
getUncapFactoryName()
|
java.lang.String |
getUncapPackageInterfaceName()
|
java.lang.String |
getUncapPackageName()
|
java.lang.String |
getUtilitiesPackageName()
|
java.lang.String |
getUtilityPackageSuffix()
|
java.lang.String |
getValidatorClassName()
|
java.lang.String |
getValidatorPackageUniqueSafeName(GenPackage genPackage)
|
java.lang.String |
getXMLProcessorClassName()
|
boolean |
hasClassifiers()
|
boolean |
hasClassifiers(boolean traverseNestedPackages)
|
boolean |
hasConcreteClasses()
|
boolean |
hasConstraints()
|
boolean |
hasDocumentRoot()
|
boolean |
hasExtendedMetaData()
|
protected static boolean |
hasExtendedMetaData(EPackage ePackage)
|
boolean |
hasInterfaceImplConflict()
|
boolean |
hasJavaLangConflict()
|
protected boolean |
hasModelContribution()
|
boolean |
hasStatefulProvider()
|
boolean |
hasTargetNamespace()
|
boolean |
hasTests()
|
boolean |
hasXMLMap()
|
void |
initialize(EPackage ePackage)
|
boolean |
isAdapterFactory()
|
protected boolean |
isBigModel()
|
boolean |
isChildCreationExtenders()
|
boolean |
isContentType()
Returns whether the package should define a content type. |
boolean |
isDataTypeConverters()
|
boolean |
isDisposableProviderFactory()
|
boolean |
isEcorePackage()
|
boolean |
isExtensibleProviderFactory()
|
boolean |
isGenerateExampleClass()
|
boolean |
isGenerateModelWizard()
|
boolean |
isLiteralsInterface()
|
boolean |
isLoadedInitialization()
Returns true if this package's root, which may be itself, requires, or has a subpackage that requires, load initialization. |
boolean |
isLoadingInitialization()
Returns true if this is a root package that requires, or has a direct or indirect subpackage that requires, load initialization. |
boolean |
isLoadInitialization()
|
boolean |
isMultipleEditorPages()
|
boolean |
isMultipleFileExtensions()
Returns whether the model supports multiple file extensions, based both on the specified extensions and the use of a content type. |
boolean |
isXMIResource()
Returns whether the package's resource produces an XMI serialization. |
void |
prepareCache()
Create helpers to cache and supply information for unique naming. |
boolean |
reconcile()
|
boolean |
reconcile(GenPackage oldGenPackageVersion)
|
protected void |
reconcileSettings(GenPackage oldGenPackageVersion)
|
void |
setAdapterFactory(boolean newAdapterFactory)
|
void |
setBasePackage(java.lang.String newBasePackage)
|
void |
setChildCreationExtenders(boolean newChildCreationExtenders)
|
void |
setClassPackageSuffix(java.lang.String newClassPackageSuffix)
|
void |
setContentTypeIdentifier(java.lang.String newContentTypeIdentifier)
|
void |
setDataTypeConverters(boolean newDataTypeConverters)
|
void |
setDisposableProviderFactory(boolean newDisposableProviderFactory)
|
void |
setEcorePackage(EPackage newEcorePackage)
|
void |
setExtensibleProviderFactory(boolean newExtensibleProviderFactory)
|
void |
setFileExtensions(java.lang.String newFileExtensions)
|
void |
setGenerateExampleClass(boolean newGenerateExampleClass)
|
void |
setGenerateModelWizard(boolean newGenerateModelWizard)
|
void |
setGenModel(GenModel newGenModel)
|
void |
setInterfacePackageSuffix(java.lang.String newInterfacePackageSuffix)
|
void |
setLiteralsInterface(boolean newLiteralsInterface)
|
void |
setLoadInitialization(boolean newLoadInitialization)
|
void |
setMetaDataPackageSuffix(java.lang.String newMetaDataPackageSuffix)
|
void |
setMultipleEditorPages(boolean newMultipleEditorPages)
|
void |
setPrefix(java.lang.String newPrefix)
|
void |
setPresentationPackageSuffix(java.lang.String newPresentationPackageSuffix)
|
void |
setProviderPackageSuffix(java.lang.String newProviderPackageSuffix)
|
void |
setResource(GenResourceKind newResource)
|
void |
setTestsPackageSuffix(java.lang.String newTestsPackageSuffix)
|
void |
setUtilityPackageSuffix(java.lang.String newUtilityPackageSuffix)
|
java.lang.String |
toString()
|
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase |
|---|
canGenerate, canGenerateEdit, canGenerateEditor, capName, format, gen, genEdit, genEditor, generate, generateEdit, generateEditor, generateSchema, generateTests, genSchema, genTests, getCopyright, getDocumentation, getGenAnnotation, getGenAnnotations, hasCopyright, hasDocumentation, safeName, uncapName, uncapPrefixedName |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Field Detail |
|---|
protected static final java.lang.String XSD2ECORE_URI
protected static final java.lang.String PREFIX_EDEFAULT
Prefix' attribute.
getPrefix()protected java.lang.String prefix
Prefix' attribute.
getPrefix()protected static final java.lang.String BASE_PACKAGE_EDEFAULT
Base Package' attribute.
getBasePackage()protected java.lang.String basePackage
Base Package' attribute.
getBasePackage()protected static final GenResourceKind RESOURCE_EDEFAULT
Resource' attribute.
getResource()protected GenResourceKind resource
Resource' attribute.
getResource()protected static final boolean DISPOSABLE_PROVIDER_FACTORY_EDEFAULT
Disposable Provider Factory' attribute.
isDisposableProviderFactory(),
Constant Field Valuesprotected boolean disposableProviderFactory
Disposable Provider Factory' attribute.
isDisposableProviderFactory()protected static final boolean ADAPTER_FACTORY_EDEFAULT
Adapter Factory' attribute.
isAdapterFactory(),
Constant Field Valuesprotected boolean adapterFactory
Adapter Factory' attribute.
isAdapterFactory()protected static final boolean LOAD_INITIALIZATION_EDEFAULT
Load Initialization' attribute.
isLoadInitialization(),
Constant Field Valuesprotected boolean loadInitialization
Load Initialization' attribute.
isLoadInitialization()protected static final java.lang.String INTERFACE_PACKAGE_SUFFIX_EDEFAULT
Interface Package Suffix' attribute.
getInterfacePackageSuffix(),
Constant Field Valuesprotected java.lang.String interfacePackageSuffix
Interface Package Suffix' attribute.
getInterfacePackageSuffix()protected static final java.lang.String META_DATA_PACKAGE_SUFFIX_EDEFAULT
Meta Data Package Suffix' attribute.
getMetaDataPackageSuffix(),
Constant Field Valuesprotected java.lang.String metaDataPackageSuffix
Meta Data Package Suffix' attribute.
getMetaDataPackageSuffix()protected static final java.lang.String CLASS_PACKAGE_SUFFIX_EDEFAULT
Class Package Suffix' attribute.
getClassPackageSuffix(),
Constant Field Valuesprotected java.lang.String classPackageSuffix
Class Package Suffix' attribute.
getClassPackageSuffix()protected static final java.lang.String UTILITY_PACKAGE_SUFFIX_EDEFAULT
Utility Package Suffix' attribute.
getUtilityPackageSuffix(),
Constant Field Valuesprotected java.lang.String utilityPackageSuffix
Utility Package Suffix' attribute.
getUtilityPackageSuffix()protected static final java.lang.String PROVIDER_PACKAGE_SUFFIX_EDEFAULT
Provider Package Suffix' attribute.
getProviderPackageSuffix(),
Constant Field Valuesprotected java.lang.String providerPackageSuffix
Provider Package Suffix' attribute.
getProviderPackageSuffix()protected static final java.lang.String PRESENTATION_PACKAGE_SUFFIX_EDEFAULT
Presentation Package Suffix' attribute.
getPresentationPackageSuffix(),
Constant Field Valuesprotected java.lang.String presentationPackageSuffix
Presentation Package Suffix' attribute.
getPresentationPackageSuffix()protected static final java.lang.String TESTS_PACKAGE_SUFFIX_EDEFAULT
Tests Package Suffix' attribute.
getTestsPackageSuffix(),
Constant Field Valuesprotected java.lang.String testsPackageSuffix
Tests Package Suffix' attribute.
getTestsPackageSuffix()protected static final boolean GENERATE_EXAMPLE_CLASS_EDEFAULT
Generate Example Class' attribute.
isGenerateExampleClass(),
Constant Field Valuesprotected boolean generateExampleClass
Generate Example Class' attribute.
isGenerateExampleClass()protected static final boolean LITERALS_INTERFACE_EDEFAULT
Literals Interface' attribute.
isLiteralsInterface(),
Constant Field Valuesprotected boolean literalsInterface
Literals Interface' attribute.
isLiteralsInterface()protected static final boolean DATA_TYPE_CONVERTERS_EDEFAULT
Data Type Converters' attribute.
isDataTypeConverters(),
Constant Field Valuesprotected boolean dataTypeConverters
Data Type Converters' attribute.
isDataTypeConverters()protected static final boolean MULTIPLE_EDITOR_PAGES_EDEFAULT
Multiple Editor Pages' attribute.
isMultipleEditorPages(),
Constant Field Valuesprotected boolean multipleEditorPages
Multiple Editor Pages' attribute.
isMultipleEditorPages()protected static final boolean GENERATE_MODEL_WIZARD_EDEFAULT
Generate Model Wizard' attribute.
isGenerateModelWizard(),
Constant Field Valuesprotected boolean generateModelWizard
Generate Model Wizard' attribute.
isGenerateModelWizard()protected static final boolean EXTENSIBLE_PROVIDER_FACTORY_EDEFAULT
Extensible Provider Factory' attribute.
isExtensibleProviderFactory(),
Constant Field Valuesprotected boolean extensibleProviderFactory
Extensible Provider Factory' attribute.
isExtensibleProviderFactory()protected static final boolean CHILD_CREATION_EXTENDERS_EDEFAULT
Child Creation Extenders' attribute.
isChildCreationExtenders(),
Constant Field Valuesprotected boolean childCreationExtenders
Child Creation Extenders' attribute.
isChildCreationExtenders()protected static final java.lang.String CONTENT_TYPE_IDENTIFIER_EDEFAULT
Content Type Identifier' attribute.
getContentTypeIdentifier()protected java.lang.String contentTypeIdentifier
Content Type Identifier' attribute.
getContentTypeIdentifier()protected static final java.lang.String FILE_EXTENSIONS_EDEFAULT
File Extensions' attribute.
getFileExtensions()protected java.lang.String fileExtensions
File Extensions' attribute.
getFileExtensions()protected EPackage ecorePackage
Ecore Package' reference.
getEcorePackage()protected EList<GenEnum> genEnums
Gen Enums' containment reference list.
getGenEnums()protected EList<GenDataType> genDataTypes
Gen Data Types' containment reference list.
getGenDataTypes()protected EList<GenClass> genClasses
Gen Classes' containment reference list.
getGenClasses()protected EList<GenPackage> nestedGenPackages
Nested Gen Packages' containment reference list.
getNestedGenPackages()protected static final boolean NO_CONSTRAINTS
| Constructor Detail |
|---|
protected GenPackageImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class GenBaseImplpublic java.lang.String getPrefixGen()
public java.lang.String getPrefix()
GenPackage
getPrefix in interface GenPackageGenPackage.setPrefix(String),
GenModelPackage.getGenPackage_Prefix()public void setPrefix(java.lang.String newPrefix)
setPrefix in interface GenPackagenewPrefix - the new value of the 'Prefix' attribute.GenPackage.getPrefix()public java.lang.String getBasePackageGen()
public java.lang.String getBasePackage()
GenPackage
getBasePackage in interface GenPackageGenPackage.setBasePackage(String),
GenModelPackage.getGenPackage_BasePackage()public void setBasePackage(java.lang.String newBasePackage)
setBasePackage in interface GenPackagenewBasePackage - the new value of the 'Base Package' attribute.GenPackage.getBasePackage()public GenResourceKind getResource()
getResource in interface GenPackageGenResourceKind,
GenPackage.setResource(GenResourceKind),
GenModelPackage.getGenPackage_Resource()public void setResource(GenResourceKind newResource)
setResource in interface GenPackagenewResource - the new value of the 'Resource' attribute.GenResourceKind,
GenPackage.getResource()public boolean isDisposableProviderFactory()
isDisposableProviderFactory in interface GenPackageGenPackage.setDisposableProviderFactory(boolean),
GenModelPackage.getGenPackage_DisposableProviderFactory()public void setDisposableProviderFactory(boolean newDisposableProviderFactory)
setDisposableProviderFactory in interface GenPackagenewDisposableProviderFactory - the new value of the 'Disposable Provider Factory' attribute.GenPackage.isDisposableProviderFactory()public boolean isAdapterFactory()
isAdapterFactory in interface GenPackageGenPackage.setAdapterFactory(boolean),
GenModelPackage.getGenPackage_AdapterFactory()public void setAdapterFactory(boolean newAdapterFactory)
setAdapterFactory in interface GenPackagenewAdapterFactory - the new value of the 'Adapter Factory' attribute.GenPackage.isAdapterFactory()public boolean isLoadInitialization()
isLoadInitialization in interface GenPackageGenPackage.setLoadInitialization(boolean),
GenModelPackage.getGenPackage_LoadInitialization()public void setLoadInitialization(boolean newLoadInitialization)
setLoadInitialization in interface GenPackagenewLoadInitialization - the new value of the 'Load Initialization' attribute.GenPackage.isLoadInitialization()public java.lang.String getInterfacePackageSuffix()
getInterfacePackageSuffix in interface GenPackageGenPackage.setInterfacePackageSuffix(String),
GenModelPackage.getGenPackage_InterfacePackageSuffix()public void setInterfacePackageSuffix(java.lang.String newInterfacePackageSuffix)
setInterfacePackageSuffix in interface GenPackagenewInterfacePackageSuffix - the new value of the 'Interface Package Suffix' attribute.GenPackage.getInterfacePackageSuffix()public java.lang.String getMetaDataPackageSuffix()
getMetaDataPackageSuffix in interface GenPackageGenPackage.setMetaDataPackageSuffix(String),
GenModelPackage.getGenPackage_MetaDataPackageSuffix()public void setMetaDataPackageSuffix(java.lang.String newMetaDataPackageSuffix)
setMetaDataPackageSuffix in interface GenPackagenewMetaDataPackageSuffix - the new value of the 'Meta Data Package Suffix' attribute.GenPackage.getMetaDataPackageSuffix()public java.lang.String getClassPackageSuffix()
getClassPackageSuffix in interface GenPackageGenPackage.setClassPackageSuffix(String),
GenModelPackage.getGenPackage_ClassPackageSuffix()public void setClassPackageSuffix(java.lang.String newClassPackageSuffix)
setClassPackageSuffix in interface GenPackagenewClassPackageSuffix - the new value of the 'Class Package Suffix' attribute.GenPackage.getClassPackageSuffix()public java.lang.String getUtilityPackageSuffix()
getUtilityPackageSuffix in interface GenPackageGenPackage.setUtilityPackageSuffix(String),
GenModelPackage.getGenPackage_UtilityPackageSuffix()public void setUtilityPackageSuffix(java.lang.String newUtilityPackageSuffix)
setUtilityPackageSuffix in interface GenPackagenewUtilityPackageSuffix - the new value of the 'Utility Package Suffix' attribute.GenPackage.getUtilityPackageSuffix()public java.lang.String getProviderPackageSuffix()
getProviderPackageSuffix in interface GenPackageGenPackage.setProviderPackageSuffix(String),
GenModelPackage.getGenPackage_ProviderPackageSuffix()public void setProviderPackageSuffix(java.lang.String newProviderPackageSuffix)
setProviderPackageSuffix in interface GenPackagenewProviderPackageSuffix - the new value of the 'Provider Package Suffix' attribute.GenPackage.getProviderPackageSuffix()public java.lang.String getPresentationPackageSuffix()
getPresentationPackageSuffix in interface GenPackageGenPackage.setPresentationPackageSuffix(String),
GenModelPackage.getGenPackage_PresentationPackageSuffix()public void setPresentationPackageSuffix(java.lang.String newPresentationPackageSuffix)
setPresentationPackageSuffix in interface GenPackagenewPresentationPackageSuffix - the new value of the 'Presentation Package Suffix' attribute.GenPackage.getPresentationPackageSuffix()public java.lang.String getTestsPackageSuffix()
getTestsPackageSuffix in interface GenPackageGenPackage.setTestsPackageSuffix(String),
GenModelPackage.getGenPackage_TestsPackageSuffix()public void setTestsPackageSuffix(java.lang.String newTestsPackageSuffix)
setTestsPackageSuffix in interface GenPackagenewTestsPackageSuffix - the new value of the 'Tests Package Suffix' attribute.GenPackage.getTestsPackageSuffix()public boolean isGenerateExampleClass()
isGenerateExampleClass in interface GenPackageGenPackage.setGenerateExampleClass(boolean),
GenModelPackage.getGenPackage_GenerateExampleClass()public void setGenerateExampleClass(boolean newGenerateExampleClass)
setGenerateExampleClass in interface GenPackagenewGenerateExampleClass - the new value of the 'Generate Example Class' attribute.GenPackage.isGenerateExampleClass()public boolean isLiteralsInterface()
isLiteralsInterface in interface GenPackageGenPackage.setLiteralsInterface(boolean),
GenModelPackage.getGenPackage_LiteralsInterface()public void setLiteralsInterface(boolean newLiteralsInterface)
setLiteralsInterface in interface GenPackagenewLiteralsInterface - the new value of the 'Literals Interface' attribute.GenPackage.isLiteralsInterface()public boolean isDataTypeConverters()
isDataTypeConverters in interface GenPackageGenPackage.setDataTypeConverters(boolean),
GenModelPackage.getGenPackage_DataTypeConverters()public void setDataTypeConverters(boolean newDataTypeConverters)
setDataTypeConverters in interface GenPackagenewDataTypeConverters - the new value of the 'Data Type Converters' attribute.GenPackage.isDataTypeConverters()public boolean isMultipleEditorPages()
isMultipleEditorPages in interface GenPackageGenPackage.setMultipleEditorPages(boolean),
GenModelPackage.getGenPackage_MultipleEditorPages()public void setMultipleEditorPages(boolean newMultipleEditorPages)
setMultipleEditorPages in interface GenPackagenewMultipleEditorPages - the new value of the 'Multiple Editor Pages' attribute.GenPackage.isMultipleEditorPages()public boolean isGenerateModelWizard()
isGenerateModelWizard in interface GenPackageGenPackage.setGenerateModelWizard(boolean),
GenModelPackage.getGenPackage_GenerateModelWizard()public void setGenerateModelWizard(boolean newGenerateModelWizard)
setGenerateModelWizard in interface GenPackagenewGenerateModelWizard - the new value of the 'Generate Model Wizard' attribute.GenPackage.isGenerateModelWizard()public boolean isExtensibleProviderFactory()
isExtensibleProviderFactory in interface GenPackageGenPackage.setExtensibleProviderFactory(boolean),
GenModelPackage.getGenPackage_ExtensibleProviderFactory()public void setExtensibleProviderFactory(boolean newExtensibleProviderFactory)
setExtensibleProviderFactory in interface GenPackagenewExtensibleProviderFactory - the new value of the 'Extensible Provider Factory' attribute.GenPackage.isExtensibleProviderFactory()public boolean isChildCreationExtenders()
isChildCreationExtenders in interface GenPackageGenPackage.setChildCreationExtenders(boolean),
GenModelPackage.getGenPackage_ChildCreationExtenders()public void setChildCreationExtenders(boolean newChildCreationExtenders)
setChildCreationExtenders in interface GenPackagenewChildCreationExtenders - the new value of the 'Child Creation Extenders' attribute.GenPackage.isChildCreationExtenders()public java.lang.String getContentTypeIdentifier()
getContentTypeIdentifier in interface GenPackageGenPackage.setContentTypeIdentifier(String),
GenModelPackage.getGenPackage_ContentTypeIdentifier()public void setContentTypeIdentifier(java.lang.String newContentTypeIdentifier)
setContentTypeIdentifier in interface GenPackagenewContentTypeIdentifier - the new value of the 'Content Type Identifier' attribute.GenPackage.getContentTypeIdentifier()public java.lang.String getFileExtensionsGen()
public java.lang.String getFileExtensions()
GenPackage
The file extensions against which to register the resource factory for this package. Multiple extensions can be
specified as a comma-separated list, but only if this package defines a content type.
This will always return a non-null string. The default (returned after the attribute is set to null) is based on
the GenPackage.getPrefix().
getFileExtensions in interface GenPackageGenPackage.setFileExtensions(String),
GenModelPackage.getGenPackage_FileExtensions()public void setFileExtensions(java.lang.String newFileExtensions)
setFileExtensions in interface GenPackagenewFileExtensions - the new value of the 'File Extensions' attribute.GenPackage.getFileExtensions()public EModelElement getEcoreModelElement()
getEcoreModelElement in interface GenBasegetEcoreModelElement in class GenBaseImplpublic EPackage getEcorePackage()
getEcorePackage in interface GenPackageGenPackage.setEcorePackage(EPackage),
GenModelPackage.getGenPackage_EcorePackage()public EPackage basicGetEcorePackage()
public void setEcorePackage(EPackage newEcorePackage)
setEcorePackage in interface GenPackagenewEcorePackage - the new value of the 'Ecore Package' reference.GenPackage.getEcorePackage()public GenModel getGenModel()
GenPackageGen Packages'.
getGenModel in interface GenBasegetGenModel in interface GenPackagegetGenModel in class GenBaseImplGenPackage.setGenModel(GenModel),
GenModelPackage.getGenPackage_GenModel(),
GenModel.getGenPackages()@Deprecated public GenModel getGenModelGen()
public NotificationChain basicSetGenModel(GenModel newGenModel,
NotificationChain msgs)
public void setGenModel(GenModel newGenModel)
setGenModel in interface GenPackagenewGenModel - the new value of the 'Gen Model' container reference.GenPackage.getGenModel()public EList<GenEnum> getGenEnums()
getGenEnums in interface GenPackageGenModelPackage.getGenPackage_GenEnums()public EList<GenDataType> getGenDataTypes()
getGenDataTypes in interface GenPackageGenModelPackage.getGenPackage_GenDataTypes()public EList<GenClass> getGenClasses()
getGenClasses in interface GenPackageGenModelPackage.getGenPackage_GenClasses()public EList<GenPackage> getNestedGenPackages()
getNestedGenPackages in interface GenPackageGenModelPackage.getGenPackage_NestedGenPackages()public EList<GenClassifier> getGenClassifiers()
getGenClassifiers in interface GenPackageGenModelPackage.getGenPackage_GenClassifiers(),
GenClassifier.getGenPackage()
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseAdd in class GenBaseImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class GenBaseImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature in class BasicEObjectImpl
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class GenBaseImplInternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class GenBaseImplEObject.eSet(EStructuralFeature, Object)public void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class GenBaseImplEObject.eUnset(EStructuralFeature)public boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class GenBaseImplEObject.eIsSet(EStructuralFeature)public java.lang.String toString()
toString in class BasicEObjectImplpublic java.lang.String getName()
getName in class GenBaseImplpublic java.lang.String getPackageName()
getPackageName in interface GenPackagepublic java.lang.String getInterfacePackageName()
getInterfacePackageName in interface GenPackagepublic java.lang.String getReflectionPackageName()
getReflectionPackageName in interface GenPackagepublic java.lang.String getReflectionClassPackageName()
getReflectionClassPackageName in interface GenPackagepublic java.lang.String getClassPackageName()
getClassPackageName in interface GenPackagepublic java.lang.String getUtilitiesPackageName()
getUtilitiesPackageName in interface GenPackagepublic java.lang.String getTestsPackageName()
getTestsPackageName in interface GenPackagepublic java.lang.String getPackageID()
public java.lang.String getNSName()
getNSName in interface GenPackagepublic java.lang.String getNSURI()
getNSURI in interface GenPackagepublic java.lang.String getBasicPackageName()
GenPackageprefix, with "Package" appended.
This method is analagous to GenPackage.getFactoryName() and would be called
getPackageName() if that name were not already taken.
getBasicPackageName in interface GenPackagepublic java.lang.String getUncapPackageName()
getUncapPackageName in interface GenPackagepublic java.lang.String getPackageInterfaceName()
getPackageInterfaceName in interface GenPackagepublic java.lang.String getQualifiedPackageInterfaceName()
getQualifiedPackageInterfaceName in interface GenPackagepublic java.lang.String getImportedPackageInterfaceName()
getImportedPackageInterfaceName in interface GenPackagepublic java.lang.String getUncapPackageInterfaceName()
getUncapPackageInterfaceName in interface GenPackagepublic java.lang.String getPackageClassName()
getPackageClassName in interface GenPackagepublic java.lang.String getQualifiedPackageClassName()
getQualifiedPackageClassName in interface GenPackagepublic java.lang.String getImportedPackageClassName()
getImportedPackageClassName in interface GenPackagepublic java.lang.String getFactoryName()
GenPackageprefix, with "Factory" appended.
getFactoryName in interface GenPackagepublic java.lang.String getUncapFactoryName()
getUncapFactoryName in interface GenPackagepublic java.lang.String getFactoryInterfaceName()
getFactoryInterfaceName in interface GenPackagepublic java.lang.String getQualifiedFactoryInterfaceName()
getQualifiedFactoryInterfaceName in interface GenPackagepublic java.lang.String getImportedFactoryInterfaceName()
getImportedFactoryInterfaceName in interface GenPackagepublic java.lang.String getUncapFactoryInterfaceName()
getUncapFactoryInterfaceName in interface GenPackagepublic java.lang.String getFactoryClassName()
getFactoryClassName in interface GenPackagepublic java.lang.String getQualifiedFactoryClassName()
getQualifiedFactoryClassName in interface GenPackagepublic java.lang.String getImportedFactoryClassName()
getImportedFactoryClassName in interface GenPackagepublic java.lang.String getFactoryInstanceName()
getFactoryInstanceName in interface GenPackagepublic java.lang.String getQualifiedFactoryInstanceAccessor()
getQualifiedFactoryInstanceAccessor in interface GenPackagepublic java.lang.String getQualifiedEFactoryInstanceAccessor()
getQualifiedEFactoryInstanceAccessor in interface GenPackagepublic java.lang.String getQualifiedEFactoryInternalInstanceAccessor()
getQualifiedEFactoryInternalInstanceAccessor in interface GenPackagepublic java.lang.String getAdapterFactoryClassName()
getAdapterFactoryClassName in interface GenPackagepublic java.lang.String getQualifiedAdapterFactoryClassName()
getQualifiedAdapterFactoryClassName in interface GenPackagepublic java.lang.String getImportedAdapterFactoryClassName()
getImportedAdapterFactoryClassName in interface GenPackagepublic java.lang.String getUncapAdapterFactoryClassName()
getUncapAdapterFactoryClassName in interface GenPackagepublic java.lang.String getSwitchClassName()
getSwitchClassName in interface GenPackagepublic java.lang.String getQualifiedSwitchClassName()
getQualifiedSwitchClassName in interface GenPackagepublic java.lang.String getTestSuiteClassName()
getTestSuiteClassName in interface GenPackagepublic java.lang.String getQualifiedTestSuiteClassName()
getQualifiedTestSuiteClassName in interface GenPackagepublic java.lang.String getImportedTestSuiteClassName()
getImportedTestSuiteClassName in interface GenPackagepublic java.lang.String getExampleClassName()
getExampleClassName in interface GenPackagepublic java.lang.String getQualifiedExampleClassName()
getQualifiedExampleClassName in interface GenPackagepublic boolean hasConstraints()
hasConstraints in interface GenPackagepublic java.lang.String getValidatorClassName()
getValidatorClassName in interface GenPackagepublic java.lang.String getQualifiedValidatorClassName()
getQualifiedValidatorClassName in interface GenPackagepublic java.lang.String getImportedValidatorClassName()
getImportedValidatorClassName in interface GenPackagepublic java.lang.String getImportedXMLProcessorBaseClassName()
getImportedXMLProcessorBaseClassName in interface GenPackagepublic java.lang.String getQualifiedXMLProcessorClassName()
getQualifiedXMLProcessorClassName in interface GenPackagepublic java.lang.String getXMLProcessorClassName()
getXMLProcessorClassName in interface GenPackageprotected java.lang.String getPrefixedName(java.lang.String name)
public java.util.List<GenDataType> getAllGenDataTypes()
getAllGenDataTypes in interface GenPackagepublic java.util.List<GenClass> getOrderedGenClasses()
GenPackage
getOrderedGenClasses in interface GenPackagepublic java.util.List<GenClassifier> getOrderedGenClassifiers()
getOrderedGenClassifiers in interface GenPackagepublic java.lang.String getClassifierID(GenClassifier genClassifier)
getClassifierID in interface GenPackagepublic int getClassifierValue(GenClassifier genClassifier)
getClassifierValue in interface GenPackagepublic int getLocalClassifierIndex(GenClassifier genClassifier)
getLocalClassifierIndex in interface GenPackagepublic java.util.List<GenPackage> getPackageSimpleDependencies()
getPackageSimpleDependencies in interface GenPackagepublic java.util.List<GenPackage> getPackageInterDependencies()
getPackageInterDependencies in interface GenPackagepublic java.util.List<GenPackage> getPackageLoadInterDependencies()
getPackageLoadInterDependencies in interface GenPackagepublic java.util.List<GenPackage> getPackageBuildInterDependencies()
getPackageBuildInterDependencies in interface GenPackagepublic java.util.List<GenPackage> getPackageInitializationDependencies()
getPackageInitializationDependencies in interface GenPackagepublic java.lang.String getPackageInstanceVariable(GenPackage genPackage)
getPackageInstanceVariable in interface GenPackage
protected void collectPackages(java.util.List<GenPackage> result,
java.util.List<GenPackage> genPackages,
int depth)
public java.util.List<GenPackage> getSubGenPackages()
GenPackage
getSubGenPackages in interface GenPackagepublic GenPackage getSuperGenPackage()
GenPackage
getSuperGenPackage in interface GenPackagepublic GenPackage getRootGenPackage()
GenPackage
getRootGenPackage in interface GenPackagepublic boolean isLoadingInitialization()
GenPackage
isLoadingInitialization in interface GenPackagepublic boolean isLoadedInitialization()
GenPackage
isLoadedInitialization in interface GenPackagepublic boolean isEcorePackage()
isEcorePackage in interface GenPackagepublic boolean hasJavaLangConflict()
hasJavaLangConflict in interface GenPackagepublic java.util.List<java.lang.String> getJavaLangConflicts()
getJavaLangConflicts in interface GenPackagepublic boolean hasInterfaceImplConflict()
hasInterfaceImplConflict in interface GenPackagepublic java.util.List<GenClass> getAllSwitchGenClasses()
getAllSwitchGenClasses in interface GenPackagepublic java.lang.String getClassUniqueName(GenClass genClass)
getClassUniqueName in interface GenPackagepublic java.util.List<GenPackage> getAllValidatorBaseGenPackages()
getAllValidatorBaseGenPackages in interface GenPackagepublic java.lang.String getValidatorPackageUniqueSafeName(GenPackage genPackage)
getValidatorPackageUniqueSafeName in interface GenPackagepublic void initialize(EPackage ePackage)
initialize in interface GenPackageprotected boolean hasModelContribution()
hasModelContribution in class GenBaseImpl@Deprecated public void generate(Monitor progressMonitor)
Generator should be used to generate code.
This method will be removed after 2.2.
generate in interface GenBasegenerate in class GenBaseImplpublic void prepareCache()
prepareCache in interface GenPackagepublic void clearCache()
clearCache in interface GenPackage@Deprecated public void generateSchema()
generateSchema in interface GenPackage@Deprecated public boolean canGenerateSchema()
canGenerateSchema in interface GenBasecanGenerateSchema in class GenBaseImpl@Deprecated public void generateSchema(Monitor progressMonitor)
generateSchema in interface GenBasegenerateSchema in class GenBaseImpl@Deprecated protected void generateXSD(java.lang.String type)
@Deprecated public void generatePackageSerialization(Monitor progressMonitor)
Generator should be used to generate code.
This method will be removed after 2.2.
public java.lang.String getProviderPackageName()
getProviderPackageName in interface GenPackagepublic java.lang.String getPresentationPackageName()
getPresentationPackageName in interface GenPackageprotected java.lang.String getQualifiedPackageName(java.lang.String suffix)
public java.lang.String getQualifiedPackageName()
getQualifiedPackageName in interface GenPackagepublic java.lang.String getItemProviderAdapterFactoryClassName()
getItemProviderAdapterFactoryClassName in interface GenPackagepublic java.lang.String getQualifiedItemProviderAdapterFactoryClassName()
getQualifiedItemProviderAdapterFactoryClassName in interface GenPackagepublic java.lang.String getImportedItemProviderAdapterFactoryClassName()
getImportedItemProviderAdapterFactoryClassName in interface GenPackagepublic java.lang.String getEditorClassName()
getEditorClassName in interface GenPackagepublic java.lang.String getQualifiedEditorClassName()
getQualifiedEditorClassName in interface GenPackagepublic java.lang.String getImportedEditorClassName()
getImportedEditorClassName in interface GenPackagepublic java.lang.String getModelWizardClassName()
getModelWizardClassName in interface GenPackagepublic java.lang.String getQualifiedModelWizardClassName()
getQualifiedModelWizardClassName in interface GenPackagepublic java.lang.String getImportedModelWizardClassName()
getImportedModelWizardClassName in interface GenPackagepublic java.lang.String getActionBarContributorClassName()
getActionBarContributorClassName in interface GenPackagepublic java.lang.String getQualifiedActionBarContributorClassName()
getQualifiedActionBarContributorClassName in interface GenPackagepublic java.lang.String getImportedActionBarContributorClassName()
getImportedActionBarContributorClassName in interface GenPackagepublic java.lang.String getAdapterFactoryDelegateName(GenPackage genDelegate)
getAdapterFactoryDelegateName in interface GenPackagepublic java.lang.String getUncapAdapterFactoryDelegateName(GenPackage genDelegate)
getUncapAdapterFactoryDelegateName in interface GenPackagepublic java.lang.String getEditPluginClassName()
getEditPluginClassName in interface GenPackagepublic java.lang.String getQualifiedEditPluginClassName()
getQualifiedEditPluginClassName in interface GenPackagepublic java.lang.String getImportedEditPluginClassName()
getImportedEditPluginClassName in interface GenPackagepublic java.lang.String getEditorPluginClassName()
getEditorPluginClassName in interface GenPackagepublic java.lang.String getQualifiedEditorPluginClassName()
getQualifiedEditorPluginClassName in interface GenPackagepublic java.lang.String getImportedEditorPluginClassName()
getImportedEditorPluginClassName in interface GenPackagepublic java.lang.String getCapPackageID()
public java.util.List<GenFeature> getAllGenFeatures()
getAllGenFeatures in interface GenPackagepublic java.util.List<GenFeature> getFilteredAllGenFeatures()
public java.util.List<GenPackage> getAdapterDelegatePackages()
getAdapterDelegatePackages in interface GenPackagepublic java.util.List<GenClass> getAdapterDelegateSuperClasses()
getAdapterDelegateSuperClasses in interface GenPackagepublic boolean hasStatefulProvider()
hasStatefulProvider in interface GenPackage@Deprecated public void generateEdit(Monitor progressMonitor)
Generator should be used to generate code.
This method will be removed after 2.2.
generateEdit in interface GenBasegenerateEdit in class GenBaseImpl@Deprecated public void generateEditor(Monitor progressMonitor)
Generator should be used to generate code.
This method will be removed after 2.2.
generateEditor in interface GenBasegenerateEditor in class GenBaseImplpublic boolean hasTests()
hasTests in interface GenPackagepublic boolean canGenerateTests()
canGenerateTests in interface GenBasecanGenerateTests in class GenBaseImpl@Deprecated public void generateTests(Monitor progressMonitor)
Generator should be used to generate code.
This method will be removed after 2.2.
generateTests in interface GenBasegenerateTests in class GenBaseImplpublic java.lang.String getModelIconFileName()
getModelIconFileName in interface GenPackagepublic java.lang.String getModelWizardIconFileName()
getModelWizardIconFileName in interface GenPackagepublic boolean hasClassifiers()
hasClassifiers in interface GenPackagepublic boolean hasClassifiers(boolean traverseNestedPackages)
hasClassifiers in interface GenPackagepublic java.lang.String getModelInfo()
getModelInfo in interface GenPackagegetModelInfo in class GenBaseImplpublic boolean reconcile(GenPackage oldGenPackageVersion)
reconcile in interface GenPackageprotected void reconcileSettings(GenPackage oldGenPackageVersion)
public boolean reconcile()
reconcile in interface GenBasepublic java.util.List<java.lang.String> getAnnotationSources()
getAnnotationSources in interface GenPackagepublic java.lang.String getAnnotationSourceIdentifier(java.lang.String annotationSource)
getAnnotationSourceIdentifier in interface GenPackagepublic java.util.List<EAnnotation> getAllAnnotations()
getAllAnnotations in interface GenPackagepublic java.lang.String getAnnotatedModelElementAccessor(EAnnotation eAnnotation)
getAnnotatedModelElementAccessor in interface GenPackagepublic java.util.List<EAnnotation> getAllNestedAnnotations(EAnnotation eAnnotation)
getAllNestedAnnotations in interface GenPackagepublic java.util.List<GenPackage.AnnotationReferenceData> getReferenceData(EAnnotation eAnnotation)
getReferenceData in interface GenPackagepublic java.lang.String getResourceClassName()
getResourceClassName in interface GenPackagepublic java.lang.String getQualifiedResourceClassName()
getQualifiedResourceClassName in interface GenPackagepublic java.lang.String getImportedResourceClassName()
getImportedResourceClassName in interface GenPackagepublic java.lang.String getImportedResourceBaseClassName()
getImportedResourceBaseClassName in interface GenPackagepublic java.lang.String getResourceFactoryClassName()
getResourceFactoryClassName in interface GenPackagepublic java.lang.String getQualifiedResourceFactoryClassName()
getQualifiedResourceFactoryClassName in interface GenPackagepublic java.lang.String getImportedResourceFactoryClassName()
getImportedResourceFactoryClassName in interface GenPackagepublic java.lang.String getImportedResourceFactoryBaseClassName()
getImportedResourceFactoryBaseClassName in interface GenPackagepublic boolean hasDocumentRoot()
hasDocumentRoot in interface GenPackagepublic GenClass getDocumentRoot()
getDocumentRoot in interface GenPackagepublic boolean hasExtendedMetaData()
hasExtendedMetaData in interface GenPackageprotected static boolean hasExtendedMetaData(EPackage ePackage)
public boolean hasXMLMap()
hasXMLMap in interface GenPackagepublic boolean hasTargetNamespace()
hasTargetNamespace in interface GenPackagepublic java.lang.String getSerializedPackageFilename()
getSerializedPackageFilename in interface GenPackageprotected boolean isBigModel()
public java.util.List<java.lang.String> getProviderSupportedTypes()
getProviderSupportedTypes in interface GenPackagepublic GenClass getRootClass()
getRootClass in interface GenPackagepublic GenFeature getRootFeature()
getRootFeature in interface GenPackagepublic boolean hasConcreteClasses()
hasConcreteClasses in interface GenPackagepublic java.util.Map<GenPackage,java.util.Map<GenClass,java.util.List<GenClass.ChildCreationData>>> getExtendedChildCreationData()
GenPackage
getExtendedChildCreationData in interface GenPackagepublic java.lang.String getChildCreationExtenderName(GenPackage genPackage)
getChildCreationExtenderName in interface GenPackagepublic boolean isContentType()
GenPackage
isContentType in interface GenPackageGenPackage.getContentTypeIdentifier()public java.lang.String getQualifiedContentTypeIdentifier()
GenPackageGenPackage.getContentTypeIdentifier();
however, if that value is unqualified, this will add the implicit model plug-in ID qualification.
getQualifiedContentTypeIdentifier in interface GenPackageGenPackage.getContentTypeIdentifier()public boolean isXMIResource()
GenPackageresource produces an XMI serialization.
isXMIResource in interface GenPackageGenPackage.getResource()public java.lang.String getQualifiedEffectiveResourceFactoryClassName()
GenPackageresource factory class name, or the framework's
default XMI resource factory class name if no resource will be generated for the package.
getQualifiedEffectiveResourceFactoryClassName in interface GenPackageGenPackage.getQualifiedResourceFactoryClassName(),
GenPackage.getResource()public boolean isMultipleFileExtensions()
GenPackageextensions and the use of a content type.
isMultipleFileExtensions in interface GenPackageGenPackage.getFileExtensions(),
GenPackage.isContentType()public java.lang.String getFileExtension()
GenPackagefile extension in the comma-separated list.
getFileExtension in interface GenPackageGenPackage.getFileExtensions()
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||