V - public class Node<V extends javax.jmi.reflect.RefObject> extends Object
assignAssociatedNodes(Map)| Constructor and Description |
|---|
Node(V wrapped,
MatchingCriteria criteria)
Represents the wrapped model element as a Node with its associations and attributes
|
| Modifier and Type | Method and Description |
|---|---|
void |
assignAssociatedNodes(Map<V,Node<V>> modelToNodeMap)
This method assigns the Nodes that represent the model elements associated to the wrapped one
and sets in level the number of referenced objects.
|
void |
decreaseLevel()
Decreases the number of references this
|
static <V extends javax.jmi.reflect.RefObject> |
findReadyMatches(EquivalenceClassesMap<V> equivalenceClasses,
Node<V> nodeToMatch,
List<Node<V>> generationReady)
Find all ready nodes in this topology, that are equal to the provided node (from the other topology)
|
List<Node<V>> |
getReferers() |
V |
getWrapped() |
boolean |
isReady() |
String |
toString() |
static <V extends javax.jmi.reflect.RefObject> |
unwrap(List<Node<V>> nodes)
Convert the list of nodes to a list of their wrapped objects
|
public Node(V wrapped, MatchingCriteria criteria)
wrapped - is not-nullcriteria - public void assignAssociatedNodes(Map<V,Node<V>> modelToNodeMap)
modelToNodeMap - non-nullpublic static <V extends javax.jmi.reflect.RefObject> List<Node<V>> findReadyMatches(EquivalenceClassesMap<V> equivalenceClasses, Node<V> nodeToMatch, List<Node<V>> generationReady)
equivalenceClasses - not null collected so far matches/classes of equivalencenodeToMatch - not null node to matchgenerationReady - TODOpublic void decreaseLevel()
public final List<Node<V>> getReferers()
public final boolean isReady()
public final V getWrapped()
public static <V extends javax.jmi.reflect.RefObject> Collection<V> unwrap(List<Node<V>> nodes)
nodes - not nullCopyright © 2001–2018 MDA Tools. All rights reserved.