Adding TreeSet Properties to a TreeSet Collection
According to your needs, you can add TreeSet Properties to TreeSet Collections (even to the root one).
These properties are displayed in the TreeTable renderer only, and can be hidden if needed.

Properties are not visible in Breakdown type reports.
The TreeSet Property can be:
• a value
• MetaAttribute value
• abstract property value
• a count
• MetaAssociationEnd
• query
• a computation (with a macro)
• an object
TreeSet Property access
By default, the TreeSet property is provided by the source object (Access section: "Direct").
You may want to provide the property by a MetaAssociationEnd of the source object (Access section: "MetaAssociationEnd").
Adding a value-based property to a TreeSet Collection
You can add value-based properties to a TreeSet Collection.
To add a value-based property to a TreeSet Collection:
1. Access the TreeSet Definition properties.
2. Display its Definition page.
3. Expand the TreeSet Definition structure.
4. Right-click the TreeSet Collection concerned and select New > TreeSet Property.
The Creation of TreeSet Property windows is displayed.
5. In the Local name field, modify the default name.
In the Configuration section, configure the property.
6. In the Property Type drop-down list:
• keep "Value (MetaAttribute)", to base the value on a MetaAttribute, or
• select "Value (Abstract Property)" to base the value on an Abstract Property.
7. Depending on the value type:
• in the MetaAttribute drop-down list, select the MetaAttribute you want to be displayed in the property.
• in the TreeSet Abstract Property field, select the Abstract Property you want to be displayed in the property.

Else click the right oriented arrow and connect the Abstract Property.
8. Click OK.
Adding a count-based property to a TreeSet Collection
You can add count-based properties to a TreeSet Collection.
The property is collected locally for the TreeSet, with the count retrieved from a query or a MetaAssociationEnd.
To add a count-based property to a TreeSet Collection:
1. Access the TreeSet Definition properties.
2. Display its Definition page.
3. Expand the TreeSet Definition structure.
4. Right-click the TreeSet Collection concerned and select New > TreeSet Property.
The Creation of TreeSet Property windows is displayed.
5. In the Local name field, modify the default name.
In the Configuration section, configure the property.
6. In the Property Type drop-down list, select the count type:
• "count (MetaAssociationEnd)", or
• "count (Query)".
7. In the:
• Counted MetaAssociationEnd field, select the MetaAssociationEnd in the list, or
• Counted Query field, select the query in the list.
Adding a macro-based property to a TreeSet Collection
You can add computed properties to a TreeSet Collection. The property is computed locally, with a macro, for the TreeSet.
Prerequisite:
For each macro-based property you have to create its implementing macro. This macro is based on the GetAttributeValue function:
GetAttributeValue(Object as MegaOject,AttributeID as Variant,Value As String)
Where:
Object is the object of which the attribute value is requested.
AttributeID is the absolute identifier of the attribute.
Value is the attribute value returned by the function, concerning this object.
To add a macro-based property to a TreeSet Collection:
1. Access the TreeSet Definition properties.
2. Display its Definition page.
3. Expand the TreeSet Definition structure.
4. Right-click the TreeSet Collection concerned and select New > TreeSet Property.
The Creation of TreeSet Property windows is displayed.
5. In the Local name field, modify the default name.
In the Configuration section, configure the property.
6. In the Property Type drop-down list, select "Computed".
7. Define the MetaAttribute characteristics:
• MetaAttribute Type (default value "String)
• MetaAttribute Length
• MetaAttribute Format (default value "Standard)
8. In the Implementation field, click the right-oriented arrow and connect the macro that enables to compute the field value.
9. Click OK.
Adding an object-based property to a TreeSet Collection
In case of "MetaAssociationEnd" Access type, you might want to add the object itself.
To add an object-based property to a TreeSet Collection:
1. Access the TreeSet Definition properties.
2. Display its Definition page.
3. Expand the TreeSet Definition structure.
4. Right-click the TreeSet Collection concerned and select New > TreeSet Property.
The Creation of TreeSet Property windows is displayed.
5. In the Local name field, modify the default name.
6. Expand the Access section, and select:
• in Access type: select "MetaAssociationEnd"
• in MetaAssociationEnd: select the MetaAssociationEnd concerned
7. In the Configuration section, select:
• Object property type: Object