SIDE1:UserManual:Class
From SIDE-Labs.org
Description
The table below gives an overview of the properties of a class.
| Tab | Field | Description |
| General | Name | Name of the class. |
| Title | Title of the class. For example: in Alfresco, this title will be displayed in the menu. | |
| Description | Description of the class. For example: in Alfresco when you move your cursor near the icon of the class the description will be displayed. | |
| Is abstract | Specifies if it is an abstract class or not | |
| Is deprecated | Specifies if the class is deprecated or not | |
| View | Specifies how an instance of a class will be displayed in the target platform (for example Alfresco). Example for a class Society with 2 attributes to specify that the address will be displayed first you must write: Address, Name. | |
| Layout | Specifies the layout of the attributes of a class in the target platform, i.e. how the fields for displaying or editing the attributes are rendered on a form. Each pair of inner angle brackets defines a line. Example for the class Contact:
[ [{firstName},{lastName}], [{surname}, {title}], [{language}], [{contacts}] ] | |
| Aspects Organisation | This allows the designer to organize the aspects linked to the class in a specific order of appearance. | |
| Options | isContainer | Tells whether the class is able to contain objects. For example in Alfresco: if Checked, it will create a Space. If not, it will create a content. |
| visual-component | If nothing is selected the attributes of the class will not be separated from the attributes of the aspects linked to the class in the target platform.
Separator: add a separator between the attributes of the class and the attributes of the aspects in the target platform. HorizontalTab: Displays the attributes in a horizontal tab (A tab for the attributes of the class and a tab for each aspect linked to the class) in the target platform. VerticalTab: Displays the attributes in a vertical tab (A tab for the attributes of the class and a tab for each aspect linked to the class) in the target platform. | |
| Documentation | Enables the designer to write some documentation. The project documentation, if generated, is in HTML so this field may contain HTML tags. |
Creating a class
To create a class follow the steps provided below:
1. Click on the Class icon in the toolbox and drag it into the position you want in the class diagram.
2. In the class diagram, double click on this class to open the properties window.
3. Enter Customer in the name field, Customer Class in the title field, This class contains customer in the description field. Then click OK.
