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

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.GenClassifierImpl
                          |
                          +--org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassImpl
All Implemented Interfaces:
EObject, GenBase, GenClass, GenClassifier, InternalEObject, Notifier

public class GenClassImpl
extends GenClassifierImpl
implements GenClass

An implementation of the model object 'Gen Class'.

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  EClass ecoreClass
          The cached value of the 'Ecore Class' reference.
protected  EList genFeatures
          The cached value of the 'Gen Features' containment reference list.
protected  EList genOperations
          The cached value of the 'Gen Operations' containment reference list.
protected  boolean image
          The cached value of the 'Image' attribute.
protected static boolean IMAGE_EDEFAULT
          The default value of the 'Image' attribute.
protected  GenFeature labelFeature
          The cached value of the 'Label Feature' reference.
protected  GenProviderKind provider
          The cached value of the 'Provider' attribute.
protected static GenProviderKind PROVIDER_EDEFAULT
          The default value of the 'Provider' 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 GenClassImpl()
          
 
Method Summary
 EClass basicGetEcoreClass()
          
 GenFeature basicGetLabelFeature()
          
 boolean canGenerateEdit()
           
 boolean canGenerateEditor()
           
 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)
           
 java.lang.String getAbstractFlag()
           
 java.util.List getAllBaseGenClasses()
           
 java.util.List getAllChildrenFeatures()
           
 java.util.List getAllGenFeatures()
           
 java.util.List getAllGenOperations()
           
 GenClass getBaseGenClass()
          This returns the GenClass for the first immediate supertype.
 java.util.List getBaseGenClasses()
           
 java.util.List getChildrenClasses(GenFeature genFeature)
           
 java.util.List getChildrenFeatures()
           
 java.lang.String getClassExtends()
           
 GenClass getClassExtendsGenClass()
          This walks up the chain of GenClasses defined by getBaseGenClass() and returns the first that does not represent an abstract class or an interface; that is, the instantiable class that the implementation class should extended.
 java.lang.String getClassImplements()
           
 java.lang.String getClassName()
           
 java.lang.String getCreateChildIconFileName(GenFeature feature, GenClass childClass)
           
 java.util.List getCrossPackageChildrenClasses(GenFeature genFeature)
           
 java.util.List getCrossPackageChildrenFeatures()
           
 java.util.List getEBasicRemoveFromContainerGenFeatures()
           
 EClass getEcoreClass()
          
 EClassifier getEcoreClassifier()
           
 java.util.List getEInverseAddGenFeatures()
           
 java.util.List getEInverseRemoveGenFeatures()
           
 java.util.List getESetGenFeatures()
           
 int getFeatureCount()
           
 java.lang.String getFeatureCountID()
           
 java.lang.String getFeatureCountValue()
           
 java.lang.String getFeatureID(GenFeature genFeature)
           
 java.lang.String getFeatureValue(GenFeature genFeature)
           
 EList getGenFeatures()
          
 EList getGenOperations()
          
