Package jadex.bpmn.model
Class MContextVariable
java.lang.Object
jadex.common.UnparsedExpression
jadex.model.modelinfo.Argument
jadex.bpmn.model.MContextVariable
- All Implemented Interfaces:
jadex.model.modelinfo.IArgument
public class MContextVariable
extends jadex.model.modelinfo.Argument
-
Field Summary
FieldsModifier and TypeFieldDescriptionInitial values for configurationsFields inherited from class jadex.model.modelinfo.Argument
description
Fields inherited from class jadex.common.UnparsedExpression
clazz, language, name, parsed, value
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new argument.MContextVariable
(String name, String description, String classname, String defaultvalue) Create a new argument. -
Method Summary
Modifier and TypeMethodDescriptionjadex.common.UnparsedExpression
getConfigValue
(String config) Get the value for a specific configuration only.jadex.common.UnparsedExpression
Get the value for a specific configuration.jadex.common.UnparsedExpression
removeValue
(String config) Removes the value for a specific configuration.void
Set the value for a specific configuration.Methods inherited from class jadex.model.modelinfo.Argument
convertArguments, getDefaultValue, getDescription, getResult, setDescription, toString, validate
Methods inherited from class jadex.common.UnparsedExpression
getClazz, getLanguage, getName, getParsed, getValue, setClazz, setLanguage, setName, setParsedExp, setValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface jadex.model.modelinfo.IArgument
getClazz, getName
-
Field Details
-
configinitialvalues
Initial values for configurations
-
-
Constructor Details
-
MContextVariable
public MContextVariable()Create a new argument. -
MContextVariable
Create a new argument.
-
-
Method Details
-
removeValue
Removes the value for a specific configuration.- Parameters:
config
- The configuration.- Returns:
- The expression.
-
getValue
Get the value for a specific configuration.- Parameters:
config
- The configuration.- Returns:
- The expression.
-
getConfigValue
Get the value for a specific configuration only.- Parameters:
config
- The configuration.- Returns:
- The expression.
-
setValue
Set the value for a specific configuration.- Parameters:
config
- The configuration.
-