Package jadex.bpmn.model
Class MContextVariable
- java.lang.Object
-
- jadex.bridge.modelinfo.UnparsedExpression
-
- jadex.bridge.modelinfo.Argument
-
- jadex.bpmn.model.MContextVariable
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,UnparsedExpression>
configinitialvalues
Initial values for configurations-
Fields inherited from class jadex.bridge.modelinfo.Argument
description
-
-
Constructor Summary
Constructors Constructor Description MContextVariable()
Create a new argument.MContextVariable(java.lang.String name, java.lang.String description, java.lang.String classname, java.lang.String defaultvalue)
Create a new argument.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnparsedExpression
getConfigValue(java.lang.String config)
Get the value for a specific configuration only.UnparsedExpression
getValue(java.lang.String config)
Get the value for a specific configuration.UnparsedExpression
removeValue(java.lang.String config)
Removes the value for a specific configuration.void
setValue(java.lang.String config, UnparsedExpression value)
Set the value for a specific configuration.-
Methods inherited from class jadex.bridge.modelinfo.Argument
convertArguments, getDefaultValue, getDescription, getResult, setDescription, toString, validate
-
Methods inherited from class jadex.bridge.modelinfo.UnparsedExpression
getClazz, getLanguage, getName, getParsed, getValue, setClazz, setLanguage, setName, setParsedExp, setValue
-
-
-
-
Field Detail
-
configinitialvalues
protected java.util.Map<java.lang.String,UnparsedExpression> configinitialvalues
Initial values for configurations
-
-
Method Detail
-
removeValue
public UnparsedExpression removeValue(java.lang.String config)
Removes the value for a specific configuration.- Parameters:
config
- The configuration.- Returns:
- The expression.
-
getValue
public UnparsedExpression getValue(java.lang.String config)
Get the value for a specific configuration.- Parameters:
config
- The configuration.- Returns:
- The expression.
-
getConfigValue
public UnparsedExpression getConfigValue(java.lang.String config)
Get the value for a specific configuration only.- Parameters:
config
- The configuration.- Returns:
- The expression.
-
setValue
public void setValue(java.lang.String config, UnparsedExpression value)
Set the value for a specific configuration.- Parameters:
config
- The configuration.
-
-