de.cau.cs.kieler.core.kgraph
Interface KPort

All Superinterfaces:
EObject, KGraphElement, KLabeledGraphElement, Notifier
All Known Subinterfaces:
Port
All Known Implementing Classes:
KPortImpl, PortImpl

public interface KPort
extends KLabeledGraphElement

A representation of the model object 'KPort'. Each port must be assigned a containing node. A port may contain incoming edges as well as outgoing edges, independently of its type.

The following features are supported:

See Also:
KGraphPackage.getKPort()
Rating yellow
(2011-02-01) reviewed by cmot, soh
Generated:
This code was automatically generated.
Model element

Method Summary
 EList<KEdge> getEdges()
          Returns the value of the 'Edges' reference list.
 KNode getNode()
          Returns the value of the 'Node' container reference.
 void setNode(KNode value)
          Sets the value of the 'Node' container reference.
 
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
 

Method Detail

getNode

KNode getNode()
Returns the value of the 'Node' container reference. It is bidirectional and its opposite is 'Ports'. Each port must be assigned a containing node. This is especially important because the node is defined to be the container of the port, which is relevant for many EMF features such as XML storage or copying.

Returns:
the value of the 'Node' container reference.
See Also:
setNode(KNode), KGraphPackage.getKPort_Node(), KNode.getPorts()
Generated:
This code was automatically generated.
Model element:
opposite=ports
required=true
transient=false

setNode

void setNode(KNode value)
Sets the value of the 'Node' container reference.

Parameters:
value - the new value of the 'Node' container reference.
See Also:
getNode()
Generated:
This code was automatically generated.

getEdges

EList<KEdge> getEdges()
Returns the value of the 'Edges' reference list. The list contents are of type KEdge. This reference is not bidirectional, so adding edges to it does not affect the source or target port references of the edges. Edges in this list may be incoming as well as outgoing with respect to the containing node.

Returns:
the value of the 'Edges' reference list.
See Also:
KGraphPackage.getKPort_Edges()
Generated:
This code was automatically generated.
Model element