public class MSequenceEdge extends MEdge
Modifier and Type | Field and Description |
---|---|
protected jadex.bridge.modelinfo.UnparsedExpression |
condition
The condition.
|
protected boolean |
def
The default flag.
|
protected jadex.commons.collection.IndexMap<java.lang.String,jadex.commons.Tuple2<jadex.bridge.modelinfo.UnparsedExpression,jadex.bridge.modelinfo.UnparsedExpression>> |
parametermappings
The parameter mappings.
|
protected java.lang.String |
type
The type.
|
associations, associationsdescription
description, name
annotations
id, ID_GENERATOR
Constructor and Description |
---|
MSequenceEdge() |
Modifier and Type | Method and Description |
---|---|
void |
addParameterMapping(java.lang.String name,
jadex.bridge.modelinfo.UnparsedExpression exp,
jadex.bridge.modelinfo.UnparsedExpression iexp)
Add a parameter mapping.
|
void |
connect(MActivity source,
MActivity target)
Helper method connecting two activities using this edge.
|
void |
disconnect()
Helper method disconnecting this edge.
|
jadex.bridge.modelinfo.UnparsedExpression |
getCondition()
Get the condition.
|
jadex.commons.collection.IndexMap<java.lang.String,jadex.commons.Tuple2<jadex.bridge.modelinfo.UnparsedExpression,jadex.bridge.modelinfo.UnparsedExpression>> |
getParameterMappings()
Get the parameter mappings map.
|
jadex.javaparser.IParsedExpression |
getParsedCondition()
Get the parsed condition.
|
java.lang.String |
getType()
Get the type.
|
boolean |
isDefault()
Get the default flag.
|
void |
setCondition(jadex.bridge.modelinfo.UnparsedExpression condition)
Set the condition.
|
void |
setDefault(boolean def)
Set the default flag.
|
void |
setType(java.lang.String type)
Set the type.
|
addAssociation, getAssociations, getAssociationsDescription, removeAssociation, setAssociationsDescription
getDescription, getName, setDescription, setName
addAnnotation, getAnnotations
equals, getId, hashCode, setId
protected java.lang.String type
protected boolean def
protected jadex.bridge.modelinfo.UnparsedExpression condition
protected jadex.commons.collection.IndexMap<java.lang.String,jadex.commons.Tuple2<jadex.bridge.modelinfo.UnparsedExpression,jadex.bridge.modelinfo.UnparsedExpression>> parametermappings
public void connect(MActivity source, MActivity target)
source
- New source of the edge.target
- New target of the edge.public void disconnect()
public java.lang.String getType()
public void setType(java.lang.String type)
type
- The type to set.public boolean isDefault()
public void setDefault(boolean def)
def
- The default flag.public void setCondition(jadex.bridge.modelinfo.UnparsedExpression condition)
condition
- The condition.public jadex.bridge.modelinfo.UnparsedExpression getCondition()
public jadex.javaparser.IParsedExpression getParsedCondition()
public void addParameterMapping(java.lang.String name, jadex.bridge.modelinfo.UnparsedExpression exp, jadex.bridge.modelinfo.UnparsedExpression iexp)
name
- The parameter name.exp
- The expression.iexp
- The index expression, when setting a entry of an array parameter.public jadex.commons.collection.IndexMap<java.lang.String,jadex.commons.Tuple2<jadex.bridge.modelinfo.UnparsedExpression,jadex.bridge.modelinfo.UnparsedExpression>> getParameterMappings()