|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FunctionDefinitionContract
Defines the contract for a function definition. A function definition can be defined by clients integrating with KRMS in order to implement custom logic which they may require as part of rule execution and evaluation. These can then be used in simple propositions.
The function definition itself defines various metadata about the function
including it's name, return type, and expected parameter types. The actual
implementation of the function is retrieved through the type defined by
getTypeId()
.
Method Summary | |
---|---|
List<? extends CategoryDefinitionContract> |
getCategories()
Returns an ordered list of the categories which this function definition requires. |
String |
getDescription()
Returns the description of this function definition. |
String |
getName()
Returns the name of this function definition. |
String |
getNamespace()
Returns the namespace code of this function definition. |
List<? extends FunctionParameterDefinitionContract> |
getParameters()
Returns an ordered, immutable list of the parameters which this function definition requires. |
String |
getReturnType()
Returns the type of the return value of the function defined by this function definition. |
String |
getTypeId()
Returns the id of the KrmsTypeDefinition which defines the
actual implementation of this function such that it can be loaded into
the engine and executed. |
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned |
---|
getVersionNumber |
Methods inherited from interface org.kuali.rice.core.api.mo.common.Identifiable |
---|
getId |
Methods inherited from interface org.kuali.rice.core.api.mo.common.active.Inactivatable |
---|
isActive |
Method Detail |
---|
String getNamespace()
String getName()
String getDescription()
String getReturnType()
String getTypeId()
KrmsTypeDefinition
which defines the
actual implementation of this function such that it can be loaded into
the engine and executed.
List<? extends FunctionParameterDefinitionContract> getParameters()
List<? extends CategoryDefinitionContract> getCategories()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |