Follow sidelabs on Twitter

SIDE1:UserManual:Aspect

From SIDE-Labs.org

Description

In BlueXML Developer Studio, an aspect is defined as a collection of attributes. You can not add operation to an aspect. An aspect can be linked to one or many classes. The table below gives a description of the properties of an aspect

Tab Field Description
General Name Name of the aspect
Title Name display in the menu of the target platform
Description Description of the aspect. For example, in Alfresco when you move your cursor over the aspect name the description will be displayed.
Layout Specifies the layout of the attributes of the aspect.


Creating an aspect and its relation

The following are the steps to create an aspect, to add attributes, and link it to a class:

1. In the toolbox, click on the Aspect icon and drag it into the position you want in the class diagram.

Aspectcreation.JPG

2. Double-click on the aspect to edit its properties. Enter Information in the field name, Customer Information in the field title, and Information about the customer in the field description.


AspectGeneral.JPG
AspectBox.JPG

3. Click on the Property icon in the toolbox and click on the aspect Information to add an attribute called phone. Add another attribute called email.

AspectProperty.JPG


AspectPropertyPhoneEmail.JPG


4. To link the aspect Information to the class Customer select the Include aspect icon. Click on the class Customer and click on the aspect Information.

AspectPropertyLink.JPG