Interface IDecisionVariable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getBindingTime()
      Returns the binding time of the variable.
      java.lang.String getDefaultValue()
      Returns the default value of the variable as specified as part of the variable declaration in the underlying IVML model.
      java.lang.String getName()
      Returns the name of the variable.
      java.lang.String getType()
      Returns the type of the variable.
      java.lang.String getValue()
      Returns the configured value for this variable.
      boolean hasFrozenValue()
      Returns whether the this variable has been configured and is frozen.
      boolean hasValue()
      Returns whether there this variable has been configured with a value.
    • Method Detail

      • getName

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

        java.lang.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

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

        java.lang.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

        java.lang.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