Generation Framework

org.eclipse.gmf.codegen.gmfgen.impl
Class TypeModelFacetImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.gmf.codegen.gmfgen.impl.TypeModelFacetImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, ModelFacet, TypeModelFacet
Direct Known Subclasses:
TypeLinkModelFacetImpl

public class TypeModelFacetImpl
extends EObjectImpl
implements TypeModelFacet

An implementation of the model object 'Type Model Facet'.

The following features are implemented:

** Generated **

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  GenFeature childMetaFeature
          The cached value of the 'Child Meta Feature' reference
protected  GenFeature containmentMetaFeature
          The cached value of the 'Containment Meta Feature' reference
protected  GenClass metaClass
          The cached value of the 'Meta Class' reference
protected  GenElementInitializer modelElementInitializer
          The cached value of the 'Model Element Initializer' containment reference
protected  GenConstraint modelElementSelector
          The cached value of the 'Model Element Selector' containment reference
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected TypeModelFacetImpl()
           
 
Method Summary
 GenFeature basicGetChildMetaFeature()
           
 GenFeature basicGetContainmentMetaFeature()
           
 GenClass basicGetMetaClass()
           
 NotificationChain basicSetModelElementInitializer(GenElementInitializer newModelElementInitializer, NotificationChain msgs)
           
 NotificationChain basicSetModelElementSelector(GenConstraint newModelElementSelector, NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 GenFeature getChildMetaFeature()
          Returns the value of the 'Child Meta Feature' reference
 GenFeature getChildMetaFeatureGen()
           
 GenFeature getContainmentMetaFeature()
           
 GenClass getMetaClass()
           
 GenElementInitializer getModelElementInitializer()
           
 GenConstraint getModelElementSelector()
           
 boolean isPhantomElement()
           
 void setChildMetaFeature(GenFeature newChildMetaFeature)
           
 void setContainmentMetaFeature(GenFeature newContainmentMetaFeature)
           
 void setMetaClass(GenClass newMetaClass)
           
 void setModelElementInitializer(GenElementInitializer newModelElementInitializer)
           
 void setModelElementSelector(GenConstraint newModelElementSelector)
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

metaClass

protected GenClass metaClass
The cached value of the 'Meta Class' reference.

See Also:
getMetaClass()
** Generated **
Ordered:

containmentMetaFeature

protected GenFeature containmentMetaFeature
The cached value of the 'Containment Meta Feature' reference.

See Also:
getContainmentMetaFeature()
** Generated **
Ordered:

childMetaFeature

protected GenFeature childMetaFeature
The cached value of the 'Child Meta Feature' reference.

See Also:
getChildMetaFeature()
** Generated **
Ordered:

modelElementSelector

protected GenConstraint modelElementSelector
The cached value of the 'Model Element Selector' containment reference.

See Also:
getModelElementSelector()
** Generated **
Ordered:

modelElementInitializer

protected GenElementInitializer modelElementInitializer
The cached value of the 'Model Element Initializer' containment reference.

See Also:
getModelElementInitializer()
** Generated **
Ordered:
Constructor Detail

TypeModelFacetImpl

protected TypeModelFacetImpl()

** Generated **
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EObjectImpl
** Generated **

getMetaClass

public GenClass getMetaClass()

Specified by:
getMetaClass in interface TypeModelFacet
Returns:
the value of the 'Meta Class' reference.
See Also:
TypeModelFacet.setMetaClass(GenClass), GMFGenPackage.getTypeModelFacet_MetaClass()
** Generated **

basicGetMetaClass

public GenClass basicGetMetaClass()

** Generated **

setMetaClass

public void setMetaClass(GenClass newMetaClass)

Specified by:
setMetaClass in interface TypeModelFacet
Parameters:
newMetaClass - the new value of the 'Meta Class' reference.
See Also:
TypeModelFacet.getMetaClass()
** Generated **

getContainmentMetaFeature

public GenFeature getContainmentMetaFeature()

Specified by:
getContainmentMetaFeature in interface TypeModelFacet
Returns:
the value of the 'Containment Meta Feature' reference.
See Also:
TypeModelFacet.setContainmentMetaFeature(GenFeature), GMFGenPackage.getTypeModelFacet_ContainmentMetaFeature()
** Generated **

basicGetContainmentMetaFeature

public GenFeature basicGetContainmentMetaFeature()

** Generated **

setContainmentMetaFeature

public void setContainmentMetaFeature(GenFeature newContainmentMetaFeature)

Specified by:
setContainmentMetaFeature in interface TypeModelFacet
Parameters:
newContainmentMetaFeature - the new value of the 'Containment Meta Feature' reference.
See Also:
TypeModelFacet.getContainmentMetaFeature()
** Generated **

getChildMetaFeatureGen

public GenFeature getChildMetaFeatureGen()

** Generated **

getChildMetaFeature

public GenFeature getChildMetaFeature()
Description copied from interface: TypeModelFacet
Returns the value of the 'Child Meta Feature' reference. Usually the same as containmentMetaFeature, unless you need to distinguish where to put and where to get from

Specified by:
getChildMetaFeature in interface TypeModelFacet
Returns:
the value of the 'Child Meta Feature' reference.
See Also:
TypeModelFacet.setChildMetaFeature(GenFeature), GMFGenPackage.getTypeModelFacet_ChildMetaFeature()

basicGetChildMetaFeature

public GenFeature basicGetChildMetaFeature()

** Generated **

setChildMetaFeature

public void setChildMetaFeature(GenFeature newChildMetaFeature)

Specified by:
setChildMetaFeature in interface TypeModelFacet
Parameters:
newChildMetaFeature - the new value of the 'Child Meta Feature' reference.
See Also:
TypeModelFacet.getChildMetaFeature()
** Generated **

getModelElementSelector

public GenConstraint getModelElementSelector()

Specified by:
getModelElementSelector in interface TypeModelFacet
Returns:
the value of the 'Model Element Selector' containment reference.
See Also:
TypeModelFacet.setModelElementSelector(GenConstraint), GMFGenPackage.getTypeModelFacet_ModelElementSelector()
** Generated **

basicSetModelElementSelector

public NotificationChain basicSetModelElementSelector(GenConstraint newModelElementSelector,
                                                      NotificationChain msgs)

** Generated **

setModelElementSelector

public void setModelElementSelector(GenConstraint newModelElementSelector)

Specified by:
setModelElementSelector in interface TypeModelFacet
Parameters:
newModelElementSelector - the new value of the 'Model Element Selector' containment reference.
See Also:
TypeModelFacet.getModelElementSelector()
** Generated **

getModelElementInitializer

public GenElementInitializer getModelElementInitializer()

Specified by:
getModelElementInitializer in interface TypeModelFacet
Returns:
the value of the 'Model Element Initializer' containment reference.
See Also:
TypeModelFacet.setModelElementInitializer(GenElementInitializer), GMFGenPackage.getTypeModelFacet_ModelElementInitializer()
** Generated **

basicSetModelElementInitializer

public NotificationChain basicSetModelElementInitializer(GenElementInitializer newModelElementInitializer,
                                                         NotificationChain msgs)

** Generated **

setModelElementInitializer

public void setModelElementInitializer(GenElementInitializer newModelElementInitializer)

Specified by:
setModelElementInitializer in interface TypeModelFacet
Parameters:
newModelElementInitializer - the new value of the 'Model Element Initializer' containment reference.
See Also:
TypeModelFacet.getModelElementInitializer()
** Generated **

isPhantomElement

public boolean isPhantomElement()

Specified by:
isPhantomElement in interface TypeModelFacet
** Generated **
NOT

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class BasicEObjectImpl
** Generated **

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class BasicEObjectImpl
** Generated **

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class BasicEObjectImpl
** Generated **

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class BasicEObjectImpl
** Generated **

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class BasicEObjectImpl
** Generated **

Generation Framework

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.