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
descriptionFields 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.UnparsedExpressiongetConfigValue(String config) Get the value for a specific configuration only.jadex.common.UnparsedExpressionGet the value for a specific configuration.jadex.common.UnparsedExpressionremoveValue(String config) Removes the value for a specific configuration.voidSet the value for a specific configuration.Methods inherited from class jadex.model.modelinfo.Argument
convertArguments, getDefaultValue, getDescription, getResult, setDescription, toString, validateMethods inherited from class jadex.common.UnparsedExpression
getClazz, getLanguage, getName, getParsed, getValue, setClazz, setLanguage, setName, setParsedExp, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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.
-