org.eclipse.emf.codegen.ecore.genmodel
Interface GenPackage
- All Superinterfaces:
- EObject, GenBase, Notifier
- All Known Implementing Classes:
- GenPackageImpl
- public interface GenPackage
- extends GenBase
A representation of the model object 'Gen Package'.
The following features are supported:
- See Also:
GenModelPackage.getGenPackage()
Method Summary |
void |
clearCache()
|
void |
generateSchema()
Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2. |
String |
getActionBarContributorClassName()
|
List |
getAdapterDelegatePackages()
|
List |
getAdapterDelegateSuperClasses()
|
String |
getAdapterFactoryClassName()
|
String |
getAdapterFactoryDelegateName(GenPackage genDelegate)
|
List |
getAllAnnotations()
|
List |
getAllGenDataTypes()
|
List |
getAllGenFeatures()
|
List |
getAllNestedAnnotations(EAnnotation eAnnotation)
|
List |
getAllSwitchGenClasses()
|
List |
getAllValidatorBaseGenPackages()
|
String |
getAnnotatedModelElementAccessor(EAnnotation eAnnotation)
|
String |
getAnnotationSourceIdentifier(String annotationSource)
|
List |
getAnnotationSources()
|
String |
getBasePackage()
Returns the value of the 'Base Package' attribute |
String |
getClassifierID(GenClassifier genClassifier)
|
int |
getClassifierValue(GenClassifier genClassifier)
|
String |
getClassPackageName()
|
String |
getClassPackageSuffix()
Returns the value of the 'Class Package Suffix' attribute.
|
String |
getClassUniqueName(GenClass genClass)
|
GenClass |
getDocumentRoot()
|
EPackage |
getEcorePackage()
Returns the value of the 'Ecore Package' reference |
String |
getEditorClassName()
|
String |
getEditorPluginClassName()
|
String |
getEditPluginClassName()
|
String |
getExampleClassName()
|
String |
getFactoryClassName()
|
String |
getFactoryInstanceName()
|
String |
getFactoryInterfaceName()
|
EList |
getGenClasses()
Returns the value of the 'Gen Classes' containment reference list.
|
EList |
getGenClassifiers()
Returns the value of the 'Gen Classifiers' reference list.
|
EList |
getGenDataTypes()
Returns the value of the 'Gen Data Types' containment reference list.
|
EList |
getGenEnums()
Returns the value of the 'Gen Enums' containment reference list.
|
GenModel |
getGenModel()
Returns the value of the 'Gen Model' container reference.
|
String |
getImportedActionBarContributorClassName()
|
String |
getImportedAdapterFactoryClassName()
|
String |
getImportedEditorClassName()
|
String |
getImportedEditorPluginClassName()
|
String |
getImportedEditPluginClassName()
|
String |
getImportedFactoryClassName()
|
String |
getImportedFactoryInterfaceName()
|
String |
getImportedItemProviderAdapterFactoryClassName()
|
String |
getImportedModelWizardClassName()
|
String |
getImportedPackageClassName()
|
String |
getImportedPackageInterfaceName()
|
String |
getImportedResourceBaseClassName()
|
String |
getImportedResourceClassName()
|
String |
getImportedResourceFactoryBaseClassName()
|
String |
getImportedResourceFactoryClassName()
|
String |
getImportedTestSuiteClassName()
|
String |
getImportedValidatorClassName()
|
String |
getImportedXMLProcessorBaseClassName()
|
String |
getInterfacePackageName()
|
String |
getInterfacePackageSuffix()
Returns the value of the 'Interface Package Suffix' attribute.
|
String |
getItemProviderAdapterFactoryClassName()
|
List |
getJavaLangConflicts()
|
int |
getLocalClassifierIndex(GenClassifier genClassifier)
|
String |
getMetaDataPackageSuffix()
Returns the value of the 'Meta Data Package Suffix' attribute.
|
String |
getModelIconFileName()
|
String |
getModelInfo()
|
String |
getModelWizardClassName()
|
String |
getModelWizardIconFileName()
|
EList |
getNestedGenPackages()
Returns the value of the 'Nested Gen Packages' containment reference list.
|
String |
getNSName()
|
String |
getNSURI()
|
List |
getOrderedGenClasses()
Returns the list of GenClasses in the GenPackage, ordered such that
a class always follows all of the classes it extends. |
List |
getOrderedGenClassifiers()
|
List |
getPackageBuildInterDependencies()
|
String |
getPackageClassName()
|
List |
getPackageInitializationDependencies()
|
String |
getPackageInstanceVariable(GenPackage genPackage)
|
List |
getPackageInterDependencies()
|
String |
getPackageInterfaceName()
|
List |
getPackageLoadInterDependencies()
|
String |
getPackageName()
|
List |
getPackageSimpleDependencies()
|
String |
getPrefix()
Returns the value of the 'Prefix' attribute |
String |
getPresentationPackageName()
|
String |
getPresentationPackageSuffix()
Returns the value of the 'Presentation Package Suffix' attribute.
|
String |
getProviderPackageName()
|
String |
getProviderPackageSuffix()
Returns the value of the 'Provider Package Suffix' attribute.
|
List |
getProviderSupportedTypes()
|
String |
getQualifiedActionBarContributorClassName()
|
String |
getQualifiedAdapterFactoryClassName()
|
String |
getQualifiedEditorClassName()
|
String |
getQualifiedEditorPluginClassName()
|
String |
getQualifiedEditPluginClassName()
|
String |
getQualifiedEFactoryInstanceAccessor()
|
String |
getQualifiedEFactoryInternalInstanceAccessor()
|
String |
getQualifiedExampleClassName()
|
String |
getQualifiedFactoryClassName()
|
String |
getQualifiedFactoryInstanceAccessor()
|
String |
getQualifiedFactoryInterfaceName()
|
String |
getQualifiedItemProviderAdapterFactoryClassName()
|
String |
getQualifiedModelWizardClassName()
|
String |
getQualifiedPackageClassName()
|
String |
getQualifiedPackageInterfaceName()
|
String |
getQualifiedPackageName()
|
String |
getQualifiedResourceClassName()
|
String |
getQualifiedResourceFactoryClassName()
|
String |
getQualifiedSwitchClassName()
|
String |
getQualifiedTestSuiteClassName()
|
String |
getQualifiedValidatorClassName()
|
String |
getQualifiedXMLProcessorClassName()
|
String |
getReflectionClassPackageName()
|
String |
getReflectionPackageName()
|
GenResourceKind |
getResource()
Returns the value of the 'Resource' attribute.
|
String |
getResourceClassName()
|
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. |
String |
getSerializedPackageFilename()
|
List |
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. |
String |
getSwitchClassName()
|
String |
getTestsPackageName()
|
String |
getTestsPackageSuffix()
Returns the value of the 'Tests Package Suffix' attribute.
|
String |
getTestSuiteClassName()
|
String |
getUncapAdapterFactoryClassName()
|
String |
getUncapAdapterFactoryDelegateName(GenPackage genDelegate)
|
String |
getUncapFactoryInterfaceName()
|
String |
getUncapPackageInterfaceName()
|
String |
getUtilitiesPackageName()
|
String |
getUtilityPackageSuffix()
Returns the value of the 'Utility Package Suffix' attribute.
|
String |
getValidatorClassName()
|
String |
getValidatorPackageUniqueSafeName(GenPackage genPackage)
|
String |
getXMLProcessorClassName()
|
boolean |
hasClassifiers()
|
boolean |
hasClassifiers(boolean traverseNestedPackages)
|
boolean |
hasConcreteClasses()
|
boolean |
hasConstraints()
|
boolean |
hasDocumentRoot()
|
boolean |
hasExtendedMetaData()
|
boolean |
hasInterfaceImplConflict()
|
boolean |
hasJavaLangConflict()
|
boolean |
hasStatefulProvider()
|
boolean |
hasTargetNamespace()
|
boolean |
hasTests()
|
boolean |
hasXMLMap()
|
void |
initialize(EPackage ePackage)
|
boolean |
isAdapterFactory()
Returns the value of the 'Adapter Factory' attribute.
|
boolean |
isDataTypeConverters()
Returns the value of the 'Data Type Converters' attribute |
boolean |
isDisposableProviderFactory()
Returns the value of the 'Disposable Provider Factory' attribute |
boolean |
isEcorePackage()
|
boolean |
isGenerateExampleClass()
Returns the value of the 'Generate Example Class' attribute.
|
boolean |
isLiteralsInterface()
Returns the value of the 'Literals Interface' attribute.
|
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()
Returns the value of the 'Load Initialization' attribute |
boolean |
isMultipleEditorPages()
Returns the value of the 'Multiple Editor Pages' attribute.
|
void |
prepareCache()
|
boolean |
reconcile(GenPackage oldGenPackageVersion)
|
void |
setAdapterFactory(boolean value)
Sets the value of the 'Adapter Factory ' attribute |
void |
setBasePackage(String value)
Sets the value of the 'Base Package ' attribute |
void |
setClassPackageSuffix(String value)
Sets the value of the 'Class Package Suffix ' attribute |
void |
setDataTypeConverters(boolean value)
Sets the value of the 'Data Type Converters ' attribute |
void |
setDisposableProviderFactory(boolean value)
Sets the value of the 'Disposable Provider Factory ' attribute |
void |
setEcorePackage(EPackage value)
Sets the value of the 'Ecore Package ' reference |
void |
setGenerateExampleClass(boolean value)
Sets the value of the 'Generate Example Class ' attribute |
void |
setGenModel(GenModel value)
Sets the value of the 'Gen Model ' container reference |
void |
setInterfacePackageSuffix(String value)
Sets the value of the 'Interface Package Suffix ' attribute |
void |
setLiteralsInterface(boolean value)
Sets the value of the 'Literals Interface ' attribute |
void |
setLoadInitialization(boolean value)
Sets the value of the 'Load Initialization ' attribute |
void |
setMetaDataPackageSuffix(String value)
Sets the value of the 'Meta Data Package Suffix ' attribute |
void |
setMultipleEditorPages(boolean value)
Sets the value of the 'Multiple Editor Pages ' attribute |
void |
setPrefix(String value)
Sets the value of the 'Prefix ' attribute |
void |
setPresentationPackageSuffix(String value)
Sets the value of the 'Presentation Package Suffix ' attribute |
void |
setProviderPackageSuffix(String value)
Sets the value of the 'Provider Package Suffix ' attribute |
void |
setResource(GenResourceKind value)
Sets the value of the 'Resource ' attribute |
void |
setTestsPackageSuffix(String value)
Sets the value of the 'Tests Package Suffix ' attribute |
void |
setUtilityPackageSuffix(String value)
Sets the value of the 'Utility Package Suffix ' attribute |
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase |
canGenerate, canGenerateEdit, canGenerateEditor, canGenerateSchema, canGenerateTests, capName, format, gen, genEdit, genEditor, generate, generate, generateEdit, generateEdit, generateEditor, generateEditor, generateSchema, generateSchema, generateTests, generateTests, genSchema, genTests, getDocumentation, getEcoreModelElement, getGenAnnotation, getGenAnnotations, hasDocumentation, reconcile, 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 |
getPrefix
public String getPrefix()
- Returns the value of the 'Prefix' attribute.
If the meaning of the 'Prefix' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Prefix' attribute.
- See Also:
setPrefix(String)
,
GenModelPackage.getGenPackage_Prefix()
setPrefix
public void setPrefix(String value)
- Sets the value of the '
Prefix
' attribute.
- Parameters:
value
- the new value of the 'Prefix' attribute.- See Also:
getPrefix()
getBasePackage
public String getBasePackage()
- Returns the value of the 'Base Package' attribute.
If the meaning of the 'Base Package' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Base Package' attribute.
- See Also:
setBasePackage(String)
,
GenModelPackage.getGenPackage_BasePackage()
setBasePackage
public void setBasePackage(String value)
- Sets the value of the '
Base Package
' attribute.
- Parameters:
value
- the new value of the 'Base Package' attribute.- See Also:
getBasePackage()
getResource
public GenResourceKind getResource()
- Returns the value of the 'Resource' attribute.
The literals are from the enumeration
GenResourceKind
.
If the meaning of the 'Resource' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Resource' attribute.
- See Also:
GenResourceKind
,
setResource(GenResourceKind)
,
GenModelPackage.getGenPackage_Resource()
setResource
public void setResource(GenResourceKind value)
- Sets the value of the '
Resource
' attribute.
- Parameters:
value
- the new value of the 'Resource' attribute.- See Also:
GenResourceKind
,
getResource()
isDisposableProviderFactory
public boolean isDisposableProviderFactory()
- Returns the value of the 'Disposable Provider Factory' attribute.
If the meaning of the 'Disposable Provider Factory' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Disposable Provider Factory' attribute.
- See Also:
setDisposableProviderFactory(boolean)
,
GenModelPackage.getGenPackage_DisposableProviderFactory()
setDisposableProviderFactory
public void setDisposableProviderFactory(boolean value)
- Sets the value of the '
Disposable Provider Factory
' attribute.
- Parameters:
value
- the new value of the 'Disposable Provider Factory' attribute.- See Also:
isDisposableProviderFactory()
isAdapterFactory
public boolean isAdapterFactory()
- Returns the value of the 'Adapter Factory' attribute.
The default value is
"true"
.
If the meaning of the 'Adapter Factory' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Adapter Factory' attribute.
- See Also:
setAdapterFactory(boolean)
,
GenModelPackage.getGenPackage_AdapterFactory()
setAdapterFactory
public void setAdapterFactory(boolean value)
- Sets the value of the '
Adapter Factory
' attribute.
- Parameters:
value
- the new value of the 'Adapter Factory' attribute.- See Also:
isAdapterFactory()
isLoadInitialization
public boolean isLoadInitialization()
- Returns the value of the 'Load Initialization' attribute.
If true, the package meta-data will be initialized by loading it from a resource, instead of building it up programmatically.
This should be used for large packasges, for which the generated code for building it would excede the 64k method limit.
- Returns:
- the value of the 'Load Initialization' attribute.
- See Also:
setLoadInitialization(boolean)
,
GenModelPackage.getGenPackage_LoadInitialization()
setLoadInitialization
public void setLoadInitialization(boolean value)
- Sets the value of the '
Load Initialization
' attribute.
- Parameters:
value
- the new value of the 'Load Initialization' attribute.- See Also:
isLoadInitialization()
getInterfacePackageSuffix
public String getInterfacePackageSuffix()
- Returns the value of the 'Interface Package Suffix' attribute.
The default value is
""
.
If the meaning of the 'Interface Package Suffix' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Interface Package Suffix' attribute.
- See Also:
setInterfacePackageSuffix(String)
,
GenModelPackage.getGenPackage_InterfacePackageSuffix()
setInterfacePackageSuffix
public void setInterfacePackageSuffix(String value)
- Sets the value of the '
Interface Package Suffix
' attribute.
- Parameters:
value
- the new value of the 'Interface Package Suffix' attribute.- See Also:
getInterfacePackageSuffix()
getMetaDataPackageSuffix
public String getMetaDataPackageSuffix()
- Returns the value of the 'Meta Data Package Suffix' attribute.
The default value is
""
.
If the meaning of the 'Meta Data Package Suffix' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Meta Data Package Suffix' attribute.
- See Also:
setMetaDataPackageSuffix(String)
,
GenModelPackage.getGenPackage_MetaDataPackageSuffix()
setMetaDataPackageSuffix
public void setMetaDataPackageSuffix(String value)
- Sets the value of the '
Meta Data Package Suffix
' attribute.
- Parameters:
value
- the new value of the 'Meta Data Package Suffix' attribute.- See Also:
getMetaDataPackageSuffix()
getClassPackageSuffix
public String getClassPackageSuffix()
- Returns the value of the 'Class Package Suffix' attribute.
The default value is
"impl"
.
If the meaning of the 'Class Package Suffix' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Class Package Suffix' attribute.
- See Also:
setClassPackageSuffix(String)
,
GenModelPackage.getGenPackage_ClassPackageSuffix()
setClassPackageSuffix
public void setClassPackageSuffix(String value)
- Sets the value of the '
Class Package Suffix
' attribute.
- Parameters:
value
- the new value of the 'Class Package Suffix' attribute.- See Also:
getClassPackageSuffix()
getUtilityPackageSuffix
public String getUtilityPackageSuffix()
- Returns the value of the 'Utility Package Suffix' attribute.
The default value is
"util"
.
If the meaning of the 'Utility Package Suffix' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Utility Package Suffix' attribute.
- See Also:
setUtilityPackageSuffix(String)
,
GenModelPackage.getGenPackage_UtilityPackageSuffix()
setUtilityPackageSuffix
public void setUtilityPackageSuffix(String value)
- Sets the value of the '
Utility Package Suffix
' attribute.
- Parameters:
value
- the new value of the 'Utility Package Suffix' attribute.- See Also:
getUtilityPackageSuffix()
getProviderPackageSuffix
public String getProviderPackageSuffix()
- Returns the value of the 'Provider Package Suffix' attribute.
The default value is
"provider"
.
If the meaning of the 'Provider Package Suffix' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Provider Package Suffix' attribute.
- See Also:
setProviderPackageSuffix(String)
,
GenModelPackage.getGenPackage_ProviderPackageSuffix()
setProviderPackageSuffix
public void setProviderPackageSuffix(String value)
- Sets the value of the '
Provider Package Suffix
' attribute.
- Parameters:
value
- the new value of the 'Provider Package Suffix' attribute.- See Also:
getProviderPackageSuffix()
getPresentationPackageSuffix
public String getPresentationPackageSuffix()
- Returns the value of the 'Presentation Package Suffix' attribute.
The default value is
"presentation"
.
If the meaning of the 'Presentation Package Suffix' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Presentation Package Suffix' attribute.
- See Also:
setPresentationPackageSuffix(String)
,
GenModelPackage.getGenPackage_PresentationPackageSuffix()
setPresentationPackageSuffix
public void setPresentationPackageSuffix(String value)
- Sets the value of the '
Presentation Package Suffix
' attribute.
- Parameters:
value
- the new value of the 'Presentation Package Suffix' attribute.- See Also:
getPresentationPackageSuffix()
getTestsPackageSuffix
public String getTestsPackageSuffix()
- Returns the value of the 'Tests Package Suffix' attribute.
The default value is
"tests"
.
If the meaning of the 'Tests Package Suffix' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Tests Package Suffix' attribute.
- See Also:
setTestsPackageSuffix(String)
,
GenModelPackage.getGenPackage_TestsPackageSuffix()
setTestsPackageSuffix
public void setTestsPackageSuffix(String value)
- Sets the value of the '
Tests Package Suffix
' attribute.
- Parameters:
value
- the new value of the 'Tests Package Suffix' attribute.- See Also:
getTestsPackageSuffix()
isGenerateExampleClass
public boolean isGenerateExampleClass()
- Returns the value of the 'Generate Example Class' attribute.
The default value is
"true"
.
If the meaning of the 'Generate Example Class' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Generate Example Class' attribute.
- See Also:
setGenerateExampleClass(boolean)
,
GenModelPackage.getGenPackage_GenerateExampleClass()
setGenerateExampleClass
public void setGenerateExampleClass(boolean value)
- Sets the value of the '
Generate Example Class
' attribute.
- Parameters:
value
- the new value of the 'Generate Example Class' attribute.- See Also:
isGenerateExampleClass()
isLiteralsInterface
public boolean isLiteralsInterface()
- Returns the value of the 'Literals Interface' attribute.
The default value is
"true"
.
If the meaning of the 'Literals Interface' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Literals Interface' attribute.
- See Also:
setLiteralsInterface(boolean)
,
GenModelPackage.getGenPackage_LiteralsInterface()
setLiteralsInterface
public void setLiteralsInterface(boolean value)
- Sets the value of the '
Literals Interface
' attribute.
- Parameters:
value
- the new value of the 'Literals Interface' attribute.- See Also:
isLiteralsInterface()
isDataTypeConverters
public boolean isDataTypeConverters()
- Returns the value of the 'Data Type Converters' attribute.
If the meaning of the 'Data Type Converters' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Data Type Converters' attribute.
- See Also:
setDataTypeConverters(boolean)
,
GenModelPackage.getGenPackage_DataTypeConverters()
setDataTypeConverters
public void setDataTypeConverters(boolean value)
- Sets the value of the '
Data Type Converters
' attribute.
- Parameters:
value
- the new value of the 'Data Type Converters' attribute.- See Also:
isDataTypeConverters()
isMultipleEditorPages
public boolean isMultipleEditorPages()
- Returns the value of the 'Multiple Editor Pages' attribute.
The default value is
"true"
.
If the meaning of the 'Multiple Editor Pages' attribute isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Multiple Editor Pages' attribute.
- See Also:
setMultipleEditorPages(boolean)
,
GenModelPackage.getGenPackage_MultipleEditorPages()
setMultipleEditorPages
public void setMultipleEditorPages(boolean value)
- Sets the value of the '
Multiple Editor Pages
' attribute.
- Parameters:
value
- the new value of the 'Multiple Editor Pages' attribute.- See Also:
isMultipleEditorPages()
getEcorePackage
public EPackage getEcorePackage()
- Returns the value of the 'Ecore Package' reference.
If the meaning of the 'Ecore Package' reference isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Ecore Package' reference.
- See Also:
setEcorePackage(EPackage)
,
GenModelPackage.getGenPackage_EcorePackage()
setEcorePackage
public void setEcorePackage(EPackage value)
- Sets the value of the '
Ecore Package
' reference.
- Parameters:
value
- the new value of the 'Ecore Package' reference.- See Also:
getEcorePackage()
getGenModel
public GenModel getGenModel()
- Returns the value of the 'Gen Model' container reference.
It is bidirectional and its opposite is '
Gen Packages
'.
If the meaning of the 'Gen Model' reference isn't clear,
there really should be more of a description here...
- Specified by:
getGenModel
in interface GenBase
- Returns:
- the value of the 'Gen Model' container reference.
- See Also:
setGenModel(GenModel)
,
GenModelPackage.getGenPackage_GenModel()
,
GenModel.getGenPackages()
setGenModel
public void setGenModel(GenModel value)
- Sets the value of the '
Gen Model
' container reference.
- Parameters:
value
- the new value of the 'Gen Model' container reference.- See Also:
getGenModel()
getGenEnums
public EList getGenEnums()
- Returns the value of the 'Gen Enums' containment reference list.
The list contents are of type
GenEnum
.
If the meaning of the 'Gen Enums' reference list isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Gen Enums' containment reference list.
- See Also:
GenModelPackage.getGenPackage_GenEnums()
getGenDataTypes
public EList getGenDataTypes()
- Returns the value of the 'Gen Data Types' containment reference list.
The list contents are of type
GenDataType
.
If the meaning of the 'Gen Data Types' reference list isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Gen Data Types' containment reference list.
- See Also:
GenModelPackage.getGenPackage_GenDataTypes()
getGenClasses
public EList getGenClasses()
- Returns the value of the 'Gen Classes' containment reference list.
The list contents are of type
GenClass
.
If the meaning of the 'Gen Classes' reference list isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Gen Classes' containment reference list.
- See Also:
GenModelPackage.getGenPackage_GenClasses()
getNestedGenPackages
public EList getNestedGenPackages()
- Returns the value of the 'Nested Gen Packages' containment reference list.
The list contents are of type
GenPackage
.
If the meaning of the 'Nested Gen Packages' reference list isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Nested Gen Packages' containment reference list.
- See Also:
GenModelPackage.getGenPackage_NestedGenPackages()
getGenClassifiers
public EList getGenClassifiers()
- Returns the value of the 'Gen Classifiers' reference list.
The list contents are of type
GenClassifier
.
It is bidirectional and its opposite is 'Gen Package
'.
If the meaning of the 'Gen Meta Objects' reference list isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Gen Classifiers' reference list.
- See Also:
GenModelPackage.getGenPackage_GenClassifiers()
,
GenClassifier.getGenPackage()
getInterfacePackageName
public String getInterfacePackageName()
getReflectionPackageName
public String getReflectionPackageName()
getReflectionClassPackageName
public String getReflectionClassPackageName()
getClassPackageName
public String getClassPackageName()
getUtilitiesPackageName
public String getUtilitiesPackageName()
getTestsPackageName
public String getTestsPackageName()
getNSName
public String getNSName()
getNSURI
public String getNSURI()
getPackageName
public String getPackageName()
getQualifiedPackageName
public String getQualifiedPackageName()
getPackageInterfaceName
public String getPackageInterfaceName()
getQualifiedPackageInterfaceName
public String getQualifiedPackageInterfaceName()
getImportedPackageInterfaceName
public String getImportedPackageInterfaceName()
getUncapPackageInterfaceName
public String getUncapPackageInterfaceName()
getPackageClassName
public String getPackageClassName()
getQualifiedPackageClassName
public String getQualifiedPackageClassName()
getImportedPackageClassName
public String getImportedPackageClassName()
getFactoryInterfaceName
public String getFactoryInterfaceName()
getQualifiedFactoryInterfaceName
public String getQualifiedFactoryInterfaceName()
getImportedFactoryInterfaceName
public String getImportedFactoryInterfaceName()
getUncapFactoryInterfaceName
public String getUncapFactoryInterfaceName()
getFactoryClassName
public String getFactoryClassName()
getQualifiedFactoryClassName
public String getQualifiedFactoryClassName()
getImportedFactoryClassName
public String getImportedFactoryClassName()
getFactoryInstanceName
public String getFactoryInstanceName()
getQualifiedFactoryInstanceAccessor
public String getQualifiedFactoryInstanceAccessor()
getQualifiedEFactoryInstanceAccessor
public String getQualifiedEFactoryInstanceAccessor()
getQualifiedEFactoryInternalInstanceAccessor
public String getQualifiedEFactoryInternalInstanceAccessor()
getAdapterFactoryClassName
public String getAdapterFactoryClassName()
getQualifiedAdapterFactoryClassName
public String getQualifiedAdapterFactoryClassName()
getImportedAdapterFactoryClassName
public String getImportedAdapterFactoryClassName()
getUncapAdapterFactoryClassName
public String getUncapAdapterFactoryClassName()
getSwitchClassName
public String getSwitchClassName()
getQualifiedSwitchClassName
public String getQualifiedSwitchClassName()
getValidatorClassName
public String getValidatorClassName()
getQualifiedValidatorClassName
public String getQualifiedValidatorClassName()
getImportedValidatorClassName
public String getImportedValidatorClassName()
getTestSuiteClassName
public String getTestSuiteClassName()
getQualifiedTestSuiteClassName
public String getQualifiedTestSuiteClassName()
getImportedTestSuiteClassName
public String getImportedTestSuiteClassName()
getExampleClassName
public String getExampleClassName()
getQualifiedExampleClassName
public String getQualifiedExampleClassName()
getQualifiedXMLProcessorClassName
public String getQualifiedXMLProcessorClassName()
getXMLProcessorClassName
public String getXMLProcessorClassName()
getImportedXMLProcessorBaseClassName
public String getImportedXMLProcessorBaseClassName()
getAllGenDataTypes
public List getAllGenDataTypes()
getOrderedGenClasses
public List getOrderedGenClasses()
- Returns the list of GenClasses in the GenPackage, ordered such that
a class always follows all of the classes it extends. Appropriate
for use in package interface to declare feature constants, which will
depend on (and hence must follow) constants for the extended class.
getOrderedGenClassifiers
public List getOrderedGenClassifiers()
getClassifierID
public String getClassifierID(GenClassifier genClassifier)
getClassifierValue
public int getClassifierValue(GenClassifier genClassifier)
getLocalClassifierIndex
public int getLocalClassifierIndex(GenClassifier genClassifier)
getPackageSimpleDependencies
public List getPackageSimpleDependencies()
getPackageInterDependencies
public List getPackageInterDependencies()
getPackageLoadInterDependencies
public List getPackageLoadInterDependencies()
getPackageBuildInterDependencies
public List getPackageBuildInterDependencies()
getPackageInitializationDependencies
public List getPackageInitializationDependencies()
getPackageInstanceVariable
public String getPackageInstanceVariable(GenPackage genPackage)
getSubGenPackages
public List getSubGenPackages()
- Returns a list of those nestedGenPackages for which hasClassifiers() is
true.
getSuperGenPackage
public GenPackage getSuperGenPackage()
- Returns the closest GenPackage-typed container for which
hasClassifiers() is true, or null if there is none.
getRootGenPackage
public GenPackage getRootGenPackage()
- Returns the top-most GenPackage-typed container for which
hasClassifiers() is true, which may be this GenPackage, itself.
isLoadingInitialization
public boolean isLoadingInitialization()
- Returns true if this is a root package that requires, or has a direct or indirect subpackage that requires, load initialization.
isLoadedInitialization
public boolean isLoadedInitialization()
- Returns true if this package's root, which may be itself, requires, or has a subpackage that requires, load initialization.
isEcorePackage
public boolean isEcorePackage()
hasInterfaceImplConflict
public boolean hasInterfaceImplConflict()
hasJavaLangConflict
public boolean hasJavaLangConflict()
getJavaLangConflicts
public List getJavaLangConflicts()
hasClassifiers
public boolean hasClassifiers()
hasClassifiers
public boolean hasClassifiers(boolean traverseNestedPackages)
getAllSwitchGenClasses
public List getAllSwitchGenClasses()
getClassUniqueName
public String getClassUniqueName(GenClass genClass)
getAllValidatorBaseGenPackages
public List getAllValidatorBaseGenPackages()
getValidatorPackageUniqueSafeName
public String getValidatorPackageUniqueSafeName(GenPackage genPackage)
initialize
public void initialize(EPackage ePackage)
prepareCache
public void prepareCache()
clearCache
public void clearCache()
generateSchema
public void generateSchema()
- Deprecated. In EMF 2.2, schema generation is properly done via a model exporter. This method will be removed after 2.2.
getProviderPackageName
public String getProviderPackageName()
getPresentationPackageName
public String getPresentationPackageName()
getItemProviderAdapterFactoryClassName
public String getItemProviderAdapterFactoryClassName()
getQualifiedItemProviderAdapterFactoryClassName
public String getQualifiedItemProviderAdapterFactoryClassName()
getImportedItemProviderAdapterFactoryClassName
public String getImportedItemProviderAdapterFactoryClassName()
getEditorClassName
public String getEditorClassName()
getQualifiedEditorClassName
public String getQualifiedEditorClassName()
getImportedEditorClassName
public String getImportedEditorClassName()
getModelWizardClassName
public String getModelWizardClassName()
getQualifiedModelWizardClassName
public String getQualifiedModelWizardClassName()
getImportedModelWizardClassName
public String getImportedModelWizardClassName()
getActionBarContributorClassName
public String getActionBarContributorClassName()
getQualifiedActionBarContributorClassName
public String getQualifiedActionBarContributorClassName()
getImportedActionBarContributorClassName
public String getImportedActionBarContributorClassName()
getAdapterFactoryDelegateName
public String getAdapterFactoryDelegateName(GenPackage genDelegate)
getUncapAdapterFactoryDelegateName
public String getUncapAdapterFactoryDelegateName(GenPackage genDelegate)
getEditPluginClassName
public String getEditPluginClassName()
getQualifiedEditPluginClassName
public String getQualifiedEditPluginClassName()
getImportedEditPluginClassName
public String getImportedEditPluginClassName()
getEditorPluginClassName
public String getEditorPluginClassName()
getQualifiedEditorPluginClassName
public String getQualifiedEditorPluginClassName()
getImportedEditorPluginClassName
public String getImportedEditorPluginClassName()
getModelIconFileName
public String getModelIconFileName()
getModelWizardIconFileName
public String getModelWizardIconFileName()
getAllGenFeatures
public List getAllGenFeatures()
getAdapterDelegatePackages
public List getAdapterDelegatePackages()
getAdapterDelegateSuperClasses
public List getAdapterDelegateSuperClasses()
hasStatefulProvider
public boolean hasStatefulProvider()
getModelInfo
public String getModelInfo()
reconcile
public boolean reconcile(GenPackage oldGenPackageVersion)
getAnnotationSources
public List getAnnotationSources()
getAnnotationSourceIdentifier
public String getAnnotationSourceIdentifier(String annotationSource)
getAllAnnotations
public List getAllAnnotations()
getAnnotatedModelElementAccessor
public String getAnnotatedModelElementAccessor(EAnnotation eAnnotation)
getAllNestedAnnotations
public List getAllNestedAnnotations(EAnnotation eAnnotation)
getResourceClassName
public String getResourceClassName()
getQualifiedResourceClassName
public String getQualifiedResourceClassName()
getImportedResourceClassName
public String getImportedResourceClassName()
getImportedResourceBaseClassName
public String getImportedResourceBaseClassName()
getResourceFactoryClassName
public String getResourceFactoryClassName()
getQualifiedResourceFactoryClassName
public String getQualifiedResourceFactoryClassName()
getImportedResourceFactoryClassName
public String getImportedResourceFactoryClassName()
getImportedResourceFactoryBaseClassName
public String getImportedResourceFactoryBaseClassName()
hasXMLMap
public boolean hasXMLMap()
hasDocumentRoot
public boolean hasDocumentRoot()
getDocumentRoot
public GenClass getDocumentRoot()
hasExtendedMetaData
public boolean hasExtendedMetaData()
hasTargetNamespace
public boolean hasTargetNamespace()
hasConstraints
public boolean hasConstraints()
getSerializedPackageFilename
public String getSerializedPackageFilename()
getProviderSupportedTypes
public List getProviderSupportedTypes()
getRootClass
public GenClass getRootClass()
getRootFeature
public GenFeature getRootFeature()
hasConcreteClasses
public boolean hasConcreteClasses()
hasTests
public boolean hasTests()