de.cau.cs.kieler.graphs.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.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by de.cau.cs.kieler.core.kgraph.impl.KGraphElementImpl
                          extended by de.cau.cs.kieler.core.kgraph.impl.KEdgeImpl
                              extended by de.cau.cs.kieler.graphs.impl.EdgeImpl
All Implemented Interfaces:
KEdge, KGraphElement, Edge, Notifier, EModelElement, EObject, EStructuralFeature.Internal.DynamicValueHolder, 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.MinimalEObjectImpl.Container
MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
 
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 static String HEAD_LABEL1_EDEFAULT
          The default value of the 'Head Label1' attribute.
protected static String HEAD_LABEL2_EDEFAULT
          The default value of the 'Head Label2' attribute.
protected  String headLabel1
          The cached value of the 'Head Label1' attribute.
protected  String headLabel2
          The cached value of the 'Head Label2' attribute.
protected static boolean IS_DIRECTED_EDEFAULT
          The default value of the 'Is Directed' attribute.
protected  boolean isDirected
          The cached value of the 'Is Directed' 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_LABEL1_EDEFAULT
          The default value of the 'Tail Label1' attribute.
protected static String TAIL_LABEL2_EDEFAULT
          The default value of the 'Tail Label2' attribute.
protected  String tailLabel1
          The cached value of the 'Tail Label1' attribute.
protected  String tailLabel2
          The cached value of the 'Tail Label2' 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
labels, sourcePort, target, targetPort
 
Fields inherited from class de.cau.cs.kieler.core.kgraph.impl.KGraphElementImpl
data
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
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.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
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 getHeadLabel1()
           
 String getHeadLabel2()
           
 String getMidLabel()
           
 String getTailLabel1()
           
 String getTailLabel2()
           
 EdgeType getType()
           
 boolean isIsDirected()
           
 void setHeadLabel1(String newHeadLabel1)
           
 void setHeadLabel2(String newHeadLabel2)
           
 void setIsDirected(boolean newIsDirected)
           
 void setMidLabel(String newMidLabel)
           
 void setTailLabel1(String newTailLabel1)
           
 void setTailLabel2(String newTailLabel2)
           
 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, getLabels, getSource, getSourcePort, getTarget, getTargetPort, setSource, setSourcePort, setTarget, setTargetPort
 
Methods inherited from class de.cau.cs.kieler.core.kgraph.impl.KGraphElementImpl
getData, getData
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eInvoke, eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
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 de.cau.cs.kieler.core.kgraph.KEdge
getLabels, getSource, getSourcePort, getTarget, getTargetPort, setSource, setSourcePort, setTarget, setTargetPort
 
Methods inherited from interface de.cau.cs.kieler.core.kgraph.KGraphElement
getData, getData
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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_LABEL1_EDEFAULT

protected static final String HEAD_LABEL1_EDEFAULT
The default value of the 'Head Label1' attribute.

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

headLabel1

protected String headLabel1
The cached value of the 'Head Label1' attribute.

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

HEAD_LABEL2_EDEFAULT

protected static final String HEAD_LABEL2_EDEFAULT
The default value of the 'Head Label2' attribute.

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

headLabel2

protected String headLabel2
The cached value of the 'Head Label2' attribute.

See Also:
getHeadLabel2()
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_LABEL1_EDEFAULT

protected static final String TAIL_LABEL1_EDEFAULT
The default value of the 'Tail Label1' attribute.

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

tailLabel1

protected String tailLabel1
The cached value of the 'Tail Label1' attribute.

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

TAIL_LABEL2_EDEFAULT

protected static final String TAIL_LABEL2_EDEFAULT
The default value of the 'Tail Label2' attribute.

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

tailLabel2

protected String tailLabel2
The cached value of the 'Tail Label2' attribute.

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

IS_DIRECTED_EDEFAULT

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

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

isDirected

protected boolean isDirected
The cached value of the 'Is Directed' attribute.

See Also:
isIsDirected()
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.

getHeadLabel1

public String getHeadLabel1()

Specified by:
getHeadLabel1 in interface Edge
Returns:
the value of the 'Head Label1' attribute.
See Also:
Edge.setHeadLabel1(String), GraphsPackage.getEdge_HeadLabel1()
Generated:
This code was automatically generated.

setHeadLabel1

public void setHeadLabel1(String newHeadLabel1)

Specified by:
setHeadLabel1 in interface Edge
Parameters:
newHeadLabel1 - the new value of the 'Head Label1' attribute.
See Also:
Edge.getHeadLabel1()
Generated:
This code was automatically generated.

getHeadLabel2

public String getHeadLabel2()

Specified by:
getHeadLabel2 in interface Edge
Returns:
the value of the 'Head Label2' attribute.
See Also:
Edge.setHeadLabel2(String), GraphsPackage.getEdge_HeadLabel2()
Generated:
This code was automatically generated.

setHeadLabel2

public void setHeadLabel2(String newHeadLabel2)

Specified by:
setHeadLabel2 in interface Edge
Parameters:
newHeadLabel2 - the new value of the 'Head Label2' attribute.
See Also:
Edge.getHeadLabel2()
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), GraphsPackage.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.

getTailLabel1

public String getTailLabel1()

Specified by:
getTailLabel1 in interface Edge
Returns:
the value of the 'Tail Label1' attribute.
See Also:
Edge.setTailLabel1(String), GraphsPackage.getEdge_TailLabel1()
Generated:
This code was automatically generated.

setTailLabel1

public void setTailLabel1(String newTailLabel1)

Specified by:
setTailLabel1 in interface Edge
Parameters:
newTailLabel1 - the new value of the 'Tail Label1' attribute.
See Also:
Edge.getTailLabel1()
Generated:
This code was automatically generated.

getTailLabel2

public String getTailLabel2()

Specified by:
getTailLabel2 in interface Edge
Returns:
the value of the 'Tail Label2' attribute.
See Also:
Edge.setTailLabel2(String), GraphsPackage.getEdge_TailLabel2()
Generated:
This code was automatically generated.

setTailLabel2

public void setTailLabel2(String newTailLabel2)

Specified by:
setTailLabel2 in interface Edge
Parameters:
newTailLabel2 - the new value of the 'Tail Label2' attribute.
See Also:
Edge.getTailLabel2()
Generated:
This code was automatically generated.

isIsDirected

public boolean isIsDirected()

Specified by:
isIsDirected in interface Edge
Returns:
the value of the 'Is Directed' attribute.
See Also:
Edge.setIsDirected(boolean), GraphsPackage.getEdge_IsDirected()
Generated:
This code was automatically generated.

setIsDirected

public void setIsDirected(boolean newIsDirected)

Specified by:
setIsDirected in interface Edge
Parameters:
newIsDirected - the new value of the 'Is Directed' attribute.
See Also:
Edge.isIsDirected()
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), GraphsPackage.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.