| ILOG JRules User Guide > Customizing JRules > Tasks > Defining Common Model Extensions for Rule Studio and Rule Team Server > Defining Rule Model Extensions > Creating a Hierarchical Property |
Creating a Hierarchical Property |
PREVIOUS NEXT |
To define a hierarchical property, you need to create it in an extension model file, and specify the values of the hierarchy in an extension data file.
| Warning |
| Do not use a reserved SQL keyword as the name of a property. |
To create a hierarchical property:
Hierarchy item, and, in the Properties view, set the Name property to the name of the new hierarchy.
Property item, and, in the Properties view, set the Name property to the name of the item as you want it to appear in the Properties view, and the Type property to the name of the hierarchy.
Hierarchy Data item, and, in the Properties view, set the Name property to the name you gave to the hierarchy in the extension model file.
Hierarchy Data item, and click New Child > Node.
Node item. You can add child nodes to this node to create the hierarchy data.
In XML, you create a hierarchy as follows:
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |