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.x metamodel, and their attributes in addition to those in Table 8.
Model Element | Attribute | Type | Multi. | Description |
---|---|---|---|---|
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. | |
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. | |
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. | |
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. | |
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 | --- | --- | --- | |
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. | |
connector | ends | ref | many | The connector ends of the connector. |
connectorend | role | ref | one | The element that is attached at this connector end. |
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. | |
port | 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. | |
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. | |
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). | |
method | --- | --- | --- | |
package | ownedmembers | ref | many | The owned member elements. |
model | ownedmembers | ref | many | The owned member elements. |
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. | |
generalization | general | ref | one | Link to the parent in the generalization. |
interfacerealization | contract | ref | one | Link to the realized interface. |
dependency | supplier | ref | many | Links to the supplier elements of the relationship. |
client | ref | many | Links to the client elements of the relationship. | |
abstraction | supplier | ref | many | Links to the supplier elements of the relationship. |
client | ref | many | Links to the client elements of the relationship. | |
realization | supplier | ref | many | Links to the supplier elements of the relationship. |
client | ref | many | Links to the client elements of the relationship. | |
substitution | supplier | ref | many | Links to the supplier elements of the relationship. |
client | ref | many | Links to the client elements of the relationship. | |
usage | supplier | ref | many | Links to the supplier elements of the relationship. |
client | ref | many | Links to the client elements of the relationship. | |
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. | |
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. | |
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. | |
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. | |
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. | |
lifeline | represents | ref | one | The interaction participant that this lifeline represents. |
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). | |
occurrencespec | covered | ref | one | The lifeline on which this occurrence specification appears. |
event | ref | one | The occurring event. | |
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. | |
interactionoperand | fragments | ref | many | The message occurrence specifications and combined fragments of the interaction operand. |
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. | |
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. | |
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. | |
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. | |
extensionpoint | --- | --- | --- | |
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. |
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. | |
region | subvertices | ref | many | The states contained in the region. |
transitions | ref | many | The transitions contained in the region. | |
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. | |
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. | |
constraint | --- | --- | --- | |
trigger | event | ref | one | The event causing the trigger. |
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. | |
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. | |
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. | |
controlnode | kind | data | one | The kind of control node: initial, activityfinal, flowfinal, fork, join, merge, or decision. |
objectnode | kind | data | one | The kind of object node: centralbuffer, datastore, activityparameter, or expansion. |
pin | kind | data | one | The kind of pin (input, output, value, actioninput). |
type | ref | one | The type of the pin. | |
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. | |
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. | |
signal | --- | --- | --- | |
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 | --- | --- | --- | |
opaqueexpression | --- | --- | --- | |
instancevalue | --- | --- | --- | |
literalboolean | --- | --- | --- | |
literalinteger | --- | --- | --- | |
literalstring | --- | --- | --- | |
literalunlimitednatural | --- | --- | --- | |
literalnull | --- | --- | --- | |
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. | |
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. | |
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. | |
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) | |
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. | |
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. | |
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. | |
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. | |
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. | |
manifestation | supplier | ref | many | Links to the supplier elements of the relationship. |
client | ref | many | Links to the client elements of the relationship. | |
stereotype | --- | --- | --- | |
comment | body | data | one | The comment text. |
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. |
Prev | Up | Next |
Appendix A.1 "Metamodel for UML 1.3/1.4" | Contents | Appendix B: "List of Design Metrics" |