ilog.rules.brl.brldf

Interface IlrBRLVariable

  • All Superinterfaces:
    IlrTypeInfo


    public interface IlrBRLVariable
    extends IlrTypeInfo
    Represents variables in an Abstract Syntax Tree (AST) and specify the contract of variable manipulated in a BRL artifact and external to this artifact. Such variables are usually provided by a Variable Provider. You should not implement this interface directly but use default implementations provided by helper methods in IlrBRLVariableHelper if you nee to create external variables.
    See Also:
    IlrBRLVariableHelper, IlrBRLVariableProvider
    • Method Detail

      • getName

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

        boolean isExternal()
        Returns true if this variable is defined outside the rule. By default, Automatic variables, Ruleset parameter and variables are considered as external variables.
      • isImplicit

        boolean isImplicit()
        Returns true if this variable is an implicit variable.
      • isAutomatic

        boolean isAutomatic()
        Returns true if this variable is an automatic variable.
      • isAssignable

        boolean isAssignable()
        Returns true if this variable can be set.
      • isRulesetParameter

        boolean isRulesetParameter()
        Returns true if this variable is a ruleset parameter.
      • isRulesetVariable

        boolean isRulesetVariable()
        Returns true if this variable is a ruleset variable.

© Copyright IBM Corp. 1987, 2017