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

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

public abstract class DynamicLabelImpl
extends LabelImpl
implements DynamicLabel

An implementation of the model object 'Dynamic 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.DynamicLabel
URI_TYPE_DYNAMIC_LABEL, URI_TYPE_DYNAMIC_LABEL_SEGMENT
 
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
 Decorator basicGetDecorator()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetDecorator(Decorator newDecorator, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetNextValue(LabelValue newNextValue, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.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, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 Decorator getDecorator()
           
 LabelValue getNextValue()
           
 boolean isNextValueValid()
           
 void reset()
          Set the next value valid flag to false.
 boolean sane()
           
 void setDecorator(Decorator newDecorator)
           
 void setNextValue(LabelValue newNextValue)
           
 void setNextValueValid(boolean newNextValueValid)
           
 void switchToNextValue()
          Exchange the current value for the next value.
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ohf.stem.core.graph.impl.LabelImpl
basicGetIdentifiable, basicSetCurrentValue, getCurrentValue, getIdentifiable, getURIOfIdentifiableToBeLabeled, setCurrentValue, setIdentifiable, setURIOfIdentifiableToBeLabeled
 
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, 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.graph.Label
getCurrentValue, getIdentifiable, getURIOfIdentifiableToBeLabeled, setCurrentValue, setIdentifiable, setURIOfIdentifiableToBeLabeled
 
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

getNextValue

public LabelValue getNextValue()

Specified by:
getNextValue in interface DynamicLabel
Returns:
the "next" LabelValue.

basicSetNextValue

public org.eclipse.emf.common.notify.NotificationChain basicSetNextValue(LabelValue newNextValue,
                                                                         org.eclipse.emf.common.notify.NotificationChain msgs)


setNextValue

public void setNextValue(LabelValue newNextValue)

Specified by:
setNextValue in interface DynamicLabel
Parameters:
newNextValue - the new value of the 'Next Value' containment reference.
See Also:
DynamicLabel.getNextValue()

getDecorator

public Decorator getDecorator()

Specified by:
getDecorator in interface DynamicLabel
Returns:
the Decorator that updates this DynamicLabel.

basicGetDecorator

public Decorator basicGetDecorator()


basicSetDecorator

public org.eclipse.emf.common.notify.NotificationChain basicSetDecorator(Decorator newDecorator,
                                                                         org.eclipse.emf.common.notify.NotificationChain msgs)


setDecorator

public void setDecorator(Decorator newDecorator)

Specified by:
setDecorator in interface DynamicLabel
Parameters:
newDecorator - the new value of the 'Decorator' reference.
See Also:
DynamicLabel.getDecorator()

isNextValueValid

public boolean isNextValueValid()

Specified by:
isNextValueValid in interface DynamicLabel
Returns:
true if the next value is valid

setNextValueValid

public void setNextValueValid(boolean newNextValueValid)

Specified by:
setNextValueValid in interface DynamicLabel
Parameters:
newNextValueValid - the new value of the 'Next Value Valid' attribute.
See Also:
DynamicLabel.isNextValueValid()

reset

public void reset()
Set the next value valid flag to false.

Specified by:
reset in interface DynamicLabel

switchToNextValue

public void switchToNextValue()
Exchange the current value for the next value.

Specified by:
switchToNextValue in interface DynamicLabel

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

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 LabelImpl

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 LabelImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class LabelImpl

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 LabelImpl
Returns:
true if the instance is "sane", false otherwise.
See Also:
com.ibm.almaden.stem.graph.impl.LabelImpl#sane()