org.eclipse.ohf.stem.core.graph.impl
Class LabelImpl

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.ohf.stem.core.common.impl.IdentifiableImpl
                  extended by org.eclipse.ohf.stem.core.graph.impl.LabelImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Identifiable, SanityChecker, Label
Direct Known Subclasses:
DynamicLabelImpl, EdgeLabelImpl, NodeLabelImpl, TestLabelImpl

public abstract class LabelImpl
extends IdentifiableImpl
implements Label

An implementation of the model object 'Label'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.ohf.stem.core.graph.Label
URI_TYPE_LABEL, URI_TYPE_LABEL_SEGMENT
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 Identifiable basicGetIdentifiable()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetCurrentValue(LabelValue newCurrentValue, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 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, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 LabelValue getCurrentValue()
           
 Identifiable getIdentifiable()
           
 org.eclipse.emf.common.util.URI getURIOfIdentifiableToBeLabeled()
           
 boolean sane()
           
 void setCurrentValue(LabelValue newCurrentValue)
           
 void setIdentifiable(Identifiable newIdentifiable)
           
 void setURIOfIdentifiableToBeLabeled(org.eclipse.emf.common.util.URI newURIOfIdentifiableToBeLabeled)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ohf.stem.core.common.impl.IdentifiableImpl
basicSetDublinCore, getDublinCore, getTypeURI, getURI, setDublinCore, setTypeURI, setURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ohf.stem.core.common.Identifiable
getDublinCore, getTypeURI, getURI, setDublinCore, setTypeURI, setURI
 
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
 

Method Detail

getCurrentValue

public LabelValue getCurrentValue()

Specified by:
getCurrentValue in interface Label

basicSetCurrentValue

public org.eclipse.emf.common.notify.NotificationChain basicSetCurrentValue(LabelValue newCurrentValue,
                                                                            org.eclipse.emf.common.notify.NotificationChain msgs)


setCurrentValue

public void setCurrentValue(LabelValue newCurrentValue)

Specified by:
setCurrentValue in interface Label
Parameters:
newCurrentValue - the new value of the 'Current Value' containment reference.
See Also:
Label.getCurrentValue()

getIdentifiable

public Identifiable getIdentifiable()

Specified by:
getIdentifiable in interface Label
Returns:
the Identifiable labeled by this Label

basicGetIdentifiable

public Identifiable basicGetIdentifiable()


setIdentifiable

public void setIdentifiable(Identifiable newIdentifiable)

Specified by:
setIdentifiable in interface Label
Parameters:
newIdentifiable - the new value of the 'Identifiable' reference.
See Also:
Label.getIdentifiable()

getURIOfIdentifiableToBeLabeled

public org.eclipse.emf.common.util.URI getURIOfIdentifiableToBeLabeled()

Specified by:
getURIOfIdentifiableToBeLabeled in interface Label
Returns:
the URI of the Identifiable that this Label labels. This value is typically used when combining "graph fragments" to resolve the connection between the Label and the Identifiable it labels.
See Also:
Graph.addGraph(Graph), UnresolvedIdentifiable, Label.getIdentifiable()

setURIOfIdentifiableToBeLabeled

public void setURIOfIdentifiableToBeLabeled(org.eclipse.emf.common.util.URI newURIOfIdentifiableToBeLabeled)

Specified by:
setURIOfIdentifiableToBeLabeled in interface Label
Parameters:
newURIOfIdentifiableToBeLabeled - the new value of the 'URI Of Identifiable To Be Labeled' attribute.
See Also:
Label.getURIOfIdentifiableToBeLabeled()

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 IdentifiableImpl

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class IdentifiableImpl

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class IdentifiableImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class IdentifiableImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class IdentifiableImpl

toString

public java.lang.String toString()

Overrides:
toString in class IdentifiableImpl

sane

public boolean sane()
Description copied from class: IdentifiableImpl

Specified by:
sane in interface Identifiable
Specified by:
sane in interface SanityChecker
Overrides:
sane in class IdentifiableImpl
Returns:
true if the instance is "sane", false otherwise.
See Also:
com.ibm.almaden.stem.common.impl.IdentifiableImpl#sane()