org.eclipse.emf.henshin.model
Interface Edge

All Superinterfaces:
EObject, GraphElement, ModelElement, Notifier
All Known Implementing Classes:
EdgeImpl

public interface Edge
extends ModelElement, GraphElement

A representation of the model object 'Edge'.

The following features are supported:

See Also:
HenshinPackage.getEdge()

Method Summary
 Edge getActionEdge()
           
 Graph getGraph()
          Returns the value of the 'Graph' container reference.
 String getIndex()
          Returns the value of the 'Index' attribute.
 Integer getIndexConstant()
          Returns the value of the 'Index Constant' attribute.
 Node getSource()
          Returns the value of the 'Source' reference.
 Node getTarget()
          Returns the value of the 'Target' reference.
 EReference getType()
          Returns the value of the 'Type' reference.
 void setGraph(Graph value)
          Sets the value of the 'Graph' container reference.
 void setIndex(String value)
          Sets the value of the 'Index' attribute.
 void setSource(Node value)
          Sets the value of the 'Source' reference.
 void setTarget(Node value)
          Sets the value of the 'Target' reference.
 void setType(EReference value)
          Sets the value of the 'Type' reference.
 
Methods inherited from interface org.eclipse.emf.henshin.model.ModelElement
getAnnotations
 
Methods inherited from interface org.eclipse.emf.henshin.model.GraphElement
getAction, setAction
 
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
 

Method Detail

getSource

Node getSource()
Returns the value of the 'Source' reference. It is bidirectional and its opposite is 'Outgoing'.

Returns:
the value of the 'Source' reference.
See Also:
setSource(Node), HenshinPackage.getEdge_Source(), Node.getOutgoing()

setSource

void setSource(Node value)
Sets the value of the 'Source' reference.

Parameters:
value - the new value of the 'Source' reference.
See Also:
getSource()

getTarget

Node getTarget()
Returns the value of the 'Target' reference. It is bidirectional and its opposite is 'Incoming'.

Returns:
the value of the 'Target' reference.
See Also:
setTarget(Node), HenshinPackage.getEdge_Target(), Node.getIncoming()

setTarget

void setTarget(Node value)
Sets the value of the 'Target' reference.

Parameters:
value - the new value of the 'Target' reference.
See Also:
getTarget()

getType

EReference getType()
Returns the value of the 'Type' reference.

Returns:
the value of the 'Type' reference.
See Also:
setType(EReference), HenshinPackage.getEdge_Type()

setType

void setType(EReference value)
Sets the value of the 'Type' reference.

Parameters:
value - the new value of the 'Type' reference.
See Also:
getType()

getGraph

Graph getGraph()
Returns the value of the 'Graph' container reference. It is bidirectional and its opposite is 'Edges'.

Specified by:
getGraph in interface GraphElement
Returns:
the value of the 'Graph' container reference.
See Also:
setGraph(Graph), HenshinPackage.getEdge_Graph(), Graph.getEdges()

setGraph

void setGraph(Graph value)
Sets the value of the 'Graph' container reference.

Parameters:
value - the new value of the 'Graph' container reference.
See Also:
getGraph()

getIndex

String getIndex()
Returns the value of the 'Index' attribute.

Returns:
the value of the 'Index' attribute.
See Also:
setIndex(String), HenshinPackage.getEdge_Index()

setIndex

void setIndex(String value)
Sets the value of the 'Index' attribute.

Parameters:
value - the new value of the 'Index' attribute.
See Also:
getIndex()

getIndexConstant

Integer getIndexConstant()
Returns the value of the 'Index Constant' attribute.

Returns:
the value of the 'Index Constant' attribute.
See Also:
HenshinPackage.getEdge_IndexConstant()

getActionEdge

Edge getActionEdge()