Prev | Next |
Connectors
The process of creating connectors in a transformation has the same form as for creating elements (objects). It is a little more complex, because you also define each end of the connector - the source and target.
Connectors are represented in the Intermediary language as:
ConnectorType
{
connectorProperties*
AssociationClass {associationClassProperties*}
Source {sourceProperties*}
Target {targetProperties*}
}
For example:
Association
{
name="anAssociation"
stereotype=""
direction="Unspecified"
Source
{
access="Private"
navigability="Unspecified"
}
Target
{
access="Private"
multiplicity="1..*"
}
}
Syntax elements in the code
Element |
Detail |
See also |
---|---|---|
ConnectorType |
ConnectorType is one of these:
|
|
connectorProperties |
connectorProperties is zero, or one instance of one or more of these:
|
|
associationClassProperties |
associationClassProperties are one instance of these:
|
|
sourceProperties
|
sourceProperties and targetProperties are each a reference to an element and zero, or one instance of one or more of these:
|
|
Element Reference |
An element reference is either a guid that references an element that already exists before the transformation, or an XRef to reference an element that is created by a transformation.
|
Cross References |
Notes
Learn more