Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel()
Returns the "label" of the edge.
|
IModelObject |
getSource()
Returns the source
IModelObject that this IModelReference is pointing outwards from. |
IModelObject |
getTarget()
Returns the source
IModelObject that this IModelReference is pointing to. |
boolean |
isDirected()
Returns whether this edge is bidirectional or not.
|
void |
setDirected(boolean directed)
Setter for the directed attribute.
|
void |
setLabel(java.lang.String label)
Sets the "label" of this edge.
|
void |
setSource(IModelObject source)
Setter for the source
IModelObject . |
void |
setTarget(IModelObject target)
Setter for the target
IModelObject . |
java.lang.String getLabel()
IModelObject getSource()
IModelObject
that this IModelReference
is pointing outwards from.IModelObject
.IModelObject getTarget()
IModelObject
that this IModelReference
is pointing to.IModelObject
.boolean isDirected()
void setLabel(java.lang.String label)
label
- the new label.void setSource(IModelObject source)
IModelObject
.source
- the source IModelObject
void setTarget(IModelObject target)
IModelObject
.target
- the target IModelObject
void setDirected(boolean directed)
directed
- the new value.