ilog.rules.brl

Interface IlrMutableBRLRuleElement

    • Method Detail

      • setDefinition

        void setDefinition(java.lang.String text)
        Sets the text definition of the business rule.
        Parameters:
        text - The text to set.
      • setRootName

        void setRootName(java.lang.String rootName)
        Sets the entry point in the business rule language definition to be used for interpreting this rule. The root name is the name of the element in the abstract syntax schema used as entry point in the business rule language definition.
        Parameters:
        rootName - The root name, may be null for default root name.
      • setRootFilter

        void setRootFilter(java.lang.String rootFilter)
        Set the entry point group filter that must be used to interpret the input.
        Parameters:
        rootFilter - the root filter to be used for this input
      • setSyntaxTree

        void setSyntaxTree(IlrSyntaxTree syntaxTree)
        Sets an Abstract Syntax Tree to this business rule.
        Parameters:
        syntaxTree - The Abstract Syntax Tree to set.
      • setTemplateInfo

        void setTemplateInfo(java.util.List<IlrBRLTemplateInfo> templateInfo)
        Sets the template information for this business rule. IlrBRLTemplateInfo provides information about parts of the rules that are frozen.
        Parameters:
        templateInfo - The template information to attach to the rule. A list of IlrBRLTemplateInfo objects.
        See Also:
        IlrBRLTemplateInfo
      • setPackageName

        void setPackageName(java.lang.String pckgName)
        Sets the name of the package containing this rule. Business rules should be organized in packages by the rule model. There should be no need to invoke this method.
        Parameters:
        pckgName - The package name of the rule.
      • setTranslationProperties

        void setTranslationProperties(java.util.Map<?,?> properties)
        Associates a map of translation properties to the rule. Translation properties are generated in the IRL translation of the rule.
        Parameters:
        properties - A Map of property/value elements.

© Copyright IBM Corp. 1987, 2017