de.cau.cs.kieler.core.kgraph
Interface KGraphElement
- All Superinterfaces:
- EModelElement, EObject, Notifier
- All Known Subinterfaces:
- Edge, KEdge, KLabel, KNode, KPort, Node, Port
- All Known Implementing Classes:
- EdgeImpl, KEdgeImpl, KGraphElementImpl, KLabelImpl, KNodeImpl, KPortImpl, NodeImpl, PortImpl
public interface KGraphElement
- extends EModelElement
A representation of the model object 'Graph Element'.
This is the superclass of all elements of a graph such as nodes, edges, ports,
and labels. A graph element may contain an arbitrary number of additional
data instances.
The following features are supported:
- See Also:
KGraphPackage.getKGraphElement()
- Rating

- Generated:
- This code was automatically generated.
- Model element:
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
getData
EList<KGraphData> getData()
- Returns the value of the 'Data' containment reference list.
The list contents are of type
KGraphData
.
Each element of this list may contain additional data for the model element.
- Returns:
- the value of the 'Data' containment reference list.
- See Also:
KGraphPackage.getKGraphElement_Data()
- Generated:
- This code was automatically generated.
- Model element:
getData
KGraphData getData(EClass type)
-
Returns the first data instance that matches the given class. Classes
can be obtained using the static package methods of the corresponding
EMF model.
- Returns:
- graph data for the given type, or
null
if there is none
- Generated:
- This code was automatically generated.
- Model element