| ILOG JRules User Guide > Customizing JRules > Tasks > Defining Common Model Extensions for Rule Studio and Rule Team Server > Defining Rule Model Extensions > Creating a Struct Property |
Creating a Struct Property |
PREVIOUS NEXT |
You can create a Struct property to group properties of primitive type.
| Warning |
| Do not use a reserved SQL keyword as the name of a property. |
To create a Struct property:
Struct item, and, in the Properties view, set the Name property to the name of the new Struct property.
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 Struct property.
In XML, you create a Struct property as follows:
<struct> <property name="status" type="Status"/> <property name="author" type="String"/> </struct>
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |