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

    Fields
    Modifier and Type
    Field
    Description
    protected Map<String,jadex.common.UnparsedExpression>
    Initial values for configurations

    Fields inherited from class jadex.model.modelinfo.Argument

    description

    Fields inherited from class jadex.common.UnparsedExpression

    clazz, language, name, parsed, value
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a new argument.
    MContextVariable(String name, String description, String classname, String defaultvalue)
    Create a new argument.
  • Method Summary

    Modifier and Type
    Method
    Description
    jadex.common.UnparsedExpression
    Get the value for a specific configuration only.
    jadex.common.UnparsedExpression
    getValue(String config)
    Get the value for a specific configuration.
    jadex.common.UnparsedExpression
    Removes the value for a specific configuration.
    void
    setValue(String config, jadex.common.UnparsedExpression value)
    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

      protected Map<String,jadex.common.UnparsedExpression> configinitialvalues
      Initial values for configurations
  • Constructor Details

    • MContextVariable

      public MContextVariable()
      Create a new argument.
    • MContextVariable

      public MContextVariable(String name, String description, String classname, String defaultvalue)
      Create a new argument.
  • Method Details

    • removeValue

      public jadex.common.UnparsedExpression removeValue(String config)
      Removes the value for a specific configuration.
      Parameters:
      config - The configuration.
      Returns:
      The expression.
    • getValue

      public jadex.common.UnparsedExpression getValue(String config)
      Get the value for a specific configuration.
      Parameters:
      config - The configuration.
      Returns:
      The expression.
    • getConfigValue

      public jadex.common.UnparsedExpression getConfigValue(String config)
      Get the value for a specific configuration only.
      Parameters:
      config - The configuration.
      Returns:
      The expression.
    • setValue

      public void setValue(String config, jadex.common.UnparsedExpression value)
      Set the value for a specific configuration.
      Parameters:
      config - The configuration.