ilog.rules.studio.res.generator.impl

Class IlrPOJOGenerator.PojoRulesetArchive

  • Enclosing class:
    IlrPOJOGenerator


    public class IlrPOJOGenerator.PojoRulesetArchive
    extends IlrFileGenerator.RulesetArchive
    Stores a ruleset archive name and version with two lists of parameters:
    • an in ruleset parameters list ( the in and inout ruleset parameters)
    • an out ruleset parameters list ( the inout and out ruleset parameters)
    • Method Detail

      • getRulesetResultClassNameWithVersion

        public java.lang.String getRulesetResultClassNameWithVersion()
        Gets the ruleset class name. The first letter is a major letter and the name is suffixed with 'Result'.
        Returns:
        The result ruleset class name to generate.
      • getRulesetResultClassName

        public java.lang.String getRulesetResultClassName()
        Gets the ruleset class name. The first letter is a major letter and the name is suffixed with 'Result'.
        Returns:
        The result ruleset class name to generate.
      • getOutParameterWithHelperMethod

        public java.util.List getOutParameterWithHelperMethod(java.lang.String var)
        Deprecated. As of JRules 7.0, replaced by getOutParameterWithHelperMethodAsString(String var).
        Gets the helper method to store the out ruleset parameters in the result class.
        Parameters:
        var - The name of the IlrRulesetExecutionResponse object.
        Returns:
        The list of the helper methods to get the out ruleset parameters.
      • getOutParameterWithHelperMethodAsString

        public java.util.List<java.lang.String> getOutParameterWithHelperMethodAsString(java.lang.String var)
        Gets the helper method to store the out ruleset parameters in the result class.
        Since:
        JRules 7.0
        Parameters:
        var - The name of the IlrRulesetExecutionResponse object.
        Returns:
        The list of the helper methods to get the Out ruleset parameters.
      • getOutParameter

        public java.util.List getOutParameter(java.lang.String var)
        Deprecated. As of JRules 7.0, replaced by getOutParameterAsString(String var).
        Gets the helper method to store the out ruleset parameters in the result class.
        Parameters:
        var - The name of the IlrSessionResponse object.
        Returns:
        The list of the helper methods to get the out ruleset parameters.
      • getOutParameterAsString

        public java.util.List<java.lang.String> getOutParameterAsString(java.lang.String var)
        Gets the helper method to store the out ruleset parameters in the result class.
        Since:
        JRules 7.0
        Parameters:
        var - The name of the IlrSessionResponse object.
        Returns:
        The list of the helper methods to get the Out ruleset parameters.
      • getTaskName

        public java.lang.String getTaskName()
        Gets the main task name if the ruleset archive contains a ruleflow. If the ruleset archive does not contain a ruleflow, null is returned.
        Returns:
        The main task name if the ruleset contains a ruleflow, null otherwise.
      • isVersionMandatory

        public boolean isVersionMandatory()
        Returns code>true if the version is mandatory to avoid duplication in the generated names. Otherwise returns code>false. A duplication can be generated if the RuleApp contains two rulesets with the same name but with two different versions.
        Returns:
        code>true if the version is mandatory, otherwise returns code>false.

© Copyright IBM Corp. 1987, 2020