public class NodeWrapper
extends java.lang.Object
implements org.processmining.processtree.Node, org.jbpt.hypergraph.abs.IEntity
| Modifier and Type | Field and Description |
|---|---|
protected org.processmining.processtree.Node |
realNode |
| Constructor and Description |
|---|
NodeWrapper(org.processmining.processtree.Node realNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addIncomingEdge(org.processmining.processtree.Edge edge)
Adds an incoming edge to the node
|
org.processmining.processtree.Edge |
addParent(org.processmining.processtree.Block parent)
adds a new parent with random id and empty expression to this node as the rightmost parent
|
org.processmining.processtree.Edge |
addParent(org.processmining.processtree.Block parent,
org.processmining.processtree.Expression expression)
adds a new parent with random id and given expression to this node as the rightmost parent
|
org.processmining.processtree.Edge |
addParent(java.util.UUID id,
org.processmining.processtree.Block parent,
org.processmining.processtree.Expression expression)
adds a new parent with given id and given expression to this node as the rightmost parent
|
boolean |
addReadVariable(org.processmining.processtree.Variable var)
adds the read variable to this node
|
boolean |
addRemovableReadVariable(org.processmining.processtree.Variable var)
adds the removable read variable to this node
|
boolean |
addRemovableWriteVariable(org.processmining.processtree.Variable var)
adds the removable write variable to this node
|
boolean |
addWriteVariable(org.processmining.processtree.Variable var)
adds the write variable to this node
|
java.lang.Object |
clone() |
java.util.AbstractMap<org.processmining.plugins.properties.processmodel.Property<?>,java.lang.Object> |
getDependentProperties() |
java.lang.Object |
getDependentProperty(java.lang.Class<? extends org.processmining.plugins.properties.processmodel.Property<?>> property) |
java.lang.Object |
getDependentProperty(org.processmining.plugins.properties.processmodel.Property<?> property) |
java.util.UUID |
getID() |
java.util.List<org.processmining.processtree.Edge> |
getIncomingEdges()
returns an immutable list of incoming edges.
|
java.util.AbstractMap<org.processmining.plugins.properties.processmodel.Property<?>,java.lang.Object> |
getIndependentProperties() |
java.lang.Object |
getIndependentProperty(java.lang.Class<? extends org.processmining.plugins.properties.processmodel.Property<?>> property) |
java.lang.Object |
getIndependentProperty(org.processmining.plugins.properties.processmodel.Property<?> property) |
java.lang.String |
getLabel() |
java.lang.String |
getName() |
java.util.Collection<org.processmining.processtree.Block> |
getParents()
returns an collection of blocks that are the parents of this node in the
tree
changes to the collection are NOT reflected in the tree
|
org.processmining.processtree.ProcessTree |
getProcessTree()
returns the process tree to which this node belongs
|
java.util.Collection<org.processmining.processtree.Variable> |
getReadVariables()
returns an editable collection of variables that are read by this node
|
java.util.Collection<org.processmining.processtree.Variable> |
getReadVariablesRecursive()
returns the collection of variables read in this subgraph
|
org.processmining.processtree.Node |
getRealNode() |
java.util.Collection<org.processmining.processtree.Variable> |
getRemovableReadVariables()
returns an editable collection of variables which can be removed from the list of read variables
|
java.util.Collection<org.processmining.processtree.Variable> |
getRemovableWrittenVariables()
returns an editable collection of variables which can be removed from the list of written variables
|
java.util.Collection<org.processmining.processtree.Variable> |
getWrittenVariables()
returns an editable collection of variables that are written by this node
|
java.util.Collection<org.processmining.processtree.Variable> |
getWrittenVariablesRecursive()
returns the collection of variables written in this subgraph
|
boolean |
isLeaf()
returns true if this node is a leaf node.
|
boolean |
isRoot()
returns true if this node has no parents.
|
int |
numParents()
returns the number of parents
|
void |
removeDependentProperty(java.lang.Class<? extends org.processmining.plugins.properties.processmodel.Property<?>> property) |
void |
removeDependentProperty(org.processmining.plugins.properties.processmodel.Property<?> property) |
boolean |
removeIncomingEdge(org.processmining.processtree.Edge edge)
removes an incoming edge from this node
|
void |
removeIndependentProperty(java.lang.Class<? extends org.processmining.plugins.properties.processmodel.Property<?>> property) |
void |
removeIndependentProperty(org.processmining.plugins.properties.processmodel.Property<?> property) |
boolean |
removeReadVariable(org.processmining.processtree.Variable var)
removes the read variable from this node
|
boolean |
removeRemovableReadVariable(org.processmining.processtree.Variable var)
removes the removable read variable to this node
|
boolean |
removeRemovableWriteVariable(org.processmining.processtree.Variable var)
removes the removable write variable to this node
|
boolean |
removeWriteVariable(org.processmining.processtree.Variable var)
removes the write variable from this node
|
void |
setDependentProperty(java.lang.Class<? extends org.processmining.plugins.properties.processmodel.Property<?>> property,
java.lang.Object value) |
void |
setDependentProperty(org.processmining.plugins.properties.processmodel.Property<?> property,
java.lang.Object value) |
void |
setIndependentProperty(java.lang.Class<? extends org.processmining.plugins.properties.processmodel.Property<?>> property,
java.lang.Object value) |
void |
setIndependentProperty(org.processmining.plugins.properties.processmodel.Property<?> property,
java.lang.Object value) |
void |
setName(java.lang.String name) |
void |
setProcessTree(org.processmining.processtree.ProcessTree tree)
sets the processtree to which this node belongs
|
java.lang.String |
toString() |
java.lang.String |
toStringShort()
returns a short string representation of the subclass
|
public java.util.UUID getID()
getID in interface org.processmining.plugins.properties.processmodel.PropertableElementgetID in interface org.processmining.processtree.ProcessTreeElementpublic java.lang.String getName()
getName in interface org.processmining.plugins.properties.processmodel.PropertableElementgetName in interface org.processmining.processtree.ProcessTreeElementpublic void setName(java.lang.String name)
setName in interface org.processmining.plugins.properties.processmodel.PropertableElementsetName in interface org.processmining.processtree.ProcessTreeElementpublic java.lang.Object getIndependentProperty(java.lang.Class<? extends org.processmining.plugins.properties.processmodel.Property<?>> property)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
getIndependentProperty in interface org.processmining.plugins.properties.processmodel.PropertableElementgetIndependentProperty in interface org.processmining.processtree.ProcessTreeElementproperty - the property of which we want the valuejava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic java.lang.Object getIndependentProperty(org.processmining.plugins.properties.processmodel.Property<?> property)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
getIndependentProperty in interface org.processmining.plugins.properties.processmodel.PropertableElementgetIndependentProperty in interface org.processmining.processtree.ProcessTreeElementproperty - the property of which we want the valuejava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic void setIndependentProperty(java.lang.Class<? extends org.processmining.plugins.properties.processmodel.Property<?>> property,
java.lang.Object value)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
setIndependentProperty in interface org.processmining.plugins.properties.processmodel.PropertableElementsetIndependentProperty in interface org.processmining.processtree.ProcessTreeElementproperty - the property we want to setvalue - the value of the independent property we want to setjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic void setIndependentProperty(org.processmining.plugins.properties.processmodel.Property<?> property,
java.lang.Object value)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
setIndependentProperty in interface org.processmining.plugins.properties.processmodel.PropertableElementsetIndependentProperty in interface org.processmining.processtree.ProcessTreeElementproperty - the property we want to setvalue - the value of the independent property we want to setjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic java.lang.Object getDependentProperty(java.lang.Class<? extends org.processmining.plugins.properties.processmodel.Property<?>> property)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
getDependentProperty in interface org.processmining.plugins.properties.processmodel.PropertableElementgetDependentProperty in interface org.processmining.processtree.ProcessTreeElementproperty - the property of which we want the valuejava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic java.lang.Object getDependentProperty(org.processmining.plugins.properties.processmodel.Property<?> property)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
getDependentProperty in interface org.processmining.plugins.properties.processmodel.PropertableElementgetDependentProperty in interface org.processmining.processtree.ProcessTreeElementproperty - the property of which we want the valuejava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic void setDependentProperty(java.lang.Class<? extends org.processmining.plugins.properties.processmodel.Property<?>> property,
java.lang.Object value)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
setDependentProperty in interface org.processmining.plugins.properties.processmodel.PropertableElementsetDependentProperty in interface org.processmining.processtree.ProcessTreeElementproperty - the property we want to setvalue - the value of the dependent property we want to setjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic void setDependentProperty(org.processmining.plugins.properties.processmodel.Property<?> property,
java.lang.Object value)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
setDependentProperty in interface org.processmining.plugins.properties.processmodel.PropertableElementsetDependentProperty in interface org.processmining.processtree.ProcessTreeElementproperty - the property we want to setvalue - the value of the dependent property we want to setjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic void removeIndependentProperty(java.lang.Class<? extends org.processmining.plugins.properties.processmodel.Property<?>> property)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
removeIndependentProperty in interface org.processmining.plugins.properties.processmodel.PropertableElementremoveIndependentProperty in interface org.processmining.processtree.ProcessTreeElementproperty - the property of which we want to remove the valuejava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic void removeIndependentProperty(org.processmining.plugins.properties.processmodel.Property<?> property)
removeIndependentProperty in interface org.processmining.plugins.properties.processmodel.PropertableElementremoveIndependentProperty in interface org.processmining.processtree.ProcessTreeElementproperty - the property of which we want to remove the valuepublic void removeDependentProperty(java.lang.Class<? extends org.processmining.plugins.properties.processmodel.Property<?>> property)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
removeDependentProperty in interface org.processmining.plugins.properties.processmodel.PropertableElementremoveDependentProperty in interface org.processmining.processtree.ProcessTreeElementproperty - the property of which we want to remove the valuejava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic void removeDependentProperty(org.processmining.plugins.properties.processmodel.Property<?> property)
removeDependentProperty in interface org.processmining.plugins.properties.processmodel.PropertableElementremoveDependentProperty in interface org.processmining.processtree.ProcessTreeElementproperty - the property of which we want to remove the valuepublic java.util.AbstractMap<org.processmining.plugins.properties.processmodel.Property<?>,java.lang.Object> getIndependentProperties()
getIndependentProperties in interface org.processmining.plugins.properties.processmodel.PropertableElementgetIndependentProperties in interface org.processmining.processtree.ProcessTreeElementpublic java.util.AbstractMap<org.processmining.plugins.properties.processmodel.Property<?>,java.lang.Object> getDependentProperties()
getDependentProperties in interface org.processmining.plugins.properties.processmodel.PropertableElementgetDependentProperties in interface org.processmining.processtree.ProcessTreeElementpublic java.util.Collection<org.processmining.processtree.Variable> getReadVariables()
org.processmining.processtree.NodegetReadVariables in interface org.processmining.processtree.Nodepublic boolean addReadVariable(org.processmining.processtree.Variable var)
org.processmining.processtree.NodeaddReadVariable in interface org.processmining.processtree.Nodepublic boolean removeReadVariable(org.processmining.processtree.Variable var)
org.processmining.processtree.NoderemoveReadVariable in interface org.processmining.processtree.Nodepublic java.util.Collection<org.processmining.processtree.Variable> getRemovableReadVariables()
org.processmining.processtree.NodegetRemovableReadVariables in interface org.processmining.processtree.Nodepublic boolean addRemovableReadVariable(org.processmining.processtree.Variable var)
org.processmining.processtree.NodeaddRemovableReadVariable in interface org.processmining.processtree.Nodepublic boolean removeRemovableReadVariable(org.processmining.processtree.Variable var)
org.processmining.processtree.NoderemoveRemovableReadVariable in interface org.processmining.processtree.Nodepublic java.util.Collection<org.processmining.processtree.Variable> getReadVariablesRecursive()
org.processmining.processtree.NodegetReadVariablesRecursive in interface org.processmining.processtree.Nodepublic java.util.Collection<org.processmining.processtree.Variable> getWrittenVariables()
org.processmining.processtree.NodegetWrittenVariables in interface org.processmining.processtree.Nodepublic boolean addWriteVariable(org.processmining.processtree.Variable var)
org.processmining.processtree.NodeaddWriteVariable in interface org.processmining.processtree.Nodepublic boolean removeWriteVariable(org.processmining.processtree.Variable var)
org.processmining.processtree.NoderemoveWriteVariable in interface org.processmining.processtree.Nodepublic java.util.Collection<org.processmining.processtree.Variable> getRemovableWrittenVariables()
org.processmining.processtree.NodegetRemovableWrittenVariables in interface org.processmining.processtree.Nodepublic boolean addRemovableWriteVariable(org.processmining.processtree.Variable var)
org.processmining.processtree.NodeaddRemovableWriteVariable in interface org.processmining.processtree.Nodepublic boolean removeRemovableWriteVariable(org.processmining.processtree.Variable var)
org.processmining.processtree.NoderemoveRemovableWriteVariable in interface org.processmining.processtree.Nodepublic java.util.Collection<org.processmining.processtree.Variable> getWrittenVariablesRecursive()
org.processmining.processtree.NodegetWrittenVariablesRecursive in interface org.processmining.processtree.Nodepublic void setProcessTree(org.processmining.processtree.ProcessTree tree)
org.processmining.processtree.NodesetProcessTree in interface org.processmining.processtree.Nodepublic org.processmining.processtree.ProcessTree getProcessTree()
org.processmining.processtree.NodegetProcessTree in interface org.processmining.processtree.Nodepublic org.processmining.processtree.Edge addParent(java.util.UUID id,
org.processmining.processtree.Block parent,
org.processmining.processtree.Expression expression)
org.processmining.processtree.NodeaddParent in interface org.processmining.processtree.Nodepublic org.processmining.processtree.Edge addParent(org.processmining.processtree.Block parent,
org.processmining.processtree.Expression expression)
org.processmining.processtree.NodeaddParent in interface org.processmining.processtree.Nodepublic org.processmining.processtree.Edge addParent(org.processmining.processtree.Block parent)
org.processmining.processtree.NodeaddParent in interface org.processmining.processtree.Nodepublic java.util.Collection<org.processmining.processtree.Block> getParents()
org.processmining.processtree.NodegetParents in interface org.processmining.processtree.Nodepublic boolean removeIncomingEdge(org.processmining.processtree.Edge edge)
org.processmining.processtree.NoderemoveIncomingEdge in interface org.processmining.processtree.Nodepublic int numParents()
org.processmining.processtree.NodenumParents in interface org.processmining.processtree.Nodepublic java.util.List<org.processmining.processtree.Edge> getIncomingEdges()
org.processmining.processtree.NodegetIncomingEdges in interface org.processmining.processtree.Nodepublic void addIncomingEdge(org.processmining.processtree.Edge edge)
org.processmining.processtree.NodeaddIncomingEdge in interface org.processmining.processtree.Nodepublic boolean isRoot()
org.processmining.processtree.NodeisRoot in interface org.processmining.processtree.Nodepublic java.lang.String toStringShort()
org.processmining.processtree.NodetoStringShort in interface org.processmining.processtree.Nodepublic boolean isLeaf()
org.processmining.processtree.NodeisLeaf in interface org.processmining.processtree.Nodepublic java.lang.String getLabel()
getLabel in interface org.jbpt.hypergraph.abs.IEntitypublic java.lang.Object clone()
clone in interface org.jbpt.hypergraph.abs.IEntityclone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic org.processmining.processtree.Node getRealNode()