protected  java.util.List getImplementedGenClasses()
           
 java.util.List getImplementedGenFeatures()
           
 java.util.List getImplementedGenOperations()
           
 java.lang.String getImportedClassName()
           
 java.lang.String getImportedInterfaceName()
           
 java.lang.String getImportedMetaType()
           
 java.lang.String getImportedProviderClassName()
           
 java.util.List getInheritedGenFeatures()
           
 java.lang.String getInterfaceExtends()
           
 java.lang.String getInterfaceFlag()
           
 java.lang.String getInterfaceName()
          This should only be called when there is actually an interface being generated (i.e.
protected  java.lang.String getInternalQualifiedInterfaceName()
           
 java.lang.String getItemIconFileName()
           
 java.lang.String getItemProviderAdapterFactoryClassName()
           
 GenFeature getLabelFeature()
          Returns the value of the 'Label Feature' reference.
 java.util.List getLabelFeatureCandidates()
           
 GenFeature getLabelFeatureGen()
          
 java.lang.String getLocalFeatureIndex(GenFeature genFeature)
           
 GenFeature getMapEntryKeyFeature()
           
 GenFeature getMapEntryValueFeature()
           
 java.util.List getMixinGenClasses()
           
 java.util.List getMixinGenFeatures()
           
 java.lang.String getModelInfo()
           
 java.util.List getNotifyFeatures()
           
 java.util.List getPropertyFeatures()
           
 GenProviderKind getProvider()
          
 java.lang.String getProviderBaseClassName()
           
 java.lang.String getProviderClassName()
           
protected  GenClass getProviderExtendsGenClass()
           
protected  java.util.List getProviderImplementedGenClasses()
           
protected  java.util.List getProviderImplementedGenFeatures()
           
 java.lang.String getQualifiedClassName()
           
 java.lang.String getQualifiedFeatureCountID()
           
 java.lang.String getQualifiedFeatureID(GenFeature genFeature)
           
 java.lang.String getQualifiedInterfaceName()
           
 java.lang.String getQualifiedProviderClassName()
           
 java.lang.String getSafeUncapName()
           
 java.util.List getSharedClassChildrenFeatures()
           
 java.util.List getSwitchGenClasses()
          Like getAllBaseGenClasses(), this returns the GenClasses for all of the supertypes, but the result is ordered by a breadth-first search, making it appropriate for use in the switch class.
 java.util.List getToStringGenFeatures()
           
 java.lang.String getUncapName()
          This returns the name uncapitalized.
protected  boolean hasModelContribution()
           
 void initialize(EClass eClass)
           
 boolean isAbstract()
           
 boolean isEObject()
           
 boolean isExternalInterface()
          This indicates that there is already an existing interface for this class or interface, so none will be generated.
 boolean isImage()
          
 boolean isInterface()
           
 boolean isMapEntry()
           
 boolean isProviderSingleton()
           
 boolean reconcile()
           
 boolean reconcile(GenClass oldGenClassVersion)
           
protected  void reconcileSettings(GenClass oldGenClassVersion)
           
 void setEcoreClass(EClass newEcoreClass)
          
 void setImage(boolean newImage)
          
 void setLabelFeature(GenFeature newLabelFeature)
          
 void setProvider(GenProviderKind newProvider)
          
 java.lang.String toString()
          
 
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassifierImpl
getClassifierAccessorName, getClassifierID, getClassifierInstanceName, getFormattedName, getGenPackage, getMetaType, getName
 
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
appendModelSetting, appendModelSetting, canGenerate, capName, collectGenClasses, collectGenFeatures, collectGenOperations, eObjectForURIFragmentSegment, ePackageGenModel, eURIFragmentSegment, filterGenClasses, findGenClass, findGenClassifier, findGenDataType, findGenEnum, findGenFeature, findGenPackage, findGenPackageHelper, findOrCreateContainer, format, generate, generate, generate, generate, generateEditor, getAllGenPackages, getGenModel, getImplClassName, getImportedType, getImportManager, getInstanceClass, getJavaLangTypes, getJavaReservedWords, getPrimitiveDefault, getPrimitiveObjectType, getType, getTypeGenClasses, isJavaUtilMapEntry, isPrimitiveType, parseName, safeName, setImportManager, uncapName, uncapPrefixedName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, 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.GenClassifier
getClassifierAccessorName, getClassifierID, getClassifierInstanceName, getFormattedName, getGenPackage, getMetaType, getName
 
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase
canGenerate, capName, ePackageGenModel, format, generateEditor, getGenModel, 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

PROVIDER_EDEFAULT

protected static final GenProviderKind PROVIDER_EDEFAULT
The default value of the 'Provider' attribute.
See Also:
getProvider()

provider

protected GenProviderKind provider
The cached value of the 'Provider' attribute.
See Also:
getProvider()

IMAGE_EDEFAULT

protected static final boolean IMAGE_EDEFAULT
The default value of the 'Image' attribute.
See Also:
isImage()

image

protected boolean image
The cached value of the 'Image' attribute.
See Also:
isImage()

ecoreClass

protected EClass ecoreClass
The cached value of the 'Ecore Class' reference.
See Also:
getEcoreClass()

genFeatures

protected EList genFeatures
The cached value of the 'Gen Features' containment reference list.
See Also:
getGenFeatures()

genOperations

protected EList genOperations
The cached value of the 'Gen Operations' containment reference list.
See Also:
getGenOperations()

labelFeature

protected GenFeature labelFeature
The cached value of the 'Label Feature' reference.
See Also:
getLabelFeature()
Constructor Detail

GenClassImpl

protected GenClassImpl()
Method Detail

eStaticClass

protected EClass eStaticClass()
Overrides:
eStaticClass in class GenClassifierImpl

getProvider

public GenProviderKind getProvider()
Specified by:
getProvider in interface GenClass
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenClass
Returns:
the value of the 'Provider' attribute.
See Also:
GenProviderKind, GenClass.setProvider(GenProviderKind), GenModelPackage.getGenClass_Provider()

isProviderSingleton

public boolean isProviderSingleton()
Specified by:
isProviderSingleton in interface GenClass

setProvider

public void setProvider(GenProviderKind newProvider)
Specified by:
setProvider in interface GenClass
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenClass
Parameters:
value - the new value of the 'Provider' attribute.
See Also:
GenProviderKind, GenClass.getProvider()

isImage

public boolean isImage()
Specified by:
isImage in interface GenClass
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenClass
Returns:
the value of the 'Image' attribute.
See Also:
GenClass.setImage(boolean), GenModelPackage.getGenClass_Image()

setImage

public void setImage(boolean newImage)
Specified by:
setImage in interface GenClass
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenClass
Parameters:
value - the new value of the 'Image' attribute.
See Also:
GenClass.isImage()

getEcoreClass

public EClass getEcoreClass()
Specified by:
getEcoreClass in interface GenClass
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenClass
Returns:
the value of the 'Ecore Class' reference.
See Also:
GenClass.setEcoreClass(EClass), GenModelPackage.getGenClass_EcoreClass()

basicGetEcoreClass

public EClass basicGetEcoreClass()

setEcoreClass

public void setEcoreClass(EClass newEcoreClass)
Specified by:
setEcoreClass in interface GenClass
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenClass
Parameters:
value - the new value of the 'Ecore Class' reference.
See Also:
GenClass.getEcoreClass()

getGenFeatures

public EList getGenFeatures()
Specified by:
getGenFeatures in interface GenClass
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenClass
Returns:
the value of the 'Gen Features' containment reference list.
See Also:
GenModelPackage.getGenClass_GenFeatures(), GenFeature.getGenClass()

getGenOperations

public EList getGenOperations()
Specified by:
getGenOperations in interface GenClass
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenClass
Returns:
the value of the 'Gen Operations' containment reference list.
See Also:
GenModelPackage.getGenClass_GenOperations(), GenOperation.getGenClass()

getEcoreClassifier

public EClassifier getEcoreClassifier()
Specified by:
getEcoreClassifier in interface GenClassifier
Overrides:
getEcoreClassifier in class GenClassifierImpl

getImportedMetaType

public java.lang.String getImportedMetaType()
Specified by:
getImportedMetaType in interface GenClassifier
Overrides:
getImportedMetaType in class GenClassifierImpl

getInterfaceName

public java.lang.String getInterfaceName()
Description copied from interface: GenClass
This should only be called when there is actually an interface being generated (i.e. when, for certain, this is not an external interface). Otherwise, getImportedInterfaceName() should be used.
Specified by:
getInterfaceName in interface GenClass

getQualifiedInterfaceName

public java.lang.String getQualifiedInterfaceName()
Specified by:
getQualifiedInterfaceName in interface GenClass

getInternalQualifiedInterfaceName

protected java.lang.String getInternalQualifiedInterfaceName()

getImportedInterfaceName

public java.lang.String getImportedInterfaceName()
Specified by:
getImportedInterfaceName in interface GenClass

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface GenClass

getQualifiedClassName

public java.lang.String getQualifiedClassName()
Specified by:
getQualifiedClassName in interface GenClass

getImportedClassName

public java.lang.String getImportedClassName()
Specified by:
getImportedClassName in interface GenClass

getUncapName

public java.lang.String getUncapName()
Description copied from interface: GenClass
This returns the name uncapitalized. Callers that plan to use this name without appending a suffix should call getSafeUncapInterfaceName() to make sure it's not a reserved word.
Specified by:
getUncapName in interface GenClass

getSafeUncapName

public java.lang.String getSafeUncapName()
Specified by:
getSafeUncapName in interface GenClass

getBaseGenClasses

public java.util.List getBaseGenClasses()
Specified by:
getBaseGenClasses in interface GenClass

getAllBaseGenClasses

public java.util.List getAllBaseGenClasses()
Specified by:
getAllBaseGenClasses in interface GenClass

getSwitchGenClasses

public java.util.List getSwitchGenClasses()
Description copied from interface: GenClass
Like getAllBaseGenClasses(), this returns the GenClasses for all of the supertypes, but the result is ordered by a breadth-first search, making it appropriate for use in the switch class.
Specified by:
getSwitchGenClasses in interface GenClass

getBaseGenClass

public GenClass getBaseGenClass()
Description copied from interface: GenClass
This returns the GenClass for the first immediate supertype.
Specified by:
getBaseGenClass in interface GenClass

getClassExtendsGenClass

public GenClass getClassExtendsGenClass()
Description copied from interface: GenClass
This walks up the chain of GenClasses defined by getBaseGenClass() and returns the first that does not represent an abstract class or an interface; that is, the instantiable class that the implementation class should extended.
Specified by:
getClassExtendsGenClass in interface GenClass

getClassExtends

public java.lang.String getClassExtends()
Specified by:
getClassExtends in interface GenClass

getClassImplements

public java.lang.String getClassImplements()
Specified by:
getClassImplements in interface GenClass

getInterfaceExtends

public java.lang.String getInterfaceExtends()
Specified by:
getInterfaceExtends in interface GenClass

getAllGenFeatures

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

getInheritedGenFeatures

public java.util.List getInheritedGenFeatures()
Specified by:
getInheritedGenFeatures in interface GenClass

getAllGenOperations

public java.util.List getAllGenOperations()
Specified by:
getAllGenOperations in interface GenClass

getFeatureID

public java.lang.String getFeatureID(GenFeature genFeature)
Specified by:
getFeatureID in interface GenClass

getQualifiedFeatureID

public java.lang.String getQualifiedFeatureID(GenFeature genFeature)
Specified by:
getQualifiedFeatureID in interface GenClass

getFeatureValue

public java.lang.String getFeatureValue(GenFeature genFeature)
Specified by:
getFeatureValue in interface GenClass

getLocalFeatureIndex

public java.lang.String getLocalFeatureIndex(GenFeature genFeature)
Specified by:
getLocalFeatureIndex in interface GenClass

getFeatureCountID

public java.lang.String getFeatureCountID()
Specified by:
getFeatureCountID in interface GenClass

getQualifiedFeatureCountID

public java.lang.String getQualifiedFeatureCountID()
Specified by:
getQualifiedFeatureCountID in interface GenClass

getFeatureCountValue

public java.lang.String getFeatureCountValue()
Specified by:
getFeatureCountValue in interface GenClass

getFeatureCount

public int getFeatureCount()
Specified by:
getFeatureCount in interface GenClass

isEObject

public boolean isEObject()
Specified by:
isEObject in interface GenClass

isAbstract

public boolean isAbstract()
Specified by:
isAbstract in interface GenClass

getAbstractFlag

public java.lang.String getAbstractFlag()
Specified by:
getAbstractFlag in interface GenClass

isInterface

public boolean isInterface()
Specified by:
isInterface in interface GenClass

getInterfaceFlag

public java.lang.String getInterfaceFlag()
Specified by:
getInterfaceFlag in interface GenClass

isExternalInterface

public boolean isExternalInterface()
Description copied from interface: GenClass
This indicates that there is already an existing interface for this class or interface, so none will be generated. Any other generated that wishes to refer to its interface should use the value from getQualifiedInterfaceName() or getImportedInterfaceName().
Specified by:
isExternalInterface in interface GenClass

isMapEntry

public boolean isMapEntry()
Specified by:
isMapEntry in interface GenClass

getMapEntryKeyFeature

public GenFeature getMapEntryKeyFeature()
Specified by:
getMapEntryKeyFeature in interface GenClass

getMapEntryValueFeature

public GenFeature getMapEntryValueFeature()
Specified by:
getMapEntryValueFeature in interface GenClass

getImplementedGenClasses

protected java.util.List getImplementedGenClasses()

getImplementedGenFeatures

public java.util.List getImplementedGenFeatures()
Specified by:
getImplementedGenFeatures in interface GenClass

getImplementedGenOperations

public java.util.List getImplementedGenOperations()
Specified by:
getImplementedGenOperations in interface GenClass

getESetGenFeatures

public java.util.List getESetGenFeatures()
Specified by:
getESetGenFeatures in interface GenClass

getEInverseAddGenFeatures

public java.util.List getEInverseAddGenFeatures()
Specified by:
getEInverseAddGenFeatures in interface GenClass

getEInverseRemoveGenFeatures

public java.util.List getEInverseRemoveGenFeatures()
Specified by:
getEInverseRemoveGenFeatures in interface GenClass

getEBasicRemoveFromContainerGenFeatures

public java.util.List getEBasicRemoveFromContainerGenFeatures()
Specified by:
getEBasicRemoveFromContainerGenFeatures in interface GenClass

getToStringGenFeatures

public java.util.List getToStringGenFeatures()
Specified by:
getToStringGenFeatures in interface GenClass

getMixinGenClasses

public java.util.List getMixinGenClasses()
Specified by:
getMixinGenClasses in interface GenClass

getMixinGenFeatures

public java.util.List getMixinGenFeatures()
Specified by:
getMixinGenFeatures in interface GenClass

initialize

public void initialize(EClass eClass)
Specified by:
initialize in interface GenClass

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

getModelInfo

public java.lang.String getModelInfo()
Specified by:
getModelInfo in interface GenClass
Overrides:
getModelInfo in class GenBaseImpl

getProviderClassName

public java.lang.String getProviderClassName()
Specified by:
getProviderClassName in interface GenClass

getQualifiedProviderClassName

public java.lang.String getQualifiedProviderClassName()
Specified by:
getQualifiedProviderClassName in interface GenClass

getImportedProviderClassName

public java.lang.String getImportedProviderClassName()
Specified by:
getImportedProviderClassName in interface GenClass

getItemIconFileName

public java.lang.String getItemIconFileName()

getCreateChildIconFileName

public java.lang.String getCreateChildIconFileName(GenFeature feature,
                                                   GenClass childClass)

getProviderExtendsGenClass

protected GenClass getProviderExtendsGenClass()

getProviderBaseClassName

public java.lang.String getProviderBaseClassName()
Specified by:
getProviderBaseClassName in interface GenClass

getProviderImplementedGenClasses

protected java.util.List getProviderImplementedGenClasses()

getProviderImplementedGenFeatures

protected java.util.List getProviderImplementedGenFeatures()

getLabelFeatureCandidates

public java.util.List getLabelFeatureCandidates()
Specified by:
getLabelFeatureCandidates in interface GenClass

getPropertyFeatures

public java.util.List getPropertyFeatures()
Specified by:
getPropertyFeatures in interface GenClass

getNotifyFeatures

public java.util.List getNotifyFeatures()
Specified by:
getNotifyFeatures in interface GenClass

getChildrenFeatures

public java.util.List getChildrenFeatures()
Specified by:
getChildrenFeatures in interface GenClass

getAllChildrenFeatures

public java.util.List getAllChildrenFeatures()
Specified by:
getAllChildrenFeatures in interface GenClass

getCrossPackageChildrenFeatures

public java.util.List getCrossPackageChildrenFeatures()
Specified by:
getCrossPackageChildrenFeatures in interface GenClass

getSharedClassChildrenFeatures

public java.util.List getSharedClassChildrenFeatures()
Specified by:
getSharedClassChildrenFeatures in interface GenClass

getChildrenClasses

public java.util.List getChildrenClasses(GenFeature genFeature)
Specified by:
getChildrenClasses in interface GenClass

getCrossPackageChildrenClasses

public java.util.List getCrossPackageChildrenClasses(GenFeature genFeature)
Specified by:
getCrossPackageChildrenClasses in interface GenClass

getLabelFeatureGen

public GenFeature getLabelFeatureGen()

getLabelFeature

public GenFeature getLabelFeature()
Description copied from interface: GenClass
Returns the value of the 'Label Feature' reference.

If the meaning of the 'Label Feature' reference isn't clear, there really should be more of a description here...

Specified by:
getLabelFeature in interface GenClass
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenClass
Returns:
the value of the 'Label Feature' reference.
See Also:
GenClass.setLabelFeature(GenFeature), GenModelPackage.getGenClass_LabelFeature()

basicGetLabelFeature

public GenFeature basicGetLabelFeature()

setLabelFeature

public void setLabelFeature(GenFeature newLabelFeature)
Specified by:
setLabelFeature in interface GenClass
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenClass
Parameters:
value - the new value of the 'Label Feature' reference.
See Also:
GenClass.getLabelFeature()

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.

eGet

public java.lang.Object eGet(EStructuralFeature eFeature,
                             boolean resolve)
Specified by:
eGet in interface EObject
Overrides:
eGet in class GenClassifierImpl
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 GenClassifierImpl
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

getItemProviderAdapterFactoryClassName

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

canGenerateEdit

public boolean canGenerateEdit()
Specified by:
canGenerateEdit in interface GenBase
Overrides:
canGenerateEdit in class GenBaseImpl

canGenerateEditor

public boolean canGenerateEditor()
Specified by:
canGenerateEditor in interface GenBase
Overrides:
canGenerateEditor in class GenBaseImpl

generateEdit

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

reconcile

public boolean reconcile(GenClass oldGenClassVersion)
Specified by:
reconcile in interface GenClass

reconcileSettings

protected void reconcileSettings(GenClass oldGenClassVersion)

reconcile

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

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