| Prev - Next - Down | SDMetrics - the UML design measurement tool |
| Attribute | Type | Multi. | Description |
|---|---|---|---|
| context | ref | one | Owner of the element in the UML model. |
| id | data | one | Unique identifier of the model element. |
| name | data | one | Name of the element in UML model. |
| comments | ref | many | The comments for the model element. |
Table 9 lists all elements of the UML2.0/2.1 metamodel, and their attributes in addition to those in Table 8.
| Model Element | Attribute | Type | Multi. | Description |
|---|---|---|---|---|
| abstraction | supplier | ref | many | Links to the supplier elements of the relationship. |
| client | ref | many | Links to the client elements of the relationship. | |
| action | kind | data | one | The kind of action: send, return, create, etc (there are many). |
| inputs | ref | many | The input pins of the action. | |
| outputs | ref | many | The output pins of the action. | |
| handlers | ref | many | The exception handlers owned by the action. | |
| activity | nodes | ref | many | The action, control, and object nodes of the activity. |
| edges | ref | many | The control and object flows of the activity. | |
| groups | ref | many | The groups of the activity. | |
| activitygroup | edges | ref | many | The contained edges of the group. |
| nodes | ref | many | The contained nodes of the group. | |
| groups | ref | many | The subgroups of the group. | |
| handlers | ref | many | The exception handlers of the structured node group. | |
| pins | ref | many | Pins owned by the activity group. | |
| kind | data | one | The kind of group: partition, interruptible, expansion, structured, conditional, loop, sequence. | |
| actor | visibility | data | one | Visibility of the element (public, protected, package, private). |
| abstract | data | one | Boolean indicating if the element is abstract. | |
| leaf | data | one | Boolean indicating if the element can have specializations. | |
| ownedattributes | ref | many | The attributes of the element. | |
| ownedoperations | ref | many | The operations of the element. | |
| ownedports | ref | many | The ports of the element. | |
| nestedclassifiers | ref | many | The nested classifiers of the element. | |
| generalizations | ref | many | The generalizations owned by the element. | |
| interfacerealizations | ref | many | The interface realizations owned by the element. | |
| connectors | ref | many | The connectors owned by the element. | |
| artifact | visibility | data | one | Visibility of the element (public, protected, package, private). |
| abstract | data | one | Boolean indicating if the element is abstract. | |
| leaf | data | one | Boolean indicating if the element can have specializations. | |
| ownedattributes | ref | many | The attributes of the element. | |
| ownedoperations | ref | many | The operations of the element. | |
| ownedports | ref | many | The ports of the element. | |
| nestedclassifiers | ref | many | The nested classifiers of the element. | |
| generalizations | ref | many | The generalizations owned by the element. | |
| interfacerealizations | ref | many | The interface realizations owned by the element. | |
| connectors | ref | many | The connectors owned by the element. | |
| nestedartifacts | ref | many | The artifacts that are defined (nested) within the artifact. | |
| manifestations | ref | many | The manifestation links to the model elements that are manifested in the artifact. | |
| association | memberends | ref | many | The member ends of the association. |
| ownedends | ref | many | The owned ends of the association (not navigable association ends). | |
| generalizations | ref | many | The generalizations owned by the association. | |
| associationclass | memberends | ref | many | The member ends of the association. |
| ownedends | ref | many | The owned ends of the association (not navigable association ends). | |
| generalizations | ref | many | The generalizations owned by the association. | |
| class | visibility | data | one | Visibility of the element (public, protected, package, private). |
| abstract | data | one | Boolean indicating if the element is abstract. | |
| leaf | data | one | Boolean indicating if the element can have specializations. | |
| ownedattributes | ref | many | The attributes of the element. | |
| ownedoperations | ref | many | The operations of the element. | |
| ownedports | ref | many | The ports of the element. | |
| nestedclassifiers | ref | many | The nested classifiers of the element. | |
| generalizations | ref | many | The generalizations owned by the element. | |
| interfacerealizations | ref | many | The interface realizations owned by the element. | |
| connectors | ref | many | The connectors owned by the element. | |
| collaboration | visibility | data | one | Visibility of the element (public, protected, package, private). |
| abstract | data | one | Boolean indicating if the element is abstract. | |
| leaf | data | one | Boolean indicating if the element can have specializations. | |
| ownedattributes | ref | many | The attributes of the element. | |
| ownedoperations | ref | many | The operations of the element. | |
| ownedports | ref | many | The ports of the element. | |
| nestedclassifiers | ref | many | The nested classifiers of the element. | |
| generalizations | ref | many | The generalizations owned by the element. | |
| interfacerealizations | ref | many | The interface realizations owned by the element. | |
| connectors | ref | many | The connectors owned by the element. | |
| ownedbehaviors | ref | many | Behavior specifications owned by the collaboration. | |
| combinedfragment | operator | data | one | The interaction operator (alt, loop, break, opt, par, ref, etc.) |
| covered | ref | many | The lifelines covered by this combined fragment. | |
| operands | ref | many | The interaction operands of this combined fragment. | |
| comment | body | data | one | The comment text. |
| component | visibility | data | one | Visibility of the element (public, protected, package, private). |
| abstract | data | one | Boolean indicating if the element is abstract. | |
| leaf | data | one | Boolean indicating if the element can have specializations. | |
| ownedattributes | ref | many | The attributes of the element. | |
| ownedoperations | ref | many | The operations of the element. | |
| ownedports | ref | many | The ports of the element. | |
| nestedclassifiers | ref | many | The nested classifiers of the element. | |
| generalizations | ref | many | The generalizations owned by the element. | |
| interfacerealizations | ref | many | The interface realizations owned by the element. | |
| connectors | ref | many | The connectors owned by the element. | |
| realizations | ref | many | The realizations owned by the component. | |
| members | ref | many | Other members owned by the component. | |
| connector | ends | ref | many | The connector ends of the connector. |
| connectorend | role | ref | one | The element that is attached at this connector end. |
| constraint | --- | --- | --- | |
| controlflow | source | ref | one | Source of the control flow. |
| target | ref | one | Target of the control flow. | |
| guard | ref | one | Guard of the control flow. | |
| controlnode | kind | data | one | The kind of control node: initial, activityfinal, flowfinal, fork, join, merge, or decision. |
| datatype | ownedattributes | ref | many | The attributes of the element. |
| ownedoperations | ref | many | The operations of the element. | |
| generalizations | ref | many | The generalizations owned by the element. | |
| dependency | supplier | ref | many | Links to the supplier elements of the relationship. |
| client | ref | many | Links to the client elements of the relationship. | |
| deployment | supplier | ref | many | Links to the supplier elements of the relationship. |
| client | ref | many | Links to the client elements of the relationship. | |
| configurations | ref | many | The deployment specifications that parameterize the deployment. | |
| deploymentspec | visibility | data | one | Visibility of the element (public, protected, package, private). |
| abstract | data | one | Boolean indicating if the element is abstract. | |
| leaf | data | one | Boolean indicating if the element can have specializations. | |
| ownedattributes | ref | many | The attributes of the element. | |
| ownedoperations | ref | many | The operations of the element. | |
| ownedports | ref | many | The ports of the element. | |
| nestedclassifiers | ref | many | The nested classifiers of the element. | |
| generalizations | ref | many | The generalizations owned by the element. | |
| interfacerealizations | ref | many | The interface realizations owned by the element. | |
| connectors | ref | many | The connectors owned by the element. | |
| nestedartifacts | ref | many | The artifacts that are defined (nested) within the artifact. | |
| manifestations | ref | many | The manifestation links to the model elements that are manifested in the artifact. | |
| diagram | type | data | one | The type of diagram (class diagram, sequence diagram, etc). |
| diagramelement | element | ref | one | The element that is shown on the diagram. |
| enumeration | ownedattributes | ref | many | The attributes of the element. |
| ownedoperations | ref | many | The operations of the element. | |
| generalizations | ref | many | The generalizations owned by the element. | |
| ownedliterals | ref | many | The literals of the enumeration. | |
| enumerationliteral | --- | --- | --- | |
| event | kind | data | one | The kind of event (signal, call, change, time, anyreceive). |
| linkedeventelement | ref | one | The element (signal, operation, boolean expression, or deadline) that raised the event, if any. | |
| exceptionhandler | handlerbody | ref | one | The node that handles the exception. |
| exceptioninput | ref | one | The input node of the handler body that received the exception token. | |
| expression | --- | --- | --- | |
| extensionpoint | --- | --- | --- | |
| generalization | general | ref | one | Link to the parent in the generalization. |
| instancespecification | classifier | ref | many | Links to the classifiers that this entity is an instance of. |
| deployments | ref | many | The deployments where this instance specification is the target. | |
| instancevalue | --- | --- | --- | |
| interaction | visibility | data | one | Visibility of the element (public, protected, package, private). |
| abstract | data | one | Boolean indicating if the element is abstract. | |
| leaf | data | one | Boolean indicating if the element can have specializations. | |
| ownedattributes | ref | many | The attributes of the element. | |
| ownedoperations | ref | many | The operations of the element. | |
| ownedports | ref | many | The ports of the element. | |
| nestedclassifiers | ref | many | The nested classifiers of the element. | |
| generalizations | ref | many | The generalizations owned by the element. | |
| interfacerealizations | ref | many | The interface realizations owned by the element. | |
| connectors | ref | many | The connectors owned by the element. | |
| lifelines | ref | many | The lifelines involved in the interaction. | |
| messages | ref | many | The messages sent within the interaction. | |
| fragments | ref | many | The message occurrence specifications and combined fragments of the interaction. | |
| interactionoperand | fragments | ref | many | The message occurrence specifications and combined fragments of the interaction operand. |
| interface | ownedattributes | ref | many | The attributes of the interface. |
| ownedoperations | ref | many | The operations of the interface. | |
| nestedclassifiers | ref | many | The nested classifiers of the interface. | |
| generalizations | ref | many | The generalizations owned by the interface. | |
| interfacerealization | contract | ref | one | Link to the realized interface. |
| lifeline | represents | ref | one | The interaction participant that this lifeline represents. |
| literalboolean | --- | --- | --- | |
| literalinteger | --- | --- | --- | |
| literalnull | --- | --- | --- | |
| literalstring | --- | --- | --- | |
| literalunlimitednatural | --- | --- | --- | |
| manifestation | supplier | ref | many | Links to the supplier elements of the relationship. |
| client | ref | many | Links to the client elements of the relationship. | |
| message | receiveevent | ref | one | Occurrence specification for the message reception. |
| sendevent | ref | one | Occurrence specification for the message sending. | |
| sort | data | one | The sort of communication (synchCall, asynchCall, asynchSignal). | |
| method | --- | --- | --- | |
| model | ownedmembers | ref | many | The owned member elements. |
| node | visibility | data | one | Visibility of the element (public, protected, package, private). |
| abstract | data | one | Boolean indicating if the element is abstract. | |
| leaf | data | one | Boolean indicating if the element can have specializations. | |
| ownedattributes | ref | many | The attributes of the element. | |
| ownedoperations | ref | many | The operations of the element. | |
| ownedports | ref | many | The ports of the element. | |
| nestedclassifiers | ref | many | The nested classifiers of the element. | |
| generalizations | ref | many | The generalizations owned by the element. | |
| interfacerealizations | ref | many | The interface realizations owned by the element. | |
| connectors | ref | many | The connectors owned by the element. | |
| nestednodes | ref | many | The subnodes located on the node. | |
| deployments | ref | many | The deployment links owned by the node (=deployment location). | |
| kind | data | one | The type of node (regular, executionenvironment, device) | |
| objectflow | source | ref | one | Source of the object flow. |
| target | ref | one | Target of the object flow. | |
| guard | ref | one | Guard of the control flow. | |
| objectnode | kind | data | one | The kind of object node: centralbuffer, datastore, activityparameter, or expansion. |
| occurrencespec | covered | ref | one | The lifeline on which this occurrence specification appears. |
| event | ref | one | The occurring event. | |
| opaqueexpression | --- | --- | --- | |
| operation | visibility | data | one | Visibility of the operation (public, private, protected, package). |
| abstract | data | one | Boolean indicating if operation is abstract. | |
| isquery | data | one | Boolean indicating if operation is a query that does not change the classifier's state. | |
| ownedparameters | ref | many | The parameters of the operation. | |
| package | ownedmembers | ref | many | The owned member elements. |
| parameter | kind | data | one | The direction of the parameter: in (default), out, inout, return. |
| parametertype | ref | one | Reference to the parameter type (class, data type etc). | |
| pin | kind | data | one | The kind of pin (input, output, value, actioninput). |
| type | ref | one | The type of the pin. | |
| port | type | ref | one | Reference to the type of the port. |
| primitivetype | ownedattributes | ref | many | The attributes of the element. |
| ownedoperations | ref | many | The operations of the element. | |
| generalizations | ref | many | The generalizations owned by the element. | |
| property | visibility | data | one | Visibility of the feature (public, private, protected, package). |
| propertytype | ref | one | Reference to the feature type (class, data type etc). | |
| isreadonly | data | one | Changeability of the feature. Values: true, false (default if not specified). | |
| association | ref | one | Reference to association if this is an association end. | |
| aggregation | data | one | The aggregation kind of the property: shared, composite, or none (default). | |
| qualifiers | ref | many | The qualifier attributes of the property. | |
| realization | supplier | ref | many | Links to the supplier elements of the relationship. |
| client | ref | many | Links to the client elements of the relationship. | |
| region | subvertices | ref | many | The states contained in the region. |
| transitions | ref | many | The transitions contained in the region. | |
| signal | --- | --- | --- | |
| state | kind | data | one | The kind of state: '' (empty), final, initial, deepHistory, shallowHistory, join, fork, choice, junction, entryPoint, exitPoint, terminate. |
| regions | ref | many | The regions of the composite or concurrent state. | |
| entry | ref | many | The entry activities of the state. | |
| exit | ref | many | The exit activities of the state. | |
| doactivity | ref | many | The do-activities of the state. | |
| connectionpoints | ref | many | The connection points of the state. | |
| statemachine | regions | ref | many | The top-level regions owned by the state machine. |
| isprotocol | data | one | Boolean indicating if this is a protocol state machine | |
| connectionpoints | ref | many | The connection points of the state machine. | |
| stereotype | --- | --- | --- | |
| substitution | supplier | ref | many | Links to the supplier elements of the relationship. |
| client | ref | many | Links to the client elements of the relationship. | |
| transition | kind | data | one | The kind of transition: external, internal, or local. |
| isprotocol | data | one | Boolean indicating if this is a protocol transition. | |
| transsource | ref | one | The source state of the transition. | |
| transtarget | ref | one | The target state of the transition. | |
| triggers | ref | many | The triggers that may fire the transition. | |
| guard | ref | one | The guard of the transition. | |
| effect | ref | one | The activity to be performed when the transition fires. | |
| trigger | event | ref | one | The event causing the trigger. |
| usage | supplier | ref | many | Links to the supplier elements of the relationship. |
| client | ref | many | Links to the client elements of the relationship. | |
| usecase | visibility | data | one | Visibility of the element (public, protected, package, private). |
| abstract | data | one | Boolean indicating if the element is abstract. | |
| leaf | data | one | Boolean indicating if the element can have specializations. | |
| ownedattributes | ref | many | The attributes of the element. | |
| ownedoperations | ref | many | The operations of the element. | |
| ownedports | ref | many | The ports of the element. | |
| nestedclassifiers | ref | many | The nested classifiers of the element. | |
| generalizations | ref | many | The generalizations owned by the element. | |
| interfacerealizations | ref | many | The interface realizations owned by the element. | |
| connectors | ref | many | The connectors owned by the element. | |
| includes | ref | many | The include relationships owned by the use case. | |
| extends | ref | many | The extend relationships owned by the use case. | |
| extensionpoints | ref | many | The extension points owned by the use case. | |
| usecaseextend | extendedcase | ref | one | The use case that is extended. |
| usecaseextensionpoint | ref | one | The extension point in the extended use case. | |
| usecaseinclude | usecaseaddition | ref | one | The included use case. |
| Prev | Up | Next |
| Appendix A.1 "Metamodel for UML 1.3/1.4" | Contents | Appendix B: "List of Design Metrics" |