association
Represents an Association.
| CLASS | DESCRIPTION |
|---|---|
Association |
An Association is used to associate information and Artifacts with Flow Objects. |
Classes¶
Association
dataclass
¶
Association(
*,
id: Optional[str] = None,
documentation: list[Documentation] = list(),
extension_elements: Optional[ExtensionElements] = None,
source_ref: str,
target_ref: str,
association_direction: AssociationDirection = NONE
)
Bases: Artifact
An Association is used to associate information and Artifacts with Flow Objects.
| ATTRIBUTE | DESCRIPTION |
|---|---|
association_direction |
Defines whether the Association shows any directionality with an arrowhead.
TYPE:
|
source_ref |
The IDREF that the Association is connecting from.
TYPE:
|
target_ref |
The IDREF that the Association is connecting to.
TYPE:
|
Attributes¶
association_direction
class-attribute
instance-attribute
¶
association_direction: AssociationDirection = field(
default=NONE, metadata={"name": "associationDirection", "type": "Attribute"}
)
Defines whether the Association shows any directionality with an arrowhead. The default is None (no arrowhead). A value of One means that the arrowhead will be at the Target Object. A value of Both means that there will be an arrowhead at both ends of the Association line.