de.cau.cs.kieler.keg.impl
Class EdgeImpl

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 de.cau.cs.kieler.core.kgraph.impl.KGraphElementImpl
                  extended by de.cau.cs.kieler.core.kgraph.impl.KLabeledGraphElementImpl
                      extended by de.cau.cs.kieler.core.kgraph.impl.KEdgeImpl
                          extended by de.cau.cs.kieler.keg.impl.EdgeImpl
All Implemented Interfaces:
KEdge, KGraphElement, KLabeledGraphElement, Edge, Notifier, EObject, InternalEObject

public class EdgeImpl
extends KEdgeImpl
implements Edge

An implementation of the model object 'Edge'.

The following features are implemented:

Rating red
Generated:
This code was automatically 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 Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  boolean directed
          The cached value of the 'Directed' attribute.
protected static boolean DIRECTED_EDEFAULT
          The default value of the 'Directed' attribute.
protected static String HEAD_LABEL_EDEFAULT
          The default value of the 'Head Label' attribute.
protected  String headLabel
          The cached value of the 'Head Label' attribute.
protected static String MID_LABEL_EDEFAULT
          The default value of the 'Mid Label' attribute.
protected  String midLabel
          The cached value of the 'Mid Label' attribute.
protected static String TAIL_LABEL_EDEFAULT
          The default value of the 'Tail Label' attribute.
protected  String tailLabel
          The cached value of the 'Tail Label' attribute.
protected  EdgeType type
          The cached value of the 'Type' attribute.
protected static EdgeType TYPE_EDEFAULT
          The default value of the 'Type' attribute.
 
Fields inherited from class de.cau.cs.kieler.core.kgraph.impl.KEdgeImpl
sourcePort, target, targetPort
 
Fields inherited from class de.cau.cs.kieler.core.kgraph.impl.KLabeledGraphElementImpl
labels
 
Fields inherited from class de.cau.cs.kieler.core.kgraph.impl.KGraphElementImpl
data
 
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 EdgeImpl()
           
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 String getHeadLabel()
           
 String getMidLabel()
           
 String getTailLabel()
           
 EdgeType getType()
           
 boolean isDirected()
           
 void setDirected(boolean newDirected)
           
 void setHeadLabel(String newHeadLabel)
           
 void setMidLabel(String newMidLabel)
           
 void setTailLabel(String newTailLabel)
           
 void setType(EdgeType newType)
           
 String toString()
           
 
Methods inherited from class de.cau.cs.kieler.core.kgraph.impl.KEdgeImpl
basicGetSourcePort, basicGetTarget, basicGetTargetPort, basicSetSource, basicSetTarget, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getSource, getSourcePort, getTarget, getTargetPort, setSource, setSourcePort, setTarget, setTargetPort
 
Methods inherited from class de.cau.cs.kieler.core.kgraph.impl.KLabeledGraphElementImpl
getLabels
 
Methods inherited from class de.cau.cs.kieler.core.kgraph.impl.KGraphElementImpl
getData, getData, getData
 
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 de.cau.cs.kieler.core.kgraph.KEdge
getSource, getSourcePort, getTarget, getTargetPort, setSource, setSourcePort, setTarget, setTargetPort
 
Methods inherited from interface de.cau.cs.kieler.core.kgraph.KLabeledGraphElement
getLabels
 
Methods inherited from interface de.cau.cs.kieler.core.kgraph.KGraphElement
getData, getData, getData
 
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

HEAD_LABEL_EDEFAULT

protected static final String HEAD_LABEL_EDEFAULT
The default value of the 'Head Label' attribute.

See Also:
getHeadLabel()
Generated:
This code was automatically generated.
Ordered

headLabel

protected String headLabel
The cached value of the 'Head Label' attribute.

See Also:
getHeadLabel()
Generated:
This code was automatically generated.
Ordered

MID_LABEL_EDEFAULT

protected static final String MID_LABEL_EDEFAULT
The default value of the 'Mid Label' attribute.

See Also:
getMidLabel()
Generated:
This code was automatically generated.
Ordered

midLabel

protected String midLabel
The cached value of the 'Mid Label' attribute.

See Also:
getMidLabel()
Generated:
This code was automatically generated.
Ordered

