|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KGraphElement
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:
KGraphPackage.getKGraphElement()
abstract | = | true |
Method Summary | ||
---|---|---|
EList<KGraphData> |
getData()
Returns the value of the 'Data' containment reference list. |
|
|
getData(Class<T> type)
Returns the first data instance that matches the given class. |
|
KGraphData |
getData(EClass type)
Returns the first data instance that matches the given class. |
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 |
---|
EList<KGraphData> getData()
KGraphData
.
Each element of this list may contain additional data for the model element.
KGraphPackage.getKGraphElement_Data()
containment | = | true |
KGraphData getData(EClass type)
null
if there is none
<T extends KGraphData> T getData(Class<T> type)
type
- the class of graph data to retrieve
null
if there is none
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |