Call

The Call element provides a graphical representation of the 'call' expression and calls out to a static Java method to perform a complex calculation. The new argument can be added to the Call element. Other palette elements, for example, Date, Period Length or Rule Reference can be added to the argument of the Call element. The Period Length element can be added to other palette elements, for example, Create.

Properties:

The following table lists specific properties items for this element:

Table 1. Call properties items
Name Description
Class The name of the class that has the calling method. This is visible in the Technical Tab.
Method Name The name of the method that will be called. This is visible in the Technical Tab.
Date Type The return type of the call. This should be the same as the data type of the attribute. If the user wishes to change the data type into a Timeline, check the Timeline box. If the user wishes to change the data type to a list, check the list box. This is visible in the Business Tab.

Pop-up menu:

The following table lists specific pop-up menu items for this element:

Table 2. Call Pop-up Menus items
Name Description
Wrap in AND Wrap the call rule element in the And Rule Group element.
Wrap in OR Wrap the call rule element in the Or Rule Group element.
New Argument Add a new argument to the call rule element.
Remove Argument Remove an argument from the call rule element.
CAUTION:
Since Cúram V6, CER and the Dependency Manager support the automatic recalculation of CER-calculated values if their dependencies change.

If you change the implementation of a static method, CER and the Dependency Manager will not automatically know to recalculate attribute values that were calculated using the old version of your static method.

Once a static method has been used in a production environment for stored attribute values, rather than changing the implementation you should instead create a new static method (with the required new implementation), and change your rule sets to use the new static method. When you publish your rule set changes to point to the new static method, CER and the Dependency Manager will automatically recalculate all instances of the affected attribute values.