org.eclipse.emf.codegen.ecore.genmodel.impl
Class GenPackageImpl

java.lang.Object
  |
  +--org.eclipse.emf.common.notify.impl.NotifierImpl
        |
        +--org.eclipse.emf.ecore.impl.EObjectImpl
              |
              +--org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
                    |
                    +--org.eclipse.emf.codegen.ecore.genmodel.impl.GenPackageImpl
All Implemented Interfaces:
EObject, GenBase, GenPackage, InternalEObject, Notifier

public class GenPackageImpl
extends GenBaseImpl
implements GenPackage

An implementation of the model object 'Gen Package'.

The following features are implemented:


Inner classes inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
GenBaseImpl.ColorInformation, GenBaseImpl.GenClassFilter, GenBaseImpl.GenFeatureFilter, GenBaseImpl.GenOperationFilter, GenBaseImpl.GIFEmitter, GenBaseImpl.ImportManager, GenBaseImpl.UniqueNameHelper
 
Inner classes inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
EObjectImpl.EPropertiesHolder
 
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  EPackage ecorePackage
          The cached value of the 'Ecore Package' reference.
protected  EList genClasses
          The cached value of the 'Gen Classes' containment reference list.
protected  EList genDataTypes
          The cached value of the 'Gen Data Types' containment reference list.
protected  EList genEnums
          The cached value of the 'Gen Enums' containment reference list.
protected  EList nestedGenPackages
          The cached value of the 'Nested Gen Packages' containment reference list.
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  GenResourceKind resource
          The cached value of the 'Resource' attribute.
protected static GenResourceKind RESOURCE_EDEFAULT
          The default value of the 'Resource' attribute.
 
Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
ecoreGenPackage, javaLangTypes, javaReservedWords, theEcorePackage
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eContainer, eContainerFeatureID, ELAST_EOBJECT_FLAG, eProperties
 
Fields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected GenPackageImpl()
          
 
Method Summary
 EPackage basicGetEcorePackage()
          
