Package org.atlanmod.graph
Interface Vertex
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
VertexImpl
public interface Vertex
extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Vertex'.
The following features are supported:
- See Also:
GraphPackage.getVertex()
-
Method Summary
Modifier and Type Method Description StringgetLabel()Returns the value of the 'Label' attribute.GraphgetOwner()Returns the value of the 'Owner' container reference.intgetWeight()Returns the value of the 'Weight' attribute.voidsetLabel(String value)Sets the value of the 'Label' attribute.voidsetOwner(Graph value)Sets the value of the 'Owner' container reference.voidsetWeight(int value)Sets the value of the 'Weight' attribute.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getOwner
Graph getOwner()Returns the value of the 'Owner' container reference. It is bidirectional and its opposite is 'Vertices'.- Returns:
- the value of the 'Owner' container reference.
- See Also:
setOwner(Graph),GraphPackage.getVertex_Owner(),Graph.getVertices()
-
setOwner
Sets the value of the 'Owner' container reference.- Parameters:
value- the new value of the 'Owner' container reference.- See Also:
getOwner()
-
getLabel
String getLabel()Returns the value of the 'Label' attribute.- Returns:
- the value of the 'Label' attribute.
- See Also:
setLabel(String),GraphPackage.getVertex_Label()
-
setLabel
Sets the value of the 'Label' attribute.- Parameters:
value- the new value of the 'Label' attribute.- See Also:
getLabel()
-
getWeight
int getWeight()Returns the value of the 'Weight' attribute.- Returns:
- the value of the 'Weight' attribute.
- See Also:
setWeight(int),GraphPackage.getVertex_Weight()
-
setWeight
void setWeight(int value)Sets the value of the 'Weight' attribute.- Parameters:
value- the new value of the 'Weight' attribute.- See Also:
getWeight()
-