Relationship#
- class ansys.sam.sysml2.meta_model.relationship.Relationship(id: str)#
Bases:
ansys.sam.sysml2.meta_model.element.ElementJava class ‘com.ansys.medini.metamodel.sysml.Relationship’.
Overview#
Get the target property. |
|
Get the source property. |
|
Get the related element property. |
|
Get the owned related element property. |
|
Get the owning related element property. |
|
Get the inheriting element property. |
Import detail#
from ansys.sam.sysml2.meta_model.relationship import Relationship
Property detail#
- property Relationship.target: List[ansys.sam.sysml2.meta_model.element.Element]#
Get the target property.
- Returns:
List[“Element”]Value of property target.
- property Relationship.source: List[ansys.sam.sysml2.meta_model.element.Element]#
Get the source property.
- Returns:
List[“Element”]Value of property source.
Get the related element property.
- Returns:
List[“Element”]Value of property related element.
Get the owned related element property.
- Returns:
List[“Element”]Value of property owned related element.
Get the owning related element property.
- Returns:
NoneValue of property owning related element.
- property Relationship.inheriting_element: ansys.sam.sysml2.meta_model.element.Element#
Get the inheriting element property.
- Returns:
- “Element”
Value of property inheriting element.