|
| RelationImpl () |
| Initializes an object of type Relation.
|
|
| RelationImpl (Relation< S, T > delegate) |
| Initializes an object of type Relation. More...
|
|
Relation< S, T > | getDelegate () |
| {@inheritDoc Relation::getDelegate()}
|
|
S | getSource () |
| {@inheritDoc Relation::getSource()}
|
|
void | setSource (S source) |
| {@inheritDoc Relation::setSource(Node)} Notifies the graph, about the change of the source.
|
|
T | getTarget () |
| {@inheritDoc Relation::getTarget()}
|
|
void | setTarget (T target) |
| {@inheritDoc Relation::setTarget(Node)} Notifies the graph, about the change of the target.
|
|
Graph | getGraph () |
| {@inheritDoc Relation::getGraph()}
|
|
void | setGraph (Graph graph) |
| {@inheritDoc Relation::setGraph(Graph)}
|
|
void | basicSetGraph_WithoutRemoving (Graph graph) |
| Same as basicSetGraph(Graph) but does not remove this relation from old graph, if it was not equal to the passed graph. More...
|
|
Set<? extends Layer > | getLayers () |
| Returns all layers containing this relation.This is a computed set and only works, when this relation is contained in a graph. If this list is used multiple times, it makes sense to store that set.- Returns
- a set of layers containing this relation
|
|
void | addLayer (Layer layer) |
| Adds this relation to the passed layer.If this relation is not already contained in the layer's graph, it will be added to the graph.- Parameters
-
layer | to which this node should be added |
Since the method getLayers() retrieves all layers by accessing the layers in graph, this class does not contain an own collection of layers.
|
|
void | removeLayer (Layer layer) |
| Removes this relation from the passed layer.- Parameters
-
layer | from which this node should be removed |
Since the method getLayers() retrieves all layers by accessing the layers in graph, this class does not contain an own collection of layers.
|
|
| IdentifiableElementImpl (IdentifiableElement delegate) |
|
Identifier | getIdentifier () |
| {@inheritDoc IdentifiableElement::getIdentifier()}
|
|
void | setIdentifier (Identifier identifier) |
| {@inheritDoc IdentifiableElement::setIdentifier(Identifier)}
|
|
void | removeLabel (String qName) |
| {@inheritDoc LabelableElement::removeLabel(String)} In case the passed qualified name is equal to SaltUtil#LABEL_ID_QNAME the internal reference to identifier is set to null.
|
|
String | getId () |
| {@inheritDoc IdentifiableElement::getId()}
|
|
void | setId (String id) |
| {@inheritDoc IdentifiableElement::setId(String)}
|
|
String | toString () |
|
| LabelableElementImpl (LabelableElement delegatee) |
| Initializes a new object and sets an internal delegate. More...
|
|
Collection< Label > | getLabels () |
| {@inheritDoc LabelableElement::getLabels()}
|
|
Label | getLabel (String qName) |
| {@inheritDoc LabelableElement::getLabel(String)}
|
|
Label | getLabel (String namespace, String name) |
| {@inheritedDoc LabelableElement::getLabel(String, String)}
|
|
Set< Label > | getLabelsByNamespace (String namespace) |
| {@inheritDoc LabelableElement::getLabelsByNamespace(String)}
|
|
void | addLabel (Label label) |
| Adds the given Label object to the list of labels.- Parameters
-
label | the Label object to be added |
|
|
void | basicAddLabel (Label label) |
| This is an internally used method. More...
|
|
void | basicRemoveLabel (String qName) |
| This is an internally used method. More...
|
|
void | removeLabel (String namespace, String name) |
| {@inheritDoc LabelableElement::removeLabel(String, String))}
|
|
void | removeAll () |
| {@inheritDoc LabelableElement::removeAll()}
|
|
boolean | containsLabel (String qName) |
| {@inheritDoc LabelableElement::containsLabel(String)}
|
|
Integer | sizeLabels () |
| {@inheritDoc LabelableElement::sizeLabels()}
|
|