Chapter 3 Building an XML model
To display an attribute group property sheet, double-click its name or its icon in the Browser tree view.
There are global and referencing attribute groups:
The General page of an attribute group property sheet displays the following properties:
Property | Description |
---|---|
Name | Name of the attribute group. It must be a no-colon-name (See Glossary). Required when the attribute group is global |
Code | Code of the attribute group. It must be a no-colon-name. Required when the attribute group is global |
Comment | Descriptive label of the attribute group |
Stereotype | Sub-classification used to extend the semantics of an object without changing its structure. It can be predefined or user-defined |
Reference | Name of an attribute group from the current model or any model opened in the workspace. It must be a qualified name (See Glossary). If you select an attribute group from another model, a shortcut is created with the referencing attribute group. A reference allows you to reuse an attribute group with all its properties without having to define it again. When a reference is defined, the name and code properties are grayed. The name and code are those of the target attribute group |
ID | ID of the attribute group. Its value must be of type ID and unique within the model containing this attribute group |
The Attributes page of an attribute group property sheet allows you to add attributes to an attribute group declaration:
Tool | Tooltip | Description |
---|---|---|
![]() |
Add Attribute | Creates a local attribute |
![]() |
Add Attribute Group with Reference to Attribute Group | Adds an attribute group with a reference to an attribute group defined in the current model. Select a name in the Reference dropdown listbox. You can also type a new name in the Reference column and then define a new attribute group in the Attribute Groups list (See Model menu) |
![]() |
Add Attribute with Reference to Attribute from a Selection | Adds one or several attributes with a reference to global attributes defined in the current model. Select one or several global attributes in the Selection dialog box |
![]() |
Add Attribute Group with Reference to Attribute Group from a Selection | Adds one or several attribute groups with a reference to attribute groups defined in the current model. Select one or several attribute groups in the Selection dialog box |
![]() |
Any Attribute | Adds any attribute of a specified namespace |
Copyright (C) 2005. Sybase Inc. All rights reserved. |
![]() |