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

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.ElementTypeImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, ElementType
Direct Known Subclasses:
MetamodelTypeImpl, NotationTypeImpl, SpecializationTypeImpl

public abstract class ElementTypeImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements ElementType

An implementation of the model object 'Element Type'.

The following features are implemented:

Generated

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static boolean DEFINED_EXTERNALLY_EDEFAULT
          The default value of the 'Defined Externally' attribute.
protected  boolean definedExternally
          The cached value of the 'Defined Externally' attribute.
protected static String DISPLAY_NAME_EDEFAULT
          The default value of the 'Display Name' attribute.
protected  String displayName
          The cached value of the 'Display Name' attribute.
protected static String UNIQUE_IDENTIFIER_EDEFAULT
          The default value of the 'Unique Identifier' attribute.
protected  String uniqueIdentifier
          The cached value of the 'Unique Identifier' attribute.
 
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 ElementTypeImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetDiagramElement(GenCommonBase newDiagramElement, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 GenCommonBase getDiagramElement()
           
 String getDisplayName()
          Returns the value of the 'Display Name' attribute.
 String getDisplayNameGen()
           
 String getUniqueIdentifier()
          Returns the value of the 'Unique Identifier' attribute.
 String getUniqueIdentifierGen()
           
 boolean isDefinedExternally()
           
 void setDefinedExternally(boolean newDefinedExternally)
           
 void setDiagramElement(GenCommonBase newDiagramElement)
           
 void setDisplayName(String newDisplayName)
           
 void setUniqueIdentifier(String newUniqueIdentifier)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, 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, eInvoke, 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

UNIQUE_IDENTIFIER_EDEFAULT

protected static final String UNIQUE_IDENTIFIER_EDEFAULT
The default value of the 'Unique Identifier' attribute.

See Also:
getUniqueIdentifier()
Generated
Ordered

uniqueIdentifier

protected String uniqueIdentifier
The cached value of the 'Unique Identifier' attribute.

See Also:
getUniqueIdentifier()
Generated
Ordered

DISPLAY_NAME_EDEFAULT

protected static final String DISPLAY_NAME_EDEFAULT
The default value of the 'Display Name' attribute.

See Also:
getDisplayName()
Generated
Ordered

displayName

protected String displayName
The cached value of the 'Display Name' attribute.

See Also:
getDisplayName()
Generated
Ordered

DEFINED_EXTERNALLY_EDEFAULT

protected static final boolean DEFINED_EXTERNALLY_EDEFAULT
The default value of the 'Defined Externally' attribute.

See Also:
isDefinedExternally(), Constant Field Values
Generated
Ordered

definedExternally

protected boolean definedExternally
The cached value of the 'Defined Externally' attribute.

See Also:
isDefinedExternally()
Generated
Ordered
Constructor Detail

ElementTypeImpl

protected ElementTypeImpl()

Generated
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class org.eclipse.emf.ecore.impl.EObjectImpl
Generated

getDiagramElement

public GenCommonBase getDiagramElement()

Specified by:
getDiagramElement in interface ElementType
Returns:
the value of the 'Diagram Element' container reference.
See Also:
ElementType.setDiagramElement(GenCommonBase), GMFGenPackage.getElementType_DiagramElement(), GenCommonBase.getElementType()
Generated

basicSetDiagramElement

public org.eclipse.emf.common.notify.NotificationChain basicSetDiagramElement(GenCommonBase newDiagramElement,
                                                                              org.eclipse.emf.common.notify.NotificationChain msgs)

Generated

setDiagramElement

public void setDiagramElement(GenCommonBase newDiagramElement)

Specified by:
setDiagramElement in interface ElementType
Parameters:
newDiagramElement - the new value of the 'Diagram Element' container reference.
See Also:
ElementType.getDiagramElement()
Generated

getUniqueIdentifierGen

public String getUniqueIdentifierGen()

Generated

getUniqueIdentifier

public String getUniqueIdentifier()
Description copied from interface: ElementType
Returns the value of the 'Unique Identifier' attribute.

If the meaning of the 'Unique Identifier' attribute isn't clear, there really should be more of a description here...

Specified by:
getUniqueIdentifier in interface ElementType
Returns:
the value of the 'Unique Identifier' attribute.
See Also:
ElementType.setUniqueIdentifier(String), GMFGenPackage.getElementType_UniqueIdentifier()

setUniqueIdentifier

public void setUniqueIdentifier(String newUniqueIdentifier)

Specified by:
setUniqueIdentifier in interface ElementType
Parameters:
newUniqueIdentifier - the new value of the 'Unique Identifier' attribute.
See Also:
ElementType.getUniqueIdentifier()
Generated

getDisplayNameGen

public String getDisplayNameGen()

Generated

getDisplayName

public String getDisplayName()
Description copied from interface: ElementType
Returns the value of the 'Display Name' attribute. When there's palette, defaults to title of first tool that uses element with this type

Specified by:
getDisplayName in interface ElementType
Returns:
the value of the 'Display Name' attribute.
See Also:
ElementType.setDisplayName(String), GMFGenPackage.getElementType_DisplayName()

setDisplayName

public void setDisplayName(String newDisplayName)

Specified by:
setDisplayName in interface ElementType
Parameters:
newDisplayName - the new value of the 'Display Name' attribute.
See Also:
ElementType.getDisplayName()
Generated

isDefinedExternally

public boolean isDefinedExternally()

Specified by:
isDefinedExternally in interface ElementType
Returns:
the value of the 'Defined Externally' attribute.
See Also:
ElementType.setDefinedExternally(boolean), GMFGenPackage.getElementType_DefinedExternally()
Generated

setDefinedExternally

public void setDefinedExternally(boolean newDefinedExternally)

Specified by:
setDefinedExternally in interface ElementType
Parameters:
newDefinedExternally - the new value of the 'Defined Externally' attribute.
See Also:
ElementType.isDefinedExternally()
Generated

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

toString

public String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated


Copyright © 2012. All Rights Reserved.