|
|
Create a Function rule by selecting Function
from the Technical
class.
Create a library rule before creating functions for the library.
A Function rule has two key parts:
Field |
Description |
Library Name |
|
Function Name |
Enter a name for a function. Begin the name with a letter and use only letters and digits. The name must be a valid Java identifier; see How to enter a Java identifier. Overloading functions
To overload a function, open the original function and use the Save As toolbar button ( If one function has multiple signatures, the system generates a hash function of the parameter types to distinguish them internally; this can result in long function names. When selecting a function, you can generally choose the one with the simpler name. |
For general information about the New form, see Completing the new rule dialog box. For general information on the Save As form, see How to enter rule keys using Save As.
To support function name overloading, the internal format of the function rule key incorporates the parameter names, order, and types.
When searching for function rules, the system filters candidate rules based on a requestor's RuleSet list of RuleSets and versions.
Time-qualified and circumstance-qualified rule resolution features are not available for function rules. The class hierarchy is not searched.