HOPEX/XMI Object Mapping
The XMI export feature translates a class diagram or use case diagram or state machine diagram or even protocol state machine diagram specified in HOPEX into an XMI compliant output file.
The following paragraph indicates what kinds of objects are exported by UML2 diagram types. Only objects belonging to the selected package are exported.
Class Diagram
Packages, classes, interfaces, enumerations, literal strings (expression text), associations, association roles, generalizations, constraints, required interfaces (link), provided interfaces (supported interface link), data types (class stereotype), primitive types (class stereotype), attributes, operations.
Use Case Diagram
Use cases, actors, packages, constraints, extension points (text), participations, extensions (link), inclusions (link), generalization, dependencies.
State Machine Diagram
State machines, regions, states, pseudo states, transitions, constraints
Protocol State Machine Diagram
Protocol state machines, regions, states, pseudo states, transitions, constraints
Activity UML Diagram
Actions, control nodes, Input Pins, Output Pins, Exchange Pins, central buffer nodes, data store nodes, activity partitions, control flows, object flows, exception handlers, activities uml, activity parameter nodes, structured activity nodes, expansion regions, expansion nodes, interruptible activity regions.
Component Diagram
Components, ports, packages, interfaces, required interfaces, provided interfaces, classes, Connectors, realized elements.
Composite Structure Diagram
Collaborations UML, collaboration uses, parts, dependencies, connectors, interfaces, classes, provided interfaces, required interfaces.
Sequence Diagram
Life lines, combined fragments, interaction uses, gates, states invariant, messages UML, constraints.
Messages include those exchanged directly between lifelines as well as messages exchanged through execution specification.
Communication Diagram
Life lines, connectors, messages UML.
Deployment Diagram
Packages, components, artifacts UML, nodes UML, devices, execution environments, interfaces, deployment specifications, deployments, manifestations, deployment configurations, component instances, device instances, node instances, execution environment instances, communication paths.
M Only objects owned by the selected package or its sub-packages are exported.
Objects that are linked to objects contained in the selected export package but owned by another package are also exported in order to ensure links. However, they will be owned by the exported package.
 
The following table indicates concepts managed by the export tool:
 
