Interface IDecisionVariable

All Superinterfaces:
IModelElement

public interface IDecisionVariable extends IModelElement
Represents a decision variable.
Author:
Holger Eichelberger
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the binding time of the variable.
    Returns the default value of the variable as specified as part of the variable declaration in the underlying IVML model.
    Returns the name of the variable.
    Returns the type of the variable.
    Returns the configured value for this variable.
    boolean
    Returns whether the this variable has been configured and is frozen.
    boolean
    Returns whether there this variable has been configured with a value.
  • Method Details

    • getName

      String getName()
      Returns the name of the variable.
      Returns:
      the name of the variable
    • getType

      String getType()
      Returns the type of the variable.
      Returns:
      the type of the variable, possibly adjusted by the model after adding this variable if the model supports fault-tolerance
    • getBindingTime

      String getBindingTime()
      Returns the binding time of the variable.
      Returns:
      the binding time, may be null if none is defined
    • getDefaultValue

      String getDefaultValue()
      Returns the default value of the variable as specified as part of the variable declaration in the underlying IVML model. For obtaining the actual value in a configuration, please refer to getValue().
      Returns:
      the default value, may be null if none is defined, possibly adjusted by the model after adding this variable if the model supports fault-tolerance
    • getValue

      String getValue()
      Returns the configured value for this variable. Please consider hasValue() and hasFrozenValue() in order to judge the return value correctly.
      Returns:
      the configured value for this variable, may be null if the actual value is null or if the variable has not been configured (see hasValue())
    • hasValue

      boolean hasValue()
      Returns whether there this variable has been configured with a value.
      Returns:
      true if variable has been configured, false else
    • hasFrozenValue

      boolean hasFrozenValue()
      Returns whether the this variable has been configured and is frozen.
      Returns:
      true if the configured value is frozen, false else