| Package | Description |
|---|---|
| de.aristaflow.adept2.core.changeoperations | |
| de.aristaflow.adept2.model.processmodel |
Warning: This package description is OUTDATED (work in progress)!!
|
| Modifier and Type | Method and Description |
|---|---|
static DataEdge |
ChangeOperationTools.createSimpleDataEdgeObject(SessionToken session,
ActivityConstants.AccessType type)
Creates a simple DataEdge container Object
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SwapDataElementParameterConnections.isPossible(ChangeableInstance instance,
int nodeID,
int dataElementID1,
DataEdge dataEdge1,
int dataElementID2,
DataEdge dataEdge2)
Check if it is possible to swap the parameter data element connections of
the given data edges in the given instance.
|
static boolean |
SwapDataElementParameterConnections.isPossible(ChangeableInstance instance,
int nodeID,
int dataElementID1,
DataEdge dataEdge1,
int dataElementID2,
DataEdge dataEdge2,
CheckReport checkReport)
Check if it is possible to swap the parameter data element connections of
the given data edges in the given instance.
|
static boolean |
ReconnectDataEdge.isPossible(ChangeableInstance instance,
int nodeID,
int dataElementID,
DataEdge dataEdge,
ProcessModelParameter param)
Check if it is possible to reconnect the given data edge (respectively the
connected data element) to the given parameter in the instance .
|
static boolean |
ReconnectDataEdge.isPossible(ChangeableInstance instance,
int nodeID,
int dataElementID,
DataEdge dataEdge,
ProcessModelParameter param,
CheckReport checkReport)
Check if it is possible to reconnect the given data edge (respectively the
connected data element) to the given parameter in the template.
|
static boolean |
SwapDataElementParameterConnections.isPossible(Template template,
int nodeID,
int dataElementID1,
DataEdge dataEdge1,
int dataElementID2,
DataEdge dataEdge2)
Check if it is possible (concerning structural correctness) to swap the
parameter data element connections of the given data edges in the given
template.
|
static boolean |
SwapDataElementParameterConnections.isPossible(Template template,
int nodeID,
int dataElementID1,
DataEdge dataEdge1,
int dataElementID2,
DataEdge dataEdge2,
CheckReport checkReport)
Check if it is possible (concerning structural correctness) to swap the
parameter data element connections of the given data edges in the given
template.
|
static boolean |
ReconnectDataEdge.isPossible(Template template,
int nodeID,
int dataElementID,
DataEdge dataEdge,
ProcessModelParameter param)
Check if it is possible to reconnect the given data edge (respectively the
connected data element) to the given parameter in the template.
|
static boolean |
ReconnectDataEdge.isPossible(Template template,
int nodeID,
int dataElementID,
DataEdge dataEdge,
ProcessModelParameter param,
CheckReport checkReport)
Check if it is possible to reconnect the given data edge (respectively the
connected data element) to the given parameter in the template.
|
static void |
UpdateDataEdge.performOperation(SessionToken session,
ChangeableInstance instance,
int nodeID,
int dataElementID,
ActivityConstants.AccessType type,
DataEdge dataEdge,
ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Updates the data edge (described by the given node ID and the given data
element ID) in the given instance using the data in the given data edge
object.
|
static void |
UpdateDataEdge.performOperation(SessionToken session,
ChangeableInstance instance,
int nodeID,
int dataElementID,
ActivityConstants.AccessType type,
DataEdge dataEdge,
UpdateManager updateManager,
ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Updates the data edge (described by the given node ID and the given data
element ID) in the given instance using the data in the given data edge
object.
|
static void |
SwapDataElementParameterConnections.performOperation(SessionToken session,
ChangeableInstance instance,
int nodeID,
int dataElementID1,
DataEdge dataEdge1,
int dataElementID2,
DataEdge dataEdge2)
Swaps the parameter data element connections of the given data edges in the
given instance.
|
static void |
SwapDataElementParameterConnections.performOperation(SessionToken session,
ChangeableInstance instance,
int nodeID,
int dataElementID1,
DataEdge dataEdge1,
int dataElementID2,
DataEdge dataEdge2,
UpdateManager updateManager)
Swaps the parameter data element connections of the given data edges in the
given instance.
|
static void |
ReconnectDataEdge.performOperation(SessionToken session,
ChangeableInstance instance,
int nodeID,
int dataElementID,
DataEdge dataEdge,
ProcessModelParameter param)
Connect the given data element with the given parameter (via the given
already existing data edge) in the instance.
|
static void |
ReconnectDataEdge.performOperation(SessionToken session,
ChangeableInstance instance,
int nodeID,
int dataElementID,
DataEdge dataEdge,
ProcessModelParameter param,
UpdateManager updateManager)
Connect the given data element with the given parameter (via the given
already existing data edge) in the instance.
|
static void |
UpdateDataEdge.performOperation(SessionToken session,
ChangeableTemplate template,
int nodeID,
int dataElementID,
ActivityConstants.AccessType type,
DataEdge dataEdge,
ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Updates the data edge (described by the given node ID and the given data
element ID) in the given template using the data in the given data edge
object.
|
static void |
UpdateDataEdge.performOperation(SessionToken session,
ChangeableTemplate template,
int nodeID,
int dataElementID,
ActivityConstants.AccessType type,
DataEdge dataEdge,
UpdateManager updateManager,
ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Updates the data edge (described by the given node ID and the given data
element ID) in the given template using the data in the given data edge
object.
|
static void |
SwapDataElementParameterConnections.performOperation(SessionToken session,
ChangeableTemplate template,
int nodeID,
int dataElementID1,
DataEdge dataEdge1,
int dataElementID2,
DataEdge dataEdge2)
Swaps the parameter data element connections of the given data edges in the
given template.
|
static void |
SwapDataElementParameterConnections.performOperation(SessionToken session,
ChangeableTemplate template,
int nodeID,
int dataElementID1,
DataEdge dataEdge1,
int dataElementID2,
DataEdge dataEdge2,
UpdateManager updateManager)
Swaps the parameter data element connections of the given data edges in the
given template.
|
static void |
ReconnectDataEdge.performOperation(SessionToken session,
ChangeableTemplate template,
int nodeID,
int dataElementID,
DataEdge dataEdge,
ProcessModelParameter param)
Connect the given data element with the given parameter (via the given
already existing data edge) in the template.
|
static void |
ReconnectDataEdge.performOperation(SessionToken session,
ChangeableTemplate template,
int nodeID,
int dataElementID,
DataEdge dataEdge,
ProcessModelParameter param,
UpdateManager updateManager)
Connect the given data element with the given parameter (via the given
already existing data edge) in the template.
|
protected static void |
UpdateDataEdge.performOperation(SessionToken session,
ChangePrimitives processGraph,
int nodeID,
int dataElementID,
ActivityConstants.AccessType type,
DataEdge dataEdge,
UpdateManager updateManager,
ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Worker method to do the structural changes for both changeable templates
and changeable instances.
|
protected static void |
SwapDataElementParameterConnections.performOperation(SessionToken session,
ChangePrimitives processGraph,
int nodeID,
int dataElementID1,
DataEdge dataEdge1,
int dataElementID2,
DataEdge dataEdge2,
UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates
and changeable instances.
|
protected static void |
ReconnectDataEdge.performOperation(SessionToken session,
ChangePrimitives processGraph,
int nodeID,
int dataElementID,
DataEdge dataEdge,
ProcessModelParameter param,
UpdateManager updateManager)
Worker method to do the structural changes for both changeable templates
and changeable instances.
|
| Modifier and Type | Method and Description |
|---|---|
DataEdge |
ChangePrimitives.addDataEdge(int node,
int dataElement,
DataEdge dataEdge)
Use this method to connect a data element to a node which does not have an
assigned activity yet.
|
DataEdge |
ChangePrimitives.addDataEdge(int node,
int connector,
int dataElement,
DataEdge dataEdge)
This method is called when the node has an assigned activity.
|
DataEdge |
ProcessModelFactory.createDataEdge(ActivityConstants.AccessType type,
boolean optional,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
Create a data edge.
|
DataEdge |
StructuredDataEdge.getDataEdge()
Returns the data edge object the structured data edge belongs to.
|
DataEdge |
AbstractWrappingTemplate.getDataEdge(int nodeID,
int dataElementID,
ActivityConstants.AccessType type) |
DataEdge |
Template.getDataEdge(int nodeID,
int dataElementID,
ActivityConstants.AccessType type)
Returns the data edge which is identified by the given node, the
data element and the direction (reading or writing).
|
DataEdge |
ChangePrimitives.updateDataEdge(int nodeID,
int dataElementID,
ActivityConstants.AccessType accessType,
DataEdge dataEdge,
ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Updates the data edge attribute given by dataEdgeProperty.
|
| Modifier and Type | Method and Description |
|---|---|
DataEdge |
ChangePrimitives.addDataEdge(int node,
int dataElement,
DataEdge dataEdge)
Use this method to connect a data element to a node which does not have an
assigned activity yet.
|
DataEdge |
ChangePrimitives.addDataEdge(int node,
int connector,
int dataElement,
DataEdge dataEdge)
This method is called when the node has an assigned activity.
|
StructuredDataEdge |
ProcessModelFactory.createStructuredDataEdge(DataEdge dataEdge,
int nodeID,
int connectorID,
int dataElementID)
Create a structured data edge (a container for a data edge and its
structural information).
|
DataEdge |
ChangePrimitives.updateDataEdge(int nodeID,
int dataElementID,
ActivityConstants.AccessType accessType,
DataEdge dataEdge,
ProcessConstants.DataEdgeProperty... dataEdgeProperties)
Updates the data edge attribute given by dataEdgeProperty.
|