Relationship#
- class ansys.sam.sysml2.meta_model.relationship.Relationship(element_id: str)#
Bases:
ansys.sam.sysml2.meta_model.element.ElementJava class ‘com.ansys.metamodel.sysml2.Relationship’.
Overview#
Get the owned related element property. |
|
Get the owning related element property. |
|
Get the related element property. |
|
Get the relationship owner property. |
|
Get the source property. |
|
Get the target property. |
|
Get the is implied property. |
Import detail#
from ansys.sam.sysml2.meta_model.relationship import Relationship
Property detail#
Get the owned related element property.
- Returns:
list[“Element”]Value of property owned related element.
Get the owning related element property.
- Returns:
- “Element”
Value of property owning related element.
Get the related element property.
- Returns:
list[“Element”]Value of property related element.
- property Relationship.relationship_owner: ansys.sam.sysml2.meta_model.element.Element#
Get the relationship owner property.
- Returns:
- “Element”
Value of property relationship owner.
- property Relationship.source: list[ansys.sam.sysml2.meta_model.element.Element]#
Get the source property.
- Returns:
list[“Element”]Value of property source.
- property Relationship.target: list[ansys.sam.sysml2.meta_model.element.Element]#
Get the target property.
- Returns:
list[“Element”]Value of property target.