Package jadex.bpmn.model
Class MSequenceEdge
- java.lang.Object
- 
 public class MSequenceEdge extends MEdge A sequence edge is a control flow edge between activities.
- 
- 
Field SummaryFields Modifier and Type Field Description protected UnparsedExpressionconditionThe condition.protected booleandefThe default flag.protected IndexMap<java.lang.String,Tuple2<UnparsedExpression,UnparsedExpression>>parametermappingsThe parameter mappings.protected java.lang.StringtypeThe type.- 
Fields inherited from class jadex.bpmn.model.MAssociationTargetassociations, associationsdescription
 - 
Fields inherited from class jadex.bpmn.model.MNamedIdElementdescription, name
 - 
Fields inherited from class jadex.bpmn.model.MAnnotationElementannotations
 - 
Fields inherited from class jadex.bpmn.model.MIdElementid, ID_GENERATOR
 
- 
 - 
Constructor SummaryConstructors Constructor Description MSequenceEdge()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddParameterMapping(java.lang.String name, UnparsedExpression exp, UnparsedExpression iexp)Add a parameter mapping.voidconnect(MActivity source, MActivity target)Helper method connecting two activities using this edge.voiddisconnect()Helper method disconnecting this edge.UnparsedExpressiongetCondition()Get the condition.IndexMap<java.lang.String,Tuple2<UnparsedExpression,UnparsedExpression>>getParameterMappings()Get the parameter mappings map.IParsedExpressiongetParsedCondition()Get the parsed condition.java.lang.StringgetType()Get the type.booleanisDefault()Get the default flag.voidsetCondition(UnparsedExpression condition)Set the condition.voidsetDefault(boolean def)Set the default flag.voidsetType(java.lang.String type)Set the type.- 
Methods inherited from class jadex.bpmn.model.MAssociationTargetaddAssociation, getAssociations, getAssociationsDescription, removeAssociation, setAssociationsDescription
 - 
Methods inherited from class jadex.bpmn.model.MNamedIdElementgetDescription, getName, setDescription, setName
 - 
Methods inherited from class jadex.bpmn.model.MAnnotationElementaddAnnotation, getAnnotations
 - 
Methods inherited from class jadex.bpmn.model.MIdElementequals, getId, hashCode, setId
 
- 
 
- 
- 
- 
Field Detail- 
typeprotected java.lang.String type The type.
 - 
defprotected boolean def The default flag.
 - 
conditionprotected UnparsedExpression condition The condition.
 - 
parametermappingsprotected IndexMap<java.lang.String,Tuple2<UnparsedExpression,UnparsedExpression>> parametermappings The parameter mappings.
 
- 
 - 
Method Detail- 
connectpublic void connect(MActivity source, MActivity target) Helper method connecting two activities using this edge. The previous connection is removed.- Parameters:
- source- New source of the edge.
- target- New target of the edge.
 
 - 
disconnectpublic void disconnect() Helper method disconnecting this edge.
 - 
getTypepublic java.lang.String getType() Get the type.- Returns:
- The type.
 
 - 
setTypepublic void setType(java.lang.String type) Set the type.- Parameters:
- type- The type to set.
 
 - 
isDefaultpublic boolean isDefault() Get the default flag.- Returns:
- The default flag.
 
 - 
setDefaultpublic void setDefault(boolean def) Set the default flag.- Parameters:
- def- The default flag.
 
 - 
setConditionpublic void setCondition(UnparsedExpression condition) Set the condition.- Parameters:
- condition- The condition.
 
 - 
getConditionpublic UnparsedExpression getCondition() Get the condition.- Returns:
- The condition.
 
 - 
getParsedConditionpublic IParsedExpression getParsedCondition() Get the parsed condition.- Returns:
- The parsed condition.
 
 - 
addParameterMappingpublic void addParameterMapping(java.lang.String name, UnparsedExpression exp, UnparsedExpression iexp)Add a parameter mapping.- Parameters:
- name- The parameter name.
- exp- The expression.
- iexp- The index expression, when setting a entry of an array parameter.
 
 - 
getParameterMappingspublic IndexMap<java.lang.String,Tuple2<UnparsedExpression,UnparsedExpression>> getParameterMappings() Get the parameter mappings map.- Returns:
- The parameter mappings.
 
 
- 
 
-