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.
 java.lang.String getActionBarContributorClassName()
           
 java.util.List getAdapterDelegatePackages()
           
 java.util.List getAdapterDelegateSuperClasses()
           
 java.lang.String getAdapterFactoryClassName()
           
 java.lang.String getAdapterFactoryDelegateName(GenPackage genDelegate)
           
 java.util.List getAllAnnotations()
           
 java.util.List getAllGenDataTypes()
           
 java.util.List getAllGenFeatures()
           
 java.util.List getAllNestedAnnotations(EAnnotation eAnnotation)
           
 java.util.List getAllSwitchGenClasses()
           
 java.util.List getAllValidatorBaseGenPackages()
           
 java.lang.String getAnnotatedModelElementAccessor(EAnnotation eAnnotation)
           
 java.lang.String getAnnotationSourceIdentifier(java.lang.String annotationSource)
           
 java.util.List getAnnotationSources()
           
 java.lang.String getBasePackage()
          Returns the value of the 'Base Package' attribute
 java.lang.String getClassifierID(GenClassifier genClassifier)
           
 int getClassifierValue(GenClassifier genClassifier)
           
 java.lang.String getClassPackageName()
           
 java.lang.String getClassPackageSuffix()
          Returns the value of the 'Class Package Suffix' attribute.
 java.lang.String getClassUniqueName(GenClass genClass)
           
 GenClass getDocumentRoot()
           
 EPackage getEcorePackage()
          Returns the value of the 'Ecore Package' reference
 java.lang.String getEditorClassName()
           
 java.lang.String getEditorPluginClassName()
           
 java.lang.String getEditPluginClassName()
           
 java.lang.String getExampleClassName()
           
 java.lang.String getFactoryClassName()
           
 java.lang.String getFactoryInstanceName()
           
 java.lang.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.
 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()
          Returns the value of the 'Interface Package Suffix' attribute.
 java.lang.String getItemProviderAdapterFactoryClassName()
           
 java.util.List getJavaLangConflicts()
           
 int getLocalClassifierIndex(GenClassifier genClassifier)
           
 java.lang.String getMetaDataPackageSuffix()
          Returns the value of the 'Meta Data Package Suffix' attribute.
 java.lang.String getModelIconFileName()
           
 java.lang.String getModelInfo()
           
 java.lang.String getModelWizardClassName()
           
 java.lang.String getModelWizardIconFileName()
           
 EList getNestedGenPackages()
          Returns the value of the 'Nested Gen Packages' containment reference list.
 java.lang.String getNSName()
           
 java.lang.String getNSURI()
           
 java.util.List 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 getOrderedGenClassifiers()
           
 java.util.List getPackageBuildInterDependencies()
           
 java.lang.String getPackageClassName()
           
 java.util.List getPackageInitializationDependencies()
           
 java.lang.String getPackageInstanceVariable(GenPackage genPackage)
           
 java.util.List getPackageInterDependencies()
           
 java.lang.String getPackageInterfaceName()
           
 java.util.List getPackageLoadInterDependencies()
           
 java.lang.String getPackageName()
           
 java.util.List getPackageSimpleDependencies()
           
 java.lang.String getPrefix()
          Returns the value of the 'Prefix' attribute
 java.lang.String getPresentationPackageName()
           
 java.lang.String getPresentationPackageSuffix()
          Returns the value of the 'Presentation Package Suffix' attribute.
 java.lang.String getProviderPackageName()
           
 java.lang.String getProviderPackageSuffix()
          Returns the value of the 'Provider Package Suffix' attribute.
 java.util.List getProviderSupportedTypes()
           
 java.lang.String getQualifiedActionBarContributorClassName()
           
 java.lang.String getQualifiedAdapterFactoryClassName()
           
 java.lang.String getQualifiedEditorClassName()
           
 java.lang.String getQualifiedEditorPluginClassName()
           
 java.lang.String getQualifiedEditPluginClassName()
           
 java.lang.String getQualifiedEFactoryInstanceAccessor()
           
 java.lang.String getQualifiedEFactoryInternalInstanceAccessor()
           
 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()
           
 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.lang.String getReflectionClassPackageName()
           
 java.lang.String getReflectionPackageName()
           
 GenResourceKind getResource()
          Returns the value of the 'Resource' attribute.
 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 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()
          Returns the value of the 'Tests Package Suffix' attribute.
 java.lang.String getTestSuiteClassName()
           
 java.lang.String getUncapAdapterFactoryClassName()
           
 java.lang.String getUncapAdapterFactoryDelegateName(GenPackage genDelegate)
           
 java.lang.String getUncapFactoryInterfaceName()
           
 java.lang.String getUncapPackageInterfaceName()
           
 java.lang.String getUtilitiesPackageName()
           
 java.lang.String getUtilityPackageSuffix()
          Returns the value of the 'Utility Package Suffix' attribute.
 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()
           
 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(java.lang.String value)
          Sets the value of the 'Base Package' attribute
 void setClassPackageSuffix(java.lang.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(java.lang.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(java.lang.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(java.lang.String value)
          Sets the value of the 'Prefix' attribute
 void setPresentationPackageSuffix(java.lang.String value)
          Sets the value of the 'Presentation Package Suffix' attribute
 void setProviderPackageSuffix(java.lang.String value)
          Sets the value of the 'Provider Package Suffix' attribute
 void setResource(GenResourceKind value)
          Sets the value of the 'Resource' attribute
 void setTestsPackageSuffix(java.lang.String value)
          Sets the value of the 'Tests Package Suffix' attribute
 void setUtilityPackageSuffix(java.lang.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
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getPrefix

public java.lang.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:
GenPackage.setPrefix(String), GenModelPackage.getGenPackage_Prefix()

setPrefix

public void setPrefix(java.lang.String value)
Sets the value of the 'Prefix' attribute.

Parameters:
value - the new value of the 'Prefix' attribute.
See Also:
GenPackage.getPrefix()

getBasePackage

public java.lang.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:
GenPackage.setBasePackage(String), GenModelPackage.getGenPackage_BasePackage()

setBasePackage

public void setBasePackage(java.lang.String value)
Sets the value of the 'Base Package' attribute.

Parameters:
value - the new value of the 'Base Package' attribute.
See Also:
GenPackage.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, GenPackage.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, GenPackage.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:
GenPackage.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:
GenPackage.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:
GenPackage.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:
GenPackage.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:
GenPackage.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:
GenPackage.isLoadInitialization()

getInterfacePackageSuffix

public java.lang.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:
GenPackage.setInterfacePackageSuffix(String), GenModelPackage.getGenPackage_InterfacePackageSuffix()

setInterfacePackageSuffix

public void setInterfacePackageSuffix(java.lang.String value)
Sets the value of the 'Interface Package Suffix' attribute.

Parameters:
value - the new value of the 'Interface Package Suffix' attribute.
See Also:
GenPackage.getInterfacePackageSuffix()

getMetaDataPackageSuffix

public java.lang.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:
GenPackage.setMetaDataPackageSuffix(String), GenModelPackage.getGenPackage_MetaDataPackageSuffix()

setMetaDataPackageSuffix

public void setMetaDataPackageSuffix(java.lang.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:
GenPackage.getMetaDataPackageSuffix()

getClassPackageSuffix

public java.lang.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:
GenPackage.setClassPackageSuffix(String), GenModelPackage.getGenPackage_ClassPackageSuffix()

setClassPackageSuffix

public void setClassPackageSuffix(java.lang.String value)
Sets the value of the 'Class Package Suffix' attribute.

Parameters:
value - the new value of the 'Class Package Suffix' attribute.
See Also:
GenPackage.getClassPackageSuffix()

getUtilityPackageSuffix

public java.lang.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:
GenPackage.setUtilityPackageSuffix(String), GenModelPackage.getGenPackage_UtilityPackageSuffix()

setUtilityPackageSuffix

public void setUtilityPackageSuffix(java.lang.String value)
Sets the value of the 'Utility Package Suffix' attribute.

Parameters:
value - the new value of the 'Utility Package Suffix' attribute.
See Also:
GenPackage.getUtilityPackageSuffix()

getProviderPackageSuffix

public java.lang.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:
GenPackage.setProviderPackageSuffix(String), GenModelPackage.getGenPackage_ProviderPackageSuffix()

setProviderPackageSuffix

public void setProviderPackageSuffix(java.lang.String value)
Sets the value of the 'Provider Package Suffix' attribute.

Parameters:
value - the new value of the 'Provider Package Suffix' attribute.
See Also:
GenPackage.getProviderPackageSuffix()

getPresentationPackageSuffix

public java.lang.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:
GenPackage.setPresentationPackageSuffix(String), GenModelPackage.getGenPackage_PresentationPackageSuffix()

setPresentationPackageSuffix

public void setPresentationPackageSuffix(java.lang.String value)
Sets the value of the 'Presentation Package Suffix' attribute.

Parameters:
value - the new value of the 'Presentation Package Suffix' attribute.
See Also:
GenPackage.getPresentationPackageSuffix()

getTestsPackageSuffix

public java.lang.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:
GenPackage.setTestsPackageSuffix(String), GenModelPackage.getGenPackage_TestsPackageSuffix()

setTestsPackageSuffix

public void setTestsPackageSuffix(java.lang.String value)
Sets the value of the 'Tests Package Suffix' attribute.

Parameters:
value - the new value of the 'Tests Package Suffix' attribute.
See Also:
GenPackage.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:
GenPackage.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:
GenPackage.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:
GenPackage.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:
GenPackage.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:
GenPackage.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:
GenPackage.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:
GenPackage.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:
GenPackage.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:
GenPackage.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:
GenPackage.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:
GenPackage.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:
GenPackage.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 java.lang.String getInterfacePackageName()

getReflectionPackageName

public java.lang.String getReflectionPackageName()

getReflectionClassPackageName

public java.lang.String getReflectionClassPackageName()

getClassPackageName

public java.lang.String getClassPackageName()

getUtilitiesPackageName

public java.lang.String getUtilitiesPackageName()

getTestsPackageName

public java.lang.String getTestsPackageName()

getNSName

public java.lang.String getNSName()

getNSURI

public java.lang.String getNSURI()

getPackageName

public java.lang.String getPackageName()

getQualifiedPackageName

public java.lang.String getQualifiedPackageName()

getPackageInterfaceName

public java.lang.String getPackageInterfaceName()

getQualifiedPackageInterfaceName

public java.lang.String getQualifiedPackageInterfaceName()

getImportedPackageInterfaceName

public java.lang.String getImportedPackageInterfaceName()

getUncapPackageInterfaceName

public java.lang.String getUncapPackageInterfaceName()

getPackageClassName

public java.lang.String getPackageClassName()

getQualifiedPackageClassName

public java.lang.String getQualifiedPackageClassName()

getImportedPackageClassName

public java.lang.String getImportedPackageClassName()

getFactoryInterfaceName

public java.lang.String getFactoryInterfaceName()

getQualifiedFactoryInterfaceName

public java.lang.String getQualifiedFactoryInterfaceName()

getImportedFactoryInterfaceName

public java.lang.String getImportedFactoryInterfaceName()

getUncapFactoryInterfaceName

public java.lang.String getUncapFactoryInterfaceName()

getFactoryClassName

public java.lang.String getFactoryClassName()

getQualifiedFactoryClassName

public java.lang.String getQualifiedFactoryClassName()

getImportedFactoryClassName

public java.lang.String getImportedFactoryClassName()

getFactoryInstanceName

public java.lang.String getFactoryInstanceName()

getQualifiedFactoryInstanceAccessor

public java.lang.String getQualifiedFactoryInstanceAccessor()

getQualifiedEFactoryInstanceAccessor

public java.lang.String getQualifiedEFactoryInstanceAccessor()

getQualifiedEFactoryInternalInstanceAccessor

public java.lang.String getQualifiedEFactoryInternalInstanceAccessor()

getAdapterFactoryClassName

public java.lang.String getAdapterFactoryClassName()

getQualifiedAdapterFactoryClassName

public java.lang.String getQualifiedAdapterFactoryClassName()

getImportedAdapterFactoryClassName

public java.lang.String getImportedAdapterFactoryClassName()

getUncapAdapterFactoryClassName

public java.lang.String getUncapAdapterFactoryClassName()

getSwitchClassName

public java.lang.String getSwitchClassName()

getQualifiedSwitchClassName

public java.lang.String getQualifiedSwitchClassName()

getValidatorClassName

public java.lang.String getValidatorClassName()

getQualifiedValidatorClassName

public java.lang.String getQualifiedValidatorClassName()

getImportedValidatorClassName

public java.lang.String getImportedValidatorClassName()

getTestSuiteClassName

public java.lang.String getTestSuiteClassName()

getQualifiedTestSuiteClassName

public java.lang.String getQualifiedTestSuiteClassName()

getImportedTestSuiteClassName

public java.lang.String getImportedTestSuiteClassName()

getExampleClassName

public java.lang.String getExampleClassName()

getQualifiedExampleClassName

public java.lang.String getQualifiedExampleClassName()

getQualifiedXMLProcessorClassName

public java.lang.String getQualifiedXMLProcessorClassName()

getXMLProcessorClassName

public java.lang.String getXMLProcessorClassName()

getImportedXMLProcessorBaseClassName

public java.lang.String getImportedXMLProcessorBaseClassName()

getAllGenDataTypes

public java.util.List getAllGenDataTypes()

getOrderedGenClasses

public java.util.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 java.util.List getOrderedGenClassifiers()

getClassifierID

public java.lang.String getClassifierID(GenClassifier genClassifier)

getClassifierValue

public int getClassifierValue(GenClassifier genClassifier)

getLocalClassifierIndex

public int getLocalClassifierIndex(GenClassifier genClassifier)

getPackageSimpleDependencies

public java.util.List getPackageSimpleDependencies()

getPackageInterDependencies

public java.util.List getPackageInterDependencies()

getPackageLoadInterDependencies

public java.util.List getPackageLoadInterDependencies()

getPackageBuildInterDependencies

public java.util.List getPackageBuildInterDependencies()

getPackageInitializationDependencies

public java.util.List getPackageInitializationDependencies()

getPackageInstanceVariable

public java.lang.String getPackageInstanceVariable(GenPackage genPackage)

getSubGenPackages

public java.util.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 java.util.List getJavaLangConflicts()

hasClassifiers

public boolean hasClassifiers()

hasClassifiers

public boolean hasClassifiers(boolean traverseNestedPackages)

getAllSwitchGenClasses

public java.util.List getAllSwitchGenClasses()

getClassUniqueName

public java.lang.String getClassUniqueName(GenClass genClass)

getAllValidatorBaseGenPackages

public java.util.List getAllValidatorBaseGenPackages()

getValidatorPackageUniqueSafeName

public java.lang.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 java.lang.String getProviderPackageName()

getPresentationPackageName

public java.lang.String getPresentationPackageName()

getItemProviderAdapterFactoryClassName

public java.lang.String getItemProviderAdapterFactoryClassName()

getQualifiedItemProviderAdapterFactoryClassName

public java.lang.String getQualifiedItemProviderAdapterFactoryClassName()

getImportedItemProviderAdapterFactoryClassName

public java.lang.String getImportedItemProviderAdapterFactoryClassName()

getEditorClassName

public java.lang.String getEditorClassName()

getQualifiedEditorClassName

public java.lang.String getQualifiedEditorClassName()

getImportedEditorClassName

public java.lang.String getImportedEditorClassName()

getModelWizardClassName

public java.lang.String getModelWizardClassName()

getQualifiedModelWizardClassName

public java.lang.String getQualifiedModelWizardClassName()

getImportedModelWizardClassName

public java.lang.String getImportedModelWizardClassName()

getActionBarContributorClassName

public java.lang.String getActionBarContributorClassName()

getQualifiedActionBarContributorClassName

public java.lang.String getQualifiedActionBarContributorClassName()

getImportedActionBarContributorClassName

public java.lang.String getImportedActionBarContributorClassName()

getAdapterFactoryDelegateName

public java.lang.String getAdapterFactoryDelegateName(GenPackage genDelegate)

getUncapAdapterFactoryDelegateName

public java.lang.String getUncapAdapterFactoryDelegateName(GenPackage genDelegate)

getEditPluginClassName

public java.lang.String getEditPluginClassName()

getQualifiedEditPluginClassName

public java.lang.String getQualifiedEditPluginClassName()

getImportedEditPluginClassName

public java.lang.String getImportedEditPluginClassName()

getEditorPluginClassName

public java.lang.String getEditorPluginClassName()

getQualifiedEditorPluginClassName

public java.lang.String getQualifiedEditorPluginClassName()

getImportedEditorPluginClassName

public java.lang.String getImportedEditorPluginClassName()

getModelIconFileName

public java.lang.String getModelIconFileName()

getModelWizardIconFileName

public java.lang.String getModelWizardIconFileName()

getAllGenFeatures

public java.util.List getAllGenFeatures()

getAdapterDelegatePackages

public java.util.List getAdapterDelegatePackages()

getAdapterDelegateSuperClasses

public java.util.List getAdapterDelegateSuperClasses()

hasStatefulProvider

public boolean hasStatefulProvider()

getModelInfo

public java.lang.String getModelInfo()

reconcile

public boolean reconcile(GenPackage oldGenPackageVersion)

getAnnotationSources

public java.util.List getAnnotationSources()

getAnnotationSourceIdentifier

public java.lang.String getAnnotationSourceIdentifier(java.lang.String annotationSource)

getAllAnnotations

public java.util.List getAllAnnotations()

getAnnotatedModelElementAccessor

public java.lang.String getAnnotatedModelElementAccessor(EAnnotation eAnnotation)

getAllNestedAnnotations

public java.util.List getAllNestedAnnotations(EAnnotation eAnnotation)

getResourceClassName

public java.lang.String getResourceClassName()

getQualifiedResourceClassName

public java.lang.String getQualifiedResourceClassName()

getImportedResourceClassName

public java.lang.String getImportedResourceClassName()

getImportedResourceBaseClassName

public java.lang.String getImportedResourceBaseClassName()

getResourceFactoryClassName

public java.lang.String getResourceFactoryClassName()

getQualifiedResourceFactoryClassName

public java.lang.String getQualifiedResourceFactoryClassName()

getImportedResourceFactoryClassName

public java.lang.String getImportedResourceFactoryClassName()

getImportedResourceFactoryBaseClassName

public java.lang.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 java.lang.String getSerializedPackageFilename()

getProviderSupportedTypes

public java.util.List getProviderSupportedTypes()

getRootClass

public GenClass getRootClass()

getRootFeature

public GenFeature getRootFeature()

hasConcreteClasses

public boolean hasConcreteClasses()

hasTests

public boolean hasTests()

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.