HOPEX Concepts
Package
Name
_Hexaidabs
Visibility
Comment
Client Dependency
Package Target Dependency
Owned Class
Owned Package
Owned Association
Association Class
Owned Dependency
Owned Element (UML): GeneralizationSet
Owned Use Case
Owned Actor (UML)
Constraint
Behavior: State Machine
Behavior: Protocol State Machine
Behavior: Activity Uml
Behavior: Interaction Uml
Behavior: Collaboration Uml
Owned Component
Owned Event
Class
Name
_Hexaidabs
Visibility
Comment
Abstract
IsLeaf
IsActive
Client Dependency
Class Target Dependency
Realization Class
Nested Class
Association
Connector
Association Class
Attribute
Operation (UML)
Generalization
Required Interface
Provided Interface
Constraint
Method
Port
AssociationEnd
Owned Part
Behavior: State Machine
Behavior: Activity Uml
Behavior: Interaction Uml
Behavior: Collaboration Uml
Data Type
Name
_Hexaidabs
Visibility
Abstract
IsLeaf
IsActive
Client Dependency
Class Target Dependency
Nested Class
Interface
_Hexaidabs
Name
Visibility
Comment
Abstract
IsLeaf
Client Dependency
Class Target Dependency
Nested Class
Association
Association Class
Attribute
Operation (UML)
Generalization
RequiredInterface
SpecificationInterface
Enumeration
_Hexaidabs
Name
Visibility
Comment
Client Dependency
Class Target Dependency
Attribute
Operation (UML)
Literal Value
RequiredInterface
Specification Interface
Expression
_Hexaidabs
Name
Visibility
Comment
Client Dependency
Class Target Dependency
Specification Interface
Primitive Type
Name
_Hexaidabs
Visibility
Abstract
IsLeaf
IsActive
Class Target Dependency
Nested Class
Association
_Hexaidabs
Name
Visibility
Comment
IsAssociationDerived
IsNavigable
Connection
Dependency (Target Association)
Class via AssociationEnd
Association Class
_Hexaidabs
Name
Visibility
Comment
IsLeaf
Abstract
IsActive
IsAssociationDerived
IsNavigable
Class Target Dependency
Nested Class
AssociationEnd
Association
Association Class
Class via AssociationEnd
Attribute
Operation (UML)
Attribute
_Hexaidabs
Name
Visibility
Comment
IsOrdred
Uniqueness
ReadOnly
IsDerived
InitialValue
Multiplicity : UpperValue, LowerValue
Dependency (Target Attribute)
AttributType
OverloadedAttribute
Operation (UML)
_Hexaidabs
Name
Visibility
Comment
Abstract
IsQuery
Precondition
Postcondition
Method
Parameter
ReturnType
Target Dependency
Dependency
_Hexaidabs
Name
Visibility
Comment
Class Source
Class Target
Generalization
_Hexaidabs
Name
Comment
Super Class
UML constraint
GeneralizationSet
_Hexaidabs
Name
Comment
IsComplete
IsDisjoint
Target Dependency
Generalization
Constraint
_Hexaidabs
Name
Comment
MaxInt
MinInt
ConstrainedClass
ConstrainedGeneralization
ConstrainedElement
Actor (UML)
Package
UseCase
UseCaseParticipation
Parameter
_Hexaidabs
Name
Comment
Parameter Type
Behavior (UML)
_Hexaidabs
Name
Specification
UseCase
_Hexaidabs
Name
Visibility
Comment
UsesUseCase
OwnedExtension
ExtensionPoint
Behavior: State Machine
Behavior: Protocol State Machine
Behavior: Interaction UML
Behavior: Activity UML
Constraint
Generalization
Actor (UML)
_Hexaidabs
Name
Visibility
Comment
Participation
OwnedExtension
Constraint
Generalization
Participation
_Hexaidabs
Name
Comment
Multiplicity
UseCase
Actor (UML)
Constraint
Extension
_Hexaidabs
Name
Comment
Extended Use Case
Extension Location
State Machine
_Hexaidabs
Name
Comment
Reentrant
DetailedState
Region
Region
_Hexaidabs
Name
Comment
State
PseudoState
Transition
State (UML)
_Hexaidabs
Name
Comment
Detailing Behavior
Outgoing
Incoming
OwnedRegion
OwnedRegion
DoActivity
ExitActivity
EntryActivivity
Pseudo State
_Hexaidabs
Name
Comment
PseudoStateKind
Outgoing Transition
Incoming Transition
Transition (UML)
_Hexaidabs
Name
Comment
Source
Target
Source Pseudo State
Target Pseudo State
Trigger
Effect (Behavior)
Constraint
 