TAIL_LABEL_EDEFAULT

protected static final String TAIL_LABEL_EDEFAULT
The default value of the 'Tail Label' attribute.

See Also:
getTailLabel()
Generated:
This code was automatically generated.
Ordered

tailLabel

protected String tailLabel
The cached value of the 'Tail Label' attribute.

See Also:
getTailLabel()
Generated:
This code was automatically generated.
Ordered

DIRECTED_EDEFAULT

protected static final boolean DIRECTED_EDEFAULT
The default value of the 'Directed' attribute.

See Also:
isDirected(), Constant Field Values
Generated:
This code was automatically generated.
Ordered

directed

protected boolean directed
The cached value of the 'Directed' attribute.

See Also:
isDirected()
Generated:
This code was automatically generated.
Ordered

TYPE_EDEFAULT

protected static final EdgeType TYPE_EDEFAULT
The default value of the 'Type' attribute.

See Also:
getType()
Generated:
This code was automatically generated.
Ordered

type

protected EdgeType type
The cached value of the 'Type' attribute.

See Also:
getType()
Generated:
This code was automatically generated.
Ordered
Constructor Detail

EdgeImpl

protected EdgeImpl()

Generated:
This code was automatically generated.
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class KEdgeImpl
Generated:
This code was automatically generated.

getHeadLabel

public String getHeadLabel()

Specified by:
getHeadLabel in interface Edge
Returns:
the value of the 'Head Label' attribute.
See Also:
Edge.setHeadLabel(String), KEGPackage.getEdge_HeadLabel()
Generated:
This code was automatically generated.

setHeadLabel

public void setHeadLabel(String newHeadLabel)

Specified by:
setHeadLabel in interface Edge
Parameters:
newHeadLabel - the new value of the 'Head Label' attribute.
See Also:
Edge.getHeadLabel()
Generated:
This code was automatically generated.

getMidLabel

public String getMidLabel()

Specified by:
getMidLabel in interface Edge
Returns:
the value of the 'Mid Label' attribute.
See Also:
Edge.setMidLabel(String), KEGPackage.getEdge_MidLabel()
Generated:
This code was automatically generated.

setMidLabel

public void setMidLabel(String newMidLabel)

Specified by:
setMidLabel in interface Edge
Parameters:
newMidLabel - the new value of the 'Mid Label' attribute.
See Also:
Edge.getMidLabel()
Generated:
This code was automatically generated.

getTailLabel

public String getTailLabel()

Specified by:
getTailLabel in interface Edge
Returns:
the value of the 'Tail Label' attribute.
See Also:
Edge.setTailLabel(String), KEGPackage.getEdge_TailLabel()
Generated:
This code was automatically generated.

setTailLabel

public void setTailLabel(String newTailLabel)

Specified by:
setTailLabel in interface Edge
Parameters:
newTailLabel - the new value of the 'Tail Label' attribute.
See Also:
Edge.getTailLabel()
Generated:
This code was automatically generated.

isDirected

public boolean isDirected()

Specified by:
isDirected in interface Edge
Returns:
the value of the 'Directed' attribute.
See Also:
Edge.setDirected(boolean), KEGPackage.getEdge_Directed()
Generated:
This code was automatically generated.

setDirected

public void setDirected(boolean newDirected)

Specified by:
setDirected in interface Edge
Parameters:
newDirected - the new value of the 'Directed' attribute.
See Also:
Edge.isDirected()
Generated:
This code was automatically generated.

getType

public EdgeType getType()

Specified by:
getType in interface Edge
Returns:
the value of the 'Type' attribute.
See Also:
EdgeType, Edge.setType(EdgeType), KEGPackage.getEdge_Type()
Generated:
This code was automatically generated.

setType

public void setType(EdgeType newType)

Specified by:
setType in interface Edge
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
EdgeType, Edge.getType()
Generated:
This code was automatically generated.

eGet

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

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class KEdgeImpl
Generated:
This code was automatically generated.

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class KEdgeImpl
Generated:
This code was automatically generated.

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class KEdgeImpl
Generated:
This code was automatically generated.

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class KEdgeImpl
Generated:
This code was automatically generated.

toString

public String toString()

Overrides:
toString in class BasicEObjectImpl
Generated:
This code was automatically generated.