protected  void collectPackages(java.util.List result, java.util.List 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 eBasicRemoveFromContainer(NotificationChain msgs)
          
 java.lang.Object eGet(EStructuralFeature eFeature, boolean resolve)
          
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
          
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
          
 boolean eIsSet(EStructuralFeature eFeature)
          
 void eSet(EStructuralFeature eFeature, java.lang.Object newValue)
          
protected  EClass eStaticClass()
          
 void eUnset(EStructuralFeature eFeature)
          
 void generate(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
           
 void generateEdit(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
           
 void generateEditor(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
           
protected  void generateXSD(java.lang.String type)
           
 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 getAllSwitchGenClasses()
           
 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 getBasePackageGen()
          
 java.lang.String getCapPackageID()
           
 java.lang.String getClassifierID(GenClassifier genClassifier)
           
 int getClassifierValue(GenClassifier genClassifier)
           
 java.lang.String getClassPackageName()
           
 java.lang.String getClassUniqueName(GenClass genClass)
           
 EPackage getEcorePackage()
          
 java.lang.String getEditorClassName()
           
 java.lang.String getEditorPluginClassName()
           
 java.lang.String getEditPluginClassName()
           
 java.lang.String getFactoryClassName()
           
 java.lang.String getFactoryInterfaceName()
           
 EList getGenClasses()
          
 EList getGenClassifiers()
          
 EList getGenDataTypes()
          
 EList getGenEnums()
          
 GenModel getGenModel()
          Returns the value of the 'Gen Model' container reference.
 GenModel getGenModelGen()
          
 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 getInterfacePackageName()
           
 java.lang.String getItemProviderAdapterFactoryClassName()
           
 java.util.List getJavaLangConflicts()
           
 java.lang.String getModelIconFileName()
           
 java.lang.String getModelWizardClassName()
           
 java.lang.String getModelWizardIconFileName()
           
 java.lang.String getName()
           
 EList getNestedGenPackages()
          
 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.lang.String getPackageClassName()
           
 java.lang.String getPackageID()
           
 java.lang.String getPackageInstanceVariable(GenPackage genPackage)
           
 java.util.List getPackageInterDependencies()
           
 java.lang.String getPackageInterfaceName()
           
 java.lang.String getPackageName()
           
 java.util.List 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 getProviderPackageName()
           
 java.lang.String getQualifiedActionBarContributorClassName()
           
 java.lang.String getQualifiedAdapterFactoryClassName()
           
 java.lang.String getQualifiedEditorClassName()
           
 java.lang.String getQualifiedEditorPluginClassName()
           
 java.lang.String getQualifiedEditPluginClassName()
           
 java.lang.String getQualifiedFactoryClassName()
           
 java.lang.String getQualifiedFactoryInterfaceName()
           
 java.lang.String getQualifiedItemProviderAdapterFactoryClassName()
           
 java.lang.String getQualifiedModelWizardClassName()
           
 java.lang.String getQualifiedPackageClassName()
           
 java.lang.String getQualifiedPackageInterfaceName()
           
 java.lang.String getQualifiedResourceClassName()
           
 java.lang.String getQualifiedResourceFactoryClassName()
           
 GenResourceKind getResource()
          
 java.lang.String getResourceClassName()
           
 java.lang.String getResourceFactoryClassName()
           
 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 getUncapAdapterFactoryClassName()
           
 java.lang.String getUncapAdapterFactoryDelegateName(GenPackage genDelegate)
           
 java.lang.String getUncapFactoryInterfaceName()
           
 java.lang.String getUncapPackageInterfaceName()
           
 java.lang.String getUtilitiesPackageName()
           
 boolean hasClassifiers()
           
 boolean hasJavaLangConflict()
           
protected  boolean hasModelContribution()
           
 void initialize(EPackage ePackage)
           
 boolean isAdapterFactory()
          
 boolean isEcorePackage()
           
 boolean reconcile()
           
 boolean reconcile(GenPackage oldGenPackageVersion)
           
protected  void reconcileSettings(GenPackage oldGenPackageVersion)
           
 void setAdapterFactory(boolean newAdapterFactory)
          
 void setBasePackage(java.lang.String newBasePackage)
          
 void setEcorePackage(EPackage newEcorePackage)
          
 void setGenModel(GenModel newGenModel)
          
 void setPrefix(java.lang.String newPrefix)
          
 void setResource(GenResourceKind newResource)
          
 java.lang.String toString()
          
 
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
appendModelSetting, appendModelSetting, canGenerate, canGenerateEdit, canGenerateEditor, capName, collectGenClasses, collectGenFeatures, collectGenOperations, eObjectForURIFragmentSegment, ePackageGenModel, eURIFragmentSegment, filterGenClasses, findGenClass, findGenClassifier, findGenDataType, findGenEnum, findGenFeature, findGenPackage, findGenPackageHelper, findOrCreateContainer, format, generate, generate, generate, generate, getAllGenPackages, getImplClassName, getImportedType, getImportManager, getInstanceClass, getJavaLangTypes, getJavaReservedWords, getModelInfo, getPrimitiveDefault, getPrimitiveObjectType, getType, getTypeGenClasses, isJavaUtilMapEntry, isPrimitiveType, parseName, safeName, setImportManager, uncapName, uncapPrefixedName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingIndex, eSettings
 
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, eDeliver, eNotificationRequired, eNotify, eSetDeliver
 
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, ePackageGenModel, format, safeName, uncapName, uncapPrefixedName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
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

PREFIX_EDEFAULT

protected static final java.lang.String PREFIX_EDEFAULT
The default value of the 'Prefix' attribute.
See Also:
getPrefix()

prefix

protected java.lang.String prefix
The cached value of the 'Prefix' attribute.
See Also:
getPrefix()

BASE_PACKAGE_EDEFAULT

protected static final java.lang.String BASE_PACKAGE_EDEFAULT
The default value of the 'Base Package' attribute.
See Also:
getBasePackage()

basePackage

protected java.lang.String basePackage
The cached value of the 'Base Package' attribute.
See Also:
getBasePackage()

RESOURCE_EDEFAULT

protected static final GenResourceKind RESOURCE_EDEFAULT
The default value of the 'Resource' attribute.
See Also:
getResource()

resource

protected GenResourceKind resource
The cached value of the 'Resource' attribute.
See Also:
getResource()

ADAPTER_FACTORY_EDEFAULT

protected static final boolean ADAPTER_FACTORY_EDEFAULT
The default value of the 'Adapter Factory' attribute.
See Also:
isAdapterFactory()

adapterFactory

protected boolean adapterFactory
The cached value of the 'Adapter Factory' attribute.
See Also:
isAdapterFactory()

ecorePackage

protected EPackage ecorePackage
The cached value of the 'Ecore Package' reference.
See Also:
getEcorePackage()

genEnums

protected EList genEnums
The cached value of the 'Gen Enums' containment reference list.
See Also:
getGenEnums()

genDataTypes

protected EList genDataTypes
The cached value of the 'Gen Data Types' containment reference list.
See Also:
getGenDataTypes()

genClasses

protected EList genClasses
The cached value of the 'Gen Classes' containment reference list.
See Also:
getGenClasses()

nestedGenPackages

protected EList nestedGenPackages
The cached value of the 'Nested Gen Packages' containment reference list.
See Also:
getNestedGenPackages()
Constructor Detail

GenPackageImpl

protected GenPackageImpl()
Method Detail

eStaticClass

protected EClass eStaticClass()
Overrides:
eStaticClass in class GenBaseImpl

getPrefixGen

public java.lang.String getPrefixGen()

getPrefix

public java.lang.String getPrefix()
Description copied from interface: GenPackage
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...

Specified by:
getPrefix in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Returns:
the value of the 'Prefix' attribute.
See Also:
GenPackage.setPrefix(String), GenModelPackage.getGenPackage_Prefix()

setPrefix

public void setPrefix(java.lang.String newPrefix)
Specified by:
setPrefix in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Parameters:
value - the new value of the 'Prefix' attribute.
See Also:
GenPackage.getPrefix()

getBasePackageGen

public java.lang.String getBasePackageGen()

getBasePackage

public java.lang.String getBasePackage()
Description copied from interface: GenPackage
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...

Specified by:
getBasePackage in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Returns:
the value of the 'Base Package' attribute.
See Also:
GenPackage.setBasePackage(String), GenModelPackage.getGenPackage_BasePackage()

setBasePackage

public void setBasePackage(java.lang.String newBasePackage)
Specified by:
setBasePackage in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Parameters:
value - the new value of the 'Base Package' attribute.
See Also:
GenPackage.getBasePackage()

getResource

public GenResourceKind getResource()
Specified by:
getResource in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Returns:
the value of the 'Resource' attribute.
See Also:
GenResourceKind, GenPackage.setResource(GenResourceKind), GenModelPackage.getGenPackage_Resource()

setResource

public void setResource(GenResourceKind newResource)
Specified by:
setResource in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Parameters:
value - the new value of the 'Resource' attribute.
See Also:
GenResourceKind, GenPackage.getResource()

isAdapterFactory

public boolean isAdapterFactory()
Specified by:
isAdapterFactory in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Returns:
the value of the 'Adapter Factory' attribute.
See Also:
GenPackage.setAdapterFactory(boolean), GenModelPackage.getGenPackage_AdapterFactory()

setAdapterFactory

public void setAdapterFactory(boolean newAdapterFactory)
Specified by:
setAdapterFactory in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Parameters:
value - the new value of the 'Adapter Factory' attribute.
See Also:
GenPackage.isAdapterFactory()

getEcorePackage

public EPackage getEcorePackage()
Specified by:
getEcorePackage in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Returns:
the value of the 'Ecore Package' reference.
See Also:
GenPackage.setEcorePackage(EPackage), GenModelPackage.getGenPackage_EcorePackage()

basicGetEcorePackage

public EPackage basicGetEcorePackage()

setEcorePackage

public void setEcorePackage(EPackage newEcorePackage)
Specified by:
setEcorePackage in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Parameters:
value - the new value of the 'Ecore Package' reference.
See Also:
GenPackage.getEcorePackage()

getGenModel

public GenModel getGenModel()
Description copied from interface: GenPackage
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 GenPackage
Overrides:
getGenModel in class GenBaseImpl
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Returns:
the value of the 'Gen Model' container reference.
See Also:
GenPackage.setGenModel(GenModel), GenModelPackage.getGenPackage_GenModel(), GenModel.getGenPackages()

getGenModelGen

public GenModel getGenModelGen()

setGenModel

public void setGenModel(GenModel newGenModel)
Specified by:
setGenModel in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Parameters:
value - the new value of the 'Gen Model' container reference.
See Also:
GenPackage.getGenModel()

getGenEnums

public EList getGenEnums()
Specified by:
getGenEnums in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Returns:
the value of the 'Gen Enums' containment reference list.
See Also:
GenModelPackage.getGenPackage_GenEnums()

getGenDataTypes

public EList getGenDataTypes()
Specified by:
getGenDataTypes in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Returns:
the value of the 'Gen Data Types' containment reference list.
See Also:
GenModelPackage.getGenPackage_GenDataTypes()

getGenClasses

public EList getGenClasses()
Specified by:
getGenClasses in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Returns:
the value of the 'Gen Classes' containment reference list.
See Also:
GenModelPackage.getGenPackage_GenClasses()

getNestedGenPackages

public EList getNestedGenPackages()
Specified by:
getNestedGenPackages in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Returns:
the value of the 'Nested Gen Packages' containment reference list.
See Also:
GenModelPackage.getGenPackage_NestedGenPackages()

getGenClassifiers

public EList getGenClassifiers()
Specified by:
getGenClassifiers in interface GenPackage
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenPackage
Returns:
the value of the 'Gen Classifiers' reference list.
See Also:
GenModelPackage.getGenPackage_GenClassifiers(), GenClassifier.getGenPackage()

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     java.lang.Class baseClass,
                                     NotificationChain msgs)
Overrides:
eInverseAdd in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.InternalEObject
Returns:
accumulated notifications.

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        java.lang.Class baseClass,
                                        NotificationChain msgs)
Overrides:
eInverseRemove in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.InternalEObject
Returns:
accumulated notifications.

eBasicRemoveFromContainer

public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
Overrides:
eBasicRemoveFromContainer in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.InternalEObject
Returns:
accumulated notifications.

eGet

public java.lang.Object eGet(EStructuralFeature eFeature,
                             boolean resolve)
Specified by:
eGet in interface EObject
Overrides:
eGet in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.EObject
Parameters:
feature - the feature of the value to fetch.
resolve - whether to resolve.
Returns:
the value of the given feature of the object.
Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's features.
See Also:
InternalEList.basicIterator(), InternalEList.basicList(), EcoreUtil.resolve(EObject, ResourceSet), EObject.eSet(EStructuralFeature, Object), EObject.eUnset(EStructuralFeature), EObject.eIsSet(EStructuralFeature), EObject.eGet(EStructuralFeature)

eIsSet

public boolean eIsSet(EStructuralFeature eFeature)
Specified by:
eIsSet in interface EObject
Overrides:
eIsSet in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.EObject
Parameters:
feature - the feature in question.
Returns:
whether the feature of the object is set.
Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's features.
See Also:
EObject.eSet(EStructuralFeature, Object), EObject.eUnset(EStructuralFeature), EObject.eGet(EStructuralFeature, boolean)

eSet

public void eSet(EStructuralFeature eFeature,
                 java.lang.Object newValue)
Specified by:
eSet in interface EObject
Overrides:
eSet in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.EObject
Parameters:
feature - the feature of the value to set.
Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's features, or it isn't changeable.
ClassCastException - if there is a type conflict.
ArrayStoreException - if there is a type conflect.
See Also:
EObject.eUnset(EStructuralFeature), EObject.eIsSet(EStructuralFeature), EObject.eGet(EStructuralFeature, boolean)

eUnset

public void eUnset(EStructuralFeature eFeature)
Specified by:
eUnset in interface EObject
Overrides:
eUnset in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.EObject
Parameters:
feature - the feature in question.
Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's features, or it isn't changeable.
See Also:
EObject.eIsSet(EStructuralFeature), EObject.eSet(EStructuralFeature, Object), EObject.eGet(EStructuralFeature, boolean)

toString

public java.lang.String toString()
Overrides:
toString in class EObjectImpl

getName

public java.lang.String getName()
Overrides:
getName in class GenBaseImpl

getPackageName

public java.lang.String getPackageName()
Specified by:
getPackageName in interface GenPackage

getInterfacePackageName

public java.lang.String getInterfacePackageName()
Specified by:
getInterfacePackageName in interface GenPackage

getClassPackageName

public java.lang.String getClassPackageName()
Specified by:
getClassPackageName in interface GenPackage

getUtilitiesPackageName

public java.lang.String getUtilitiesPackageName()
Specified by:
getUtilitiesPackageName in interface GenPackage

getPackageID

public java.lang.String getPackageID()

getNSName

public java.lang.String getNSName()
Specified by:
getNSName in interface GenPackage

getNSURI

public java.lang.String getNSURI()
Specified by:
getNSURI in interface GenPackage

getPackageInterfaceName

public java.lang.String getPackageInterfaceName()
Specified by:
getPackageInterfaceName in interface GenPackage

getQualifiedPackageInterfaceName

public java.lang.String getQualifiedPackageInterfaceName()
Specified by:
getQualifiedPackageInterfaceName in interface GenPackage

getImportedPackageInterfaceName

public java.lang.String getImportedPackageInterfaceName()
Specified by:
getImportedPackageInterfaceName in interface GenPackage

getUncapPackageInterfaceName

public java.lang.String getUncapPackageInterfaceName()
Specified by:
getUncapPackageInterfaceName in interface GenPackage

getPackageClassName

public java.lang.String getPackageClassName()
Specified by:
getPackageClassName in interface GenPackage

getQualifiedPackageClassName

public java.lang.String getQualifiedPackageClassName()
Specified by:
getQualifiedPackageClassName in interface GenPackage

getImportedPackageClassName

public java.lang.String getImportedPackageClassName()
Specified by:
getImportedPackageClassName in interface GenPackage

getFactoryInterfaceName

public java.lang.String getFactoryInterfaceName()
Specified by:
getFactoryInterfaceName in interface GenPackage

getQualifiedFactoryInterfaceName

public java.lang.String getQualifiedFactoryInterfaceName()
Specified by:
getQualifiedFactoryInterfaceName in interface GenPackage

getImportedFactoryInterfaceName

public java.lang.String getImportedFactoryInterfaceName()
Specified by:
getImportedFactoryInterfaceName in interface GenPackage

getUncapFactoryInterfaceName

public java.lang.String getUncapFactoryInterfaceName()
Specified by:
getUncapFactoryInterfaceName in interface GenPackage

getFactoryClassName

public java.lang.String getFactoryClassName()
Specified by:
getFactoryClassName in interface GenPackage

getQualifiedFactoryClassName

public java.lang.String getQualifiedFactoryClassName()
Specified by:
getQualifiedFactoryClassName in interface GenPackage

getImportedFactoryClassName

public java.lang.String getImportedFactoryClassName()
Specified by:
getImportedFactoryClassName in interface GenPackage

getAdapterFactoryClassName

public java.lang.String getAdapterFactoryClassName()
Specified by:
getAdapterFactoryClassName in interface GenPackage

getQualifiedAdapterFactoryClassName

public java.lang.String getQualifiedAdapterFactoryClassName()
Specified by:
getQualifiedAdapterFactoryClassName in interface GenPackage

getImportedAdapterFactoryClassName

public java.lang.String getImportedAdapterFactoryClassName()
Specified by:
getImportedAdapterFactoryClassName in interface GenPackage

getUncapAdapterFactoryClassName

public java.lang.String getUncapAdapterFactoryClassName()
Specified by:
getUncapAdapterFactoryClassName in interface GenPackage

getSwitchClassName

public java.lang.String getSwitchClassName()
Specified by:
getSwitchClassName in interface GenPackage

getPrefixedName

protected java.lang.String getPrefixedName(java.lang.String name)

getAllGenDataTypes

public java.util.List getAllGenDataTypes()
Specified by:
getAllGenDataTypes in interface GenPackage

getOrderedGenClasses

public java.util.List getOrderedGenClasses()
Description copied from interface: GenPackage
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.
Specified by:
getOrderedGenClasses in interface GenPackage

getOrderedGenClassifiers

public java.util.List getOrderedGenClassifiers()
Specified by:
getOrderedGenClassifiers in interface GenPackage

getClassifierID

public java.lang.String getClassifierID(GenClassifier genClassifier)
Specified by:
getClassifierID in interface GenPackage

getClassifierValue

public int getClassifierValue(GenClassifier genClassifier)
Specified by:
getClassifierValue in interface GenPackage

getPackageSimpleDependencies

public java.util.List getPackageSimpleDependencies()
Specified by:
getPackageSimpleDependencies in interface GenPackage

getPackageInterDependencies

public java.util.List getPackageInterDependencies()
Specified by:
getPackageInterDependencies in interface GenPackage

getPackageInstanceVariable

public java.lang.String getPackageInstanceVariable(GenPackage genPackage)
Specified by:
getPackageInstanceVariable in interface GenPackage

collectPackages

protected void collectPackages(java.util.List result,
                               java.util.List 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.

getSubGenPackages

public java.util.List getSubGenPackages()
Description copied from interface: GenPackage
Returns a list of those nestedGenPackages for which hasClassifiers() is true.
Specified by:
getSubGenPackages in interface GenPackage

getSuperGenPackage

public GenPackage getSuperGenPackage()
Description copied from interface: GenPackage
Returns the closest GenPackage-typed container for which hasClassifiers() is true, or null if there is none.
Specified by:
getSuperGenPackage in interface GenPackage

isEcorePackage

public boolean isEcorePackage()
Specified by:
isEcorePackage in interface GenPackage

hasJavaLangConflict

public boolean hasJavaLangConflict()
Specified by:
hasJavaLangConflict in interface GenPackage

getJavaLangConflicts

public java.util.List getJavaLangConflicts()
Specified by:
getJavaLangConflicts in interface GenPackage

getAllSwitchGenClasses

public java.util.List getAllSwitchGenClasses()
Specified by:
getAllSwitchGenClasses in interface GenPackage

getClassUniqueName

public java.lang.String getClassUniqueName(GenClass genClass)
Specified by:
getClassUniqueName in interface GenPackage

initialize

public void initialize(EPackage ePackage)
Specified by:
initialize in interface GenPackage

hasModelContribution

protected boolean hasModelContribution()
Overrides:
hasModelContribution in class GenBaseImpl

generate

public void generate(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Specified by:
generate in interface GenBase
Overrides:
generate in class GenBaseImpl

generateXSD

protected void generateXSD(java.lang.String type)

getProviderPackageName

public java.lang.String getProviderPackageName()
Specified by:
getProviderPackageName in interface GenPackage

getPresentationPackageName

public java.lang.String getPresentationPackageName()
Specified by:
getPresentationPackageName in interface GenPackage

getItemProviderAdapterFactoryClassName

public java.lang.String getItemProviderAdapterFactoryClassName()
Specified by:
getItemProviderAdapterFactoryClassName in interface GenPackage

getQualifiedItemProviderAdapterFactoryClassName

public java.lang.String getQualifiedItemProviderAdapterFactoryClassName()
Specified by:
getQualifiedItemProviderAdapterFactoryClassName in interface GenPackage

getImportedItemProviderAdapterFactoryClassName

public java.lang.String getImportedItemProviderAdapterFactoryClassName()
Specified by:
getImportedItemProviderAdapterFactoryClassName in interface GenPackage

getEditorClassName

public java.lang.String getEditorClassName()
Specified by:
getEditorClassName in interface GenPackage

getQualifiedEditorClassName

public java.lang.String getQualifiedEditorClassName()
Specified by:
getQualifiedEditorClassName in interface GenPackage

getImportedEditorClassName

public java.lang.String getImportedEditorClassName()
Specified by:
getImportedEditorClassName in interface GenPackage

getModelWizardClassName

public java.lang.String getModelWizardClassName()
Specified by:
getModelWizardClassName in interface GenPackage

getQualifiedModelWizardClassName

public java.lang.String getQualifiedModelWizardClassName()
Specified by:
getQualifiedModelWizardClassName in interface GenPackage

getImportedModelWizardClassName

public java.lang.String getImportedModelWizardClassName()
Specified by:
getImportedModelWizardClassName in interface GenPackage

getActionBarContributorClassName

public java.lang.String getActionBarContributorClassName()
Specified by:
getActionBarContributorClassName in interface GenPackage

getQualifiedActionBarContributorClassName

public java.lang.String getQualifiedActionBarContributorClassName()
Specified by:
getQualifiedActionBarContributorClassName in interface GenPackage

getImportedActionBarContributorClassName

public java.lang.String getImportedActionBarContributorClassName()
Specified by:
getImportedActionBarContributorClassName in interface GenPackage

getAdapterFactoryDelegateName

public java.lang.String getAdapterFactoryDelegateName(GenPackage genDelegate)
Specified by:
getAdapterFactoryDelegateName in interface GenPackage

getUncapAdapterFactoryDelegateName

public java.lang.String getUncapAdapterFactoryDelegateName(GenPackage genDelegate)
Specified by:
getUncapAdapterFactoryDelegateName in interface GenPackage

getEditPluginClassName

public java.lang.String getEditPluginClassName()
Specified by:
getEditPluginClassName in interface GenPackage

getQualifiedEditPluginClassName

public java.lang.String getQualifiedEditPluginClassName()
Specified by:
getQualifiedEditPluginClassName in interface GenPackage

getImportedEditPluginClassName

public java.lang.String getImportedEditPluginClassName()
Specified by:
getImportedEditPluginClassName in interface GenPackage

getEditorPluginClassName

public java.lang.String getEditorPluginClassName()
Specified by:
getEditorPluginClassName in interface GenPackage

getQualifiedEditorPluginClassName

public java.lang.String getQualifiedEditorPluginClassName()
Specified by:
getQualifiedEditorPluginClassName in interface GenPackage

getImportedEditorPluginClassName

public java.lang.String getImportedEditorPluginClassName()
Specified by:
getImportedEditorPluginClassName in interface GenPackage

getCapPackageID

public java.lang.String getCapPackageID()

getAllGenFeatures

public java.util.List getAllGenFeatures()
Specified by:
getAllGenFeatures in interface GenPackage

getAdapterDelegatePackages

public java.util.List getAdapterDelegatePackages()
Specified by:
getAdapterDelegatePackages in interface GenPackage

getAdapterDelegateSuperClasses

public java.util.List getAdapterDelegateSuperClasses()
Specified by:
getAdapterDelegateSuperClasses in interface GenPackage

generateEdit

public void generateEdit(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Specified by:
generateEdit in interface GenBase
Overrides:
generateEdit in class GenBaseImpl

generateEditor

public void generateEditor(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Specified by:
generateEditor in interface GenBase
Overrides:
generateEditor in class GenBaseImpl

getModelIconFileName

public java.lang.String getModelIconFileName()

getModelWizardIconFileName

public java.lang.String getModelWizardIconFileName()

hasClassifiers

public boolean hasClassifiers()
Specified by:
hasClassifiers in interface GenPackage

reconcile

public boolean reconcile(GenPackage oldGenPackageVersion)
Specified by:
reconcile in interface GenPackage

reconcileSettings

protected void reconcileSettings(GenPackage oldGenPackageVersion)

reconcile

public boolean reconcile()
Specified by:
reconcile in interface GenBase

getAnnotationSources

public java.util.List getAnnotationSources()
Specified by:
getAnnotationSources in interface GenPackage

getAnnotationSourceIdentifier

public java.lang.String getAnnotationSourceIdentifier(java.lang.String annotationSource)
Specified by:
getAnnotationSourceIdentifier in interface GenPackage

getAllAnnotations

public java.util.List getAllAnnotations()
Specified by:
getAllAnnotations in interface GenPackage

getAnnotatedModelElementAccessor

public java.lang.String getAnnotatedModelElementAccessor(EAnnotation eAnnotation)
Specified by:
getAnnotatedModelElementAccessor in interface GenPackage

getResourceClassName

public java.lang.String getResourceClassName()
Specified by:
getResourceClassName in interface GenPackage

getQualifiedResourceClassName

public java.lang.String getQualifiedResourceClassName()
Specified by:
getQualifiedResourceClassName in interface GenPackage

getImportedResourceClassName

public java.lang.String getImportedResourceClassName()
Specified by:
getImportedResourceClassName in interface GenPackage

getImportedResourceBaseClassName

public java.lang.String getImportedResourceBaseClassName()
Specified by:
getImportedResourceBaseClassName in interface GenPackage

getResourceFactoryClassName

public java.lang.String getResourceFactoryClassName()
Specified by:
getResourceFactoryClassName in interface GenPackage

getQualifiedResourceFactoryClassName

public java.lang.String getQualifiedResourceFactoryClassName()
Specified by:
getQualifiedResourceFactoryClassName in interface GenPackage

getImportedResourceFactoryClassName

public java.lang.String getImportedResourceFactoryClassName()
Specified by:
getImportedResourceFactoryClassName in interface GenPackage

getImportedResourceFactoryBaseClassName

public java.lang.String getImportedResourceFactoryBaseClassName()
Specified by:
getImportedResourceFactoryBaseClassName in interface GenPackage

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