public class UpdateNodeSystemDependency
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.logging.Logger |
logger
aLogger
|
| Constructor and Description |
|---|
UpdateNodeSystemDependency() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPossible(ChangeableInstance instance,
Node tempNode,
java.util.Map<java.lang.String,Dependency> paramBindings,
ProcessConstants.NodeProperty nodeProperty)
Checks if the parameter binding is valid (concerning structural and state
based correctness) for that property of the given container node which is
referenced by the node property
nodeProperty in the related
template. |
static boolean |
isPossible(ChangeableInstance instance,
Node tempNode,
java.util.Map<java.lang.String,Dependency> paramBindings,
ProcessConstants.NodeProperty nodeProperty,
CheckReport checkReport)
Checks if the parameter binding is valid (concerning structural and state
based correctness) for that property of the given container node which is
referenced by the node property
nodeProperty in the related
template. |
static boolean |
isPossible(Template template,
Node tempNode,
java.util.Map<java.lang.String,Dependency> paramBindings,
ProcessConstants.NodeProperty nodeProperty)
Checks if the parameter binding is valid (concerning structural
correctness) for that property of the given container node which is
referenced by the node property
nodeProperty in the related
template. |
static boolean |
isPossible(Template template,
Node tempNode,
java.util.Map<java.lang.String,Dependency> paramBindings,
ProcessConstants.NodeProperty nodeProperty,
CheckReport checkReport)
Checks if the parameter binding is valid (concerning structural
correctness) for that property of the given container node which is
referenced by the node property
nodeProperty in the related
template. |
static void |
performOperation(SessionToken session,
ChangeableInstance instance,
Node node,
java.util.Map<java.lang.String,Dependency> paramBindings,
ProcessConstants.NodeProperty nodeProperty)
Updates the system parameters of a node object in the given template using
the data in the given node.
|
static void |
performOperation(SessionToken session,
ChangeableInstance instance,
Node node,
java.util.Map<java.lang.String,Dependency> paramBindings,
ProcessConstants.NodeProperty nodeProperty,
UpdateManager updateManager)
Updates the system parameters of a node object in the given template using
the data in the given node.
|
static void |
performOperation(SessionToken session,
ChangeableTemplate template,
Node node,
java.util.Map<java.lang.String,Dependency> paramBindings,
ProcessConstants.NodeProperty nodeProperty)
Updates the system parameters of a node object in the given template using
the data in the given node.
|
static void |
performOperation(SessionToken session,
ChangeableTemplate template,
Node node,
java.util.Map<java.lang.String,Dependency> paramBindings,
ProcessConstants.NodeProperty nodeProperty,
UpdateManager updateManager)
Updates the system parameters of a node object in the given template using
the data in the given node.
|
protected static void |
performOperation(SessionToken session,
ChangePrimitives processGraph,
Node node,
java.util.Map<java.lang.String,Dependency> paramBindings,
ProcessConstants.NodeProperty nodeProperty,
UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates
and changeable instances.
|
public static boolean isPossible(Template template, Node tempNode, java.util.Map<java.lang.String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty)
nodeProperty in the related
template. If the binding contains system data producers it is also checked
if the corresponding system data flow can be updated. The following
attributes / properties may be updated and must therefore be tested (all
others cause an illegal argument exception):
template - the template where the method is performed ontempNode - a temporary node container which holds the information
referenced by the node propertyparamBindings - a map between parameter name and dependencynodeProperty - the property which should be changedpublic static boolean isPossible(Template template, Node tempNode, java.util.Map<java.lang.String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty, CheckReport checkReport)
nodeProperty in the related
template. If the binding contains system data producers it is also checked
if the corresponding system data flow can be updated. The following
attributes / properties may be updated and must therefore be tested:
template - the template where the method is performed ontempNode - a temporary node container which holds the information
referenced by the node propertyparamBindings - a map between parameter name and dependencynodeProperty - the property which should be changedcheckReport - a checkReport object which can be filled with the reason
why the isPossible failed (i.e. in the case the method returns
false), may be nullpublic static boolean isPossible(ChangeableInstance instance, Node tempNode, java.util.Map<java.lang.String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty)
nodeProperty in the related
template. If the binding contains system data producers it is also checked
if the corresponding system data flow can be updated. The following
attributes / properties may be updated and must therefore be tested (all
others cause an illegal argument exception):
instance - the changeable instance where the method is performed ontempNode - a temporary node container which holds the information
referenced by the node propertyparamBindings - a map between parameter name and dependencynodeProperty - the property which should be changedpublic static boolean isPossible(ChangeableInstance instance, Node tempNode, java.util.Map<java.lang.String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty, CheckReport checkReport)
nodeProperty in the related
template. If the binding contains system data producers it is also checked
if the corresponding system data flow can be updated. The following
attributes / properties may be updated and must therefore be tested:
instance - the changeable instance where the method is performed ontempNode - a temporary node container which holds the information
referenced by the node propertyparamBindings - a map between parameter name and dependencynodeProperty - the property which should be changedcheckReport - a checkReport object which can be filled with the reason
why the isPossible failed (i.e. in the case the method returns
false), may be nullpublic static void performOperation(SessionToken session, ChangeableTemplate template, Node node, java.util.Map<java.lang.String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty)
session - The session which is used to check for access rights on this
method.template - the related templatenode - A temporary node object, containing the new values.paramBindings - a map between parameter name and dependencynodeProperty - Possible values of NodeProperty are described above.public static void performOperation(SessionToken session, ChangeableTemplate template, Node node, java.util.Map<java.lang.String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty, UpdateManager updateManager)
session - The session which is used to check for access rights on this
method.template - the related templatenode - A temporary node object, containing the new values.paramBindings - a map between parameter name and dependencynodeProperty - possible values of NodeProperty are described above.updateManager - The update manager which will be informed about
process changes.public static void performOperation(SessionToken session, ChangeableInstance instance, Node node, java.util.Map<java.lang.String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty)
session - The session which is used to check for access rights on this
method.instance - the related changeable instancenode - A temporary node object, containing the new values.paramBindings - a map between parameter name and dependencynodeProperty - possible values of NodeProperty are described above.public static void performOperation(SessionToken session, ChangeableInstance instance, Node node, java.util.Map<java.lang.String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty, UpdateManager updateManager)
session - The session which is used to check for access rights on this
method.instance - the related changeable instancenode - A temporary node object, containing the new values.paramBindings - a map between parameter name and dependencynodeProperty - possible values of NodeProperty are described above.updateManager - The update manager which will be informed about
process changes.protected static void performOperation(SessionToken session, ChangePrimitives processGraph, Node node, java.util.Map<java.lang.String,Dependency> paramBindings, ProcessConstants.NodeProperty nodeProperty, UpdateManager updateManager)
session - The session which is used to check for access rights on this
method.processGraph - an instance of type ChangeableTemplate or
ChangeableInstancenode - A temporary node object, containing the new values.paramBindings - a map between parameter name and dependencynodeProperty - possible values of NodeProperty are described above.updateManager - The update manager which will be informed about
process changes.