Event (UML)
_Hexaidabs
Name
Comment
Protocol State Machine
_Hexaidabs
Name
Reentrant
Comment
Region
Action
_Hexaidabs
Name
IsLeaf
ActionKind
Comment
OutgoingControlFlow
OutgoingObjectFlow
IncomingControlFlow
IncomingObjectFlow
OwnerGroup
RequestOperation
CalledBehavior
StructuralFeatureElementManagedByAnAction
RequestSignal
Association
ClassManagedByAnAction
Variable
InputPin
OutputPin
ProtectingExceptionHandler
Trigger
LocalPostCondition
LocalPreCondition
Control Node
_Hexaidabs
Name
IsLeaf
Comment
OutgoingControlFlow
OutgoingObjectFlow
IncomingControlFlow
IncomingObjectFlow
OwnerGroup
Input Pin
_Hexaidabs
Name
IsLeaf
ControlType
OrderingKind
Comment
OutgoingControlFlow
OutgoingObjectFlow
IncomingControlFlow
IncomingObjectFlow
Output Pin
_Hexaidabs
Name
IsLeaf
ControlType
OrderingKind
Comment
OutgoingControlFlow
OutgoingObjectFlow
IncomingControlFlow
IncomingObjectFlow
Exchange Pin
_Hexaidabs
Name
IsLeaf
ControlType
OrderingKind
Comment
OutgoingControlFlow
OutgoingObjectFlow
IncomingControlFlow
IncomingObjectFlow
OwnerGroup
Central Buffer Node
_Hexaidabs
Name
IsLeaf
ControlType
OrderingKind
Comment
OutgoingObjectFlow
IncomingObjectFlow
OwnerGroup
Data Store Node
_Hexaidabs
Name
IsLeaf
ControlType
OrderingKind
Comment
OutgoingObjectFlow
IncomingObjectFlow
OwnerGroup
Activity Partition
_Hexaidabs
Name
IsDimension
IsExternal
Comment
ContainedElement
Object Flow
_Hexaidabs
Name
IsLeaf
Comment
Guard
Weight
SourceElement
TargetElement
Control Flow
_Hexaidabs
Name
IsLeaf
Comment
Guard
Weight
SourceElement
TargetElement
Exception Handler
_Hexaidabs
Name
Comment
ProtectedNode
ExceptionInput
Activity UML
_Hexaidabs
Name
Reentrant
SingleExecution
IsLeaf
Comment
ElementOwnedByAnActivityUML
Activity Parameter Node
_Hexaidabs
Name
IsLeaf
ControlType
OrderingKind
Comment
OutgoingObjectFlow
IncomingObjectFlow
Structured Activity Node
_Hexaidabs
Name
IsLeaf
MustIsolate
Comment
OutgoingControlFlow
OutgoingObjectFlow
IncomingControlFlow
IncomingObjectFlow
OwnerGroup
ContainedElement
Expansion Node
_Hexaidabs
Name
IsLeaf
ControlType
OrderingKind
Comment
OutgoingControlFlow
OutgoingObjectFlow
IncomingControlFlow
IncomingObjectFlow
Region
Expansion Region
_Hexaidabs
Name
IsLeaf
MustIsolate
ExpansionKind
Comment
OutgoingControlFlow
OutgoingObjectFlow
IncomingControlFlow
IncomingObjectFlow
OwnerGroup
ContainedElement
ExpansionNode
Interruptible Activity Region
_Hexaidabs
Name
Comment
ContainedElement
Collaboration uml
_Hexaidabs
Name
Comment
IsAbstract
IsLeaf
CollaborationRole
OwnedConnector
OwnedCollaborationUse
Collaboration use
_Hexaidabs
Name
Comment
Type
Dependency
Part
_Hexaidabs
Name
Visibility
Client Dependency
IsUnique
IsOrdered
Multiplicity
Comment
ConnectorEnd (of the LifeLine who represents the part)
Dependency
Connector
_Hexaidabs
Name
Connector Kind
IsLeaf
Comment
OwnedConnectorEnd
LifeLine
_Hexaidabs
Name
Comment
ElementRepresentedByALifeline
ElementCoveringLifeline
OwnedSelector
Combined Fragment
_Hexaidabs
Name
InteractionOperatorKind
Comment
InteractionOperand
CoveredLifeLine
Interaction Use
_Hexaidabs
Name
InteractionOperatorKind
Comment
RefersTo
CoveredLifeLine
State Invariant
_Hexaidabs
Name
Comment
InvariantConstraint
CoveredLifeLine
Gate
_Hexaidabs
Name
Comment
Message UML
_Hexaidabs
Name
MessageKind
Comment
Receiver
Sender
Connector
Artifact UML
_Hexaidabs
Name
Comment
Client Dependency
Target Dependency
Node UML
_Hexaidabs
Name
Comment
Client Dependency
Deployment
Device
_Hexaidabs
Name
Comment
Client Dependency
Deployment
Execution Environment
_Hexaidabs
Name
Comment
Client Dependency
Deployment
Deployment Specification
_Hexaidabs
Name
Comment
Client Dependency
Target Dependency
Instance ( Node UML/Device/Execution Specification/Component)
_Hexaidabs
Name
Comment
Client Dependency
Instantiated Element
Target Dependency
Communication Path
_Hexaidabs
Name
Comment
Communication Path End
Target Dependency
Communication Path
_Hexaidabs
Name
Comment
Multiplicity
Deployment Target
Deployment
_Hexaidabs
Name
Comment
Multiplicity
Deployed Element
Deployment Configuration