Rule Builder > Business Object Models > Working With the BOM Explorer > Adding Elements to a BOM |
Adding Elements to a BOM |
PREVIOUS NEXT |
You can create seven types of element in the BOM Explorer:
Packages are a way of grouping classes and uniquely referring to them using Java-like fully qualified names.
To create a new root package in the BOM Explorer:
To create a new subpackage in the BOM Explorer:
Classes may be virtual or directly imported from the XOM. These classes can also be inner (sub)classes.
To create a new class at the root of the BOM:
To create a new class in a package:
BOM classes and BOM class members have properties, displayed in the Property Sheet, that can influence their behavior. For more information see BOM Class Properties and BOM Class Member Properties.
To create a new method in the BOM Explorer:
To create a new argument in the BOM Explorer:
The return type of attributes can be primitive types and classes that belong to the java.lang
and java.util
packages.
To create a new attribute in the BOM Explorer:
References are attributes with a nonprimitive or "common" return type. Common classes are the classes that belong to the java.lang
and java.util
packages.
To create a new reference in the BOM Explorer:
You can display a menu with the names of various items using enumerated domains. An enumerated domain allows you to group together a set of identifiers that represent different values. A BOM class can have an associated enumerated domain so that when an instance of this class is queried, BAL will display a menu with the names of the various items.
The enumerated domain of a class can be defined in the Rule Builder using the BOM Explorer. The properties of the enumerated domain and domain items can be edited in the Property Sheet in the usual way.
To add an enumerated domain to a class in the BOM Explorer:
To add domain items to the domain:
For more information on how to set up enumerated domains and use them in BAL rules, refer to the Business Action Language User's Manual.
Using the BOM Date and Time Classes | Virtual BOM Classes | Creating Links | Setting the supertypes Property
Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |