|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.engine.IlrFunction
public class IlrFunction
Instances of the IlrFunction
class are functions in a ruleset.
Functions are created using the parsing methods of IlrRuleset
and are then exhibited by the ruleset.
Method Summary | |
---|---|
Class[] |
getArgumentTypes()
Returns the argument types array. |
String |
getFormalComment()
Returns the formal comment associated with the function as a string. |
String |
getName()
Returns the fully qualified name of the function. |
IlrPackage |
getPackage()
Returns the package in which the function is defined. |
Class |
getReturnType()
Returns the returned type of the function. |
String |
getShortName()
Returns the short name of the function. |
String |
getSignature()
Returns the signature of the function. |
IlrFunctionFactory |
makeActions(IlrPackageFactory pkgF)
Explores the function statements.This method shall be called after makeDeclaration. |
IlrFunctionFactory |
makeDeclaration(IlrPackageFactory pkgF)
Declares the function signature without exploring its statement. |
IlrFunctionFactory |
makeFactory()
Builds a factory object that represents this function. |
IlrFunctionFactory |
makeFactory(IlrPackageFactory pkgF)
Builds a factory object to represent this function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final String getName()
Returns the fully qualified name of the function.
public String getShortName()
Returns the short name of the function.
public final String getFormalComment()
Returns the formal comment associated with the function as a string. If
the function does not have a formal comment null
is
returned.
public Class getReturnType()
Returns the returned type of the function.
public Class[] getArgumentTypes()
public String getSignature()
Returns the signature of the function.
public final IlrFunctionFactory makeFactory()
IlrTool
method
public final IlrFunctionFactory makeFactory(IlrPackageFactory pkgF)
Builds a factory object to represent this function.
pkgF
- The package containing the function.
public final IlrFunctionFactory makeDeclaration(IlrPackageFactory pkgF)
Declares the function signature without exploring its statement.
pkgF
- The package containing the function.
public final IlrFunctionFactory makeActions(IlrPackageFactory pkgF)
pkgF
- The package containing the function.
public IlrPackage getPackage()
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |