BAL collections
This sample demonstrates how to write action rules that use collections.
Time required
10 minutes
Prerequisites
You must have Rule Designer installed to import and run this sample.
Description
This sample shows you how to write action rules that use collections.
In the business object model (BOM), you can represent sets of objects as arrays (java.lang.Object[]) or collections (java.util.Collection).
This sample provides examples of action rules that use collections, and others that do not.
This sample includes the following activities:
- Identifying the correct and incorrect uses of collections in a business action language (BAL).
- Differentiating arrays (java.lang.Object[]) and collections (java.util.Collection).
- Manipulating collections.