BOM properties
You can customize your BOM by adding properties or by changing their value.
You use BOM properties to attach information to business elements.
| Property | Element | Value | Description |
|---|---|---|---|
| prototype | Constructor or static method | Boolean | When the prototype property
is set to true, the constructor or static method
and its arguments are verbalized, and the corresponding constructs
are available in the action part a rule to define a new object. By default, all the arguments are mandatory, but you can make them optional by adding the prototype.mandatory[<arg>] property to an argument and setting it to false. For example, if you want to make the argument {1, departure airport ID} optional, add the custom property prototype.mandatory[1] and set it to false You can also define default values on the arguments. When you instantiate a new object in the rule, these default values are assigned, if you have specified them in the rule. In the rule action, the order in which the arguments are listed has no importance.If you remove the prototype custom property, you can no longer access the new constructs in the rule editor. The verbalization of the constructor is built with a prefix that defines the new object and followed by the arguments: prefix? {0, arg0_verbalization} ... {n, argN_verbalization} suffix?. For example, a new flight delayed event where {0, arrival airport ID} {1, departure airport ID} {2, new scheduled arrival time} {3, date} {4, flight}. |