UserAttributeableElement : public class
Created: |
2007-12-19 13:30:18 |
Modified: |
2011-06-27 15:54:35 |
|
Project: |
|
Author: |
|
Version: |
1.0 |
Phase: |
1.0 |
Status: |
Proposed |
Complexity: |
Easy |
Advanced: |
|
UUID: |
{A1219C54-EAEF-43a3-A1AB-5B0632893861} |
Appears In: |
UserAttributes |
<p>UserAttributableElement represents an element to which user attributes can be attached. This is done by way of UserAttributeValues (see association 'uaValues'). What user attributes a certain element should be supplied with can be defined beforehand with UserAttributeDefinitions which are organized in UserAttributeElementTypes (see association 'uaTypes').<br/></p><p><br/></p><p>IMPORTANT: It is technically possible and legal to attach any key/value pair, even if this is in conflict with the attribute definitions of the UserAttributeElementTypes of this UserAttributeableElement (as defined by association 'uaTypes'). All implementations of this information model must expect such attribute definition violations. The reason for this is that (1) the attribute definitions and the types they define for the attributes are only meant as a guideline for working with user attributes on the modeling level, not as an implementation level type system and (2) this convention avoids a multitude of intricate problems when editing a model's user attribute definitions or values, which significantly simplifies implementation.<br/></p><p><br/></p><p>According to a common EAST-ADL meta-modeling pattern, the meta-classes that are attributable, i.e. to which user attributes may be attached, do not inherit from meta-class UserAttributableElement but instead UserAttributableElement points to these meta-classes (for example, to allow attaching user attributes to AUTOSAR Identifiable).<br/></p><p><br/></p><p><br/></p><p>Extension:<br/></p><p>Class<br/></p>
- Associations To
- Other Links
Element |
Source Role |
Target Role |
Details |
UserAttributeElementType
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.
|
|
UserAttributeValue
Class
|
Name:
|
Name: uaValue
The user attribute values, i.e. key/value pairs, which are attached to this element.
|
|