UserAttributeElementType : public class
| Created: |
2007-12-19 13:31:04 |
| Modified: |
2010-03-02 10:01:07 |
|
Project: |
|
| Author: |
|
| Version: |
1.0 |
| Phase: |
1.0 |
| Status: |
Proposed |
| Complexity: |
Easy |
Advanced: |
|
| UUID: |
{A24DFD45-0015-4011-A141-5D73414DC27E} |
| Appears In: |
UserAttributes, RIFArea |
<p>UserAttributeElementType represents a certain, user-defined type of user attributeable elements. With such a type, one or more user attributes can be defined for all user attributeable elements of that type.<br/></p><p><br/></p><p>For example, engineers at Volkswagen could create a UserAttributeElementType called "VWFunction" with a single user attribute definition. That way, all FunctionTypes for which "VWFunction" is defined as the UserAttributeElementType via association uaType will have the corresponding user attribute.<br/></p><p><br/></p><p>User attribute element types can be compared to stereotypes in UML2, but are less rigidly defined.<br/></p><p><br/></p><p>Extension:<br/></p><p>Class<br/></p>
- Attributes
- Associations To
- Associations From
- Other Links
| Attribute |
Details |
public String validFor |
Range:0 to 1
|
Notes:
|
Comma-separated list of metaclass names this user attribute element type is applicable to. If undefined, then this user attribute element type is applicable to all UserAttributeableElements.<br /><br />Example: If UserAttributeElementType 'VWFunction' has its validFor attribute set to "FunctionalDevice,LocalDeviceManager", then element type 'VWFunction' is only applicable to functional devices and local device managers, i.e. only instances of FunctionalDevice and LocalDeviceManager may have their association uaType point to 'VWFunction'.
|
|
| Element |
Source Role |
Target Role |
Details |
UserAttributeDefinition
Class
|
Name:
|
Name: attribute
The attributes defined for this type. Note that inherited attribute definitions also need to be taken into account (cf. association 'extendedElementTypes').
|
|
RIFArea
Class
|
Name: userDefinedType
Contained defined types.
|
Name:
|
|
| Element |
Source Role |
Target Role |
Details |
UserAttributeableElement
Class
|
Name:
|
Name: uaType
The UAElementTypesUserAttributeElementTypes of this user attributeable element.
It is possible to provide more than one type. In that case, the UserAttributeDefinitions of all UAElementTypesUserAttributeElementTypes apply. If there are several attribute definitions with an identical 'key', then the corresponding user attribute will be applied only once.
|
|