public interface Vertex
extends org.eclipse.emf.ecore.EObject
The following features are supported:
GraphPackage.getVertex()| Modifier and Type | Method and Description |
|---|---|
String |
getLabel()
Returns the value of the 'Label' attribute.
|
Graph |
getOwner()
Returns the value of the 'Owner' container reference.
|
int |
getWeight()
Returns the value of the 'Weight' attribute.
|
void |
setLabel(String value)
Sets the value of the '
Label' attribute. |
void |
setOwner(Graph value)
Sets the value of the '
Owner' container reference. |
void |
setWeight(int value)
Sets the value of the '
Weight' attribute. |
Graph getOwner()
Vertices'.
setOwner(Graph),
GraphPackage.getVertex_Owner(),
Graph.getVertices()void setOwner(Graph value)
Owner' container reference.
value - the new value of the 'Owner' container reference.getOwner()String getLabel()
setLabel(String),
GraphPackage.getVertex_Label()void setLabel(String value)
Label' attribute.
value - the new value of the 'Label' attribute.getLabel()int getWeight()
setWeight(int),
GraphPackage.getVertex_Weight()void setWeight(int value)
Weight' attribute.
value - the new value of the 'Weight' attribute.getWeight()Copyright © 2018–2019 Atlanmod. All rights reserved.