ilog.rules.studio.res.generator
Interface IlrSignature
-
public interface IlrSignature
Provides access to the in and inout ruleset parameter values specified in the Rule Designer wizard.- Since:
- JRules 6.0
-
-
Method Summary
Methods Modifier and Type Method and Description java.lang.String
getDisplayValue()
Gets the ruleset parameter value.java.lang.String
getExpression()
Gets the ruleset parameter value.java.lang.String
getMethod()
Gets the ruleset parameter value as a method (the signature and the body).java.lang.String
getMethodBody()
Gets the ruleset parameter value as the method body without the signature and the brackets.java.lang.String
getMethodName()
Gets the method name that is set as the ruleset parameter value.java.lang.String
getObjectType()
Gets the short type of the ruleset parameter as an Object type.java.lang.String
getParameterAutoBoxing()
Gets the ruleset parameter using autoboxing if the parameter is an object.java.lang.String
getParameterName()
Gets the ruleset parameter name.java.lang.String
getRulesetName()
Gets the ruleset name for which the ruleset parameter is declared.java.lang.String
getRulesetVersion()
Gets the ruleset version for which the ruleset parameter is declared.java.lang.String
getShortType()
Gets the short type of the ruleset parameter.java.lang.String
getType()
Gets the type of the ruleset parameter.boolean
isExpression()
The parameter value can be an expression or a method.boolean
isMethod()
The parameter value can be an expression or a method.
-
-
-
Method Detail
-
getRulesetName
java.lang.String getRulesetName()
Gets the ruleset name for which the ruleset parameter is declared.- Returns:
- The ruleset name.
-
getRulesetVersion
java.lang.String getRulesetVersion()
Gets the ruleset version for which the ruleset parameter is declared.- Returns:
- The ruleset version.
-
getParameterAutoBoxing
java.lang.String getParameterAutoBoxing()
Gets the ruleset parameter using autoboxing if the parameter is an object.- Returns:
- The ruleset parameter as an Object.
-
getParameterName
java.lang.String getParameterName()
Gets the ruleset parameter name.- Returns:
- The parameter name.
-
getType
java.lang.String getType()
Gets the type of the ruleset parameter.- Returns:
- The ruleset parameter type.
-
getShortType
java.lang.String getShortType()
Gets the short type of the ruleset parameter.- Returns:
- The ruleset parameter short type.
-
getObjectType
java.lang.String getObjectType()
Gets the short type of the ruleset parameter as an Object type.- Since:
- JRules 6.5
- Returns:
- The ruleset parameter as an Object.
-
getDisplayValue
java.lang.String getDisplayValue()
Gets the ruleset parameter value. If the value is an expression, the expression is returned. If the value is a method, the internationalized value of 'Use Method' is returned. The value is displayed in the wizard.- Returns:
- The ruleset parameter display value.
-
getExpression
java.lang.String getExpression()
Gets the ruleset parameter value.- Returns:
- The expression associated with the ruleset parameter.
-
getMethod
java.lang.String getMethod()
Gets the ruleset parameter value as a method (the signature and the body).- Returns:
- The method associated with the ruleset parameter.
-
getMethodBody
java.lang.String getMethodBody()
Gets the ruleset parameter value as the method body without the signature and the brackets.- Returns:
- The method associated with the ruleset parameter.
-
getMethodName
java.lang.String getMethodName()
Gets the method name that is set as the ruleset parameter value.- Returns:
- The method name that is set as the ruleset parameter value.
-
isExpression
boolean isExpression()
The parameter value can be an expression or a method.- Returns:
- True if the ruleset parameter value was entered as an expression. False if it is a method.
-
isMethod
boolean isMethod()
The parameter value can be an expression or a method.- Returns:
- True if the ruleset parameter value was entered as a method. False if it is an expression.
-
-