Rule Builder > Business Object Models > Working With the BOM > Updating or Merging BOMs |
Updating or Merging BOMs |
PREVIOUS NEXT |
A .bom
file can be updated or merged with an existing BOM in the current repository.
To merge a .bom
file with the current BOM:
.bom
file to be merged.
The classes and packages of the merged BOM are added to those of your current BOM. If any classes have the same fully-qualified Java name, they are completely overwritten by the classes from the merged BOM.
You can specify exactly what is retained from the original BOM when you update or merge. The properties that allow this are:
brm.importantMemberProperties |
The value of these properties can be set to be the name of an "important" property of a BOM element. A property of a BOM element means both the static properties that are defined in the repository, and any dynamic, user-defined properties, such as tags. Specifying a property as an "important" property means that all elements in the original BOM that have a value set for the specified property are not replaced during the merge or update.
For example if you specify the following:
brm.importantMemberProperties = translation |
Then any methods or attributes with a value set for the translation
property will not be replaced during a merge or update. In addition, more than one BOM element property can be specified as a value of brm.importantXxxProperties
as shown below:
brm.importantMemberProperties = translation;name |
This means that if any methods or properties have a value set for the translation
or the name
property, they will not be replaced during an update or merge.
Refer to the Rule Builder Customization User's Manual for further details.
Working With Projects | Working With the Property Sheet | Adding Tags to a Repository Element | Updating Imported BOM Classes
Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |