Element#

class ansys.sam.sysml2.meta_model.element.Element(id: str)#

Bases: ansys.sam.sysml2.meta_model.e_object.EObject

Java class ‘com.ansys.medini.metamodel.sysml.Element’.

Overview#

name

Get the name property.

owner

Get the owner property.

comment

Get the comment property.

short_name

Get the short name property.

documentation

Get the documentation property.

owning_namespace

Get the owning namespace property.

owned_element

Get the owned element property.

owned_annotation

Get the owned annotation property.

qualified_name

Get the qualified name property.

alias_ids

Get the alias ids property.

visibility

Get the visibility property.

owned_relationship

Get the owned relationship property.

textual_representation

Get the textual representation property.

owned_inherited_relationship

Get the owned inherited relationship property.

Import detail#

from ansys.sam.sysml2.meta_model.element import Element

Property detail#

property Element.name: str#

Get the name property.

Returns:
str

Value of property name.

property Element.owner: Element#

Get the owner property.

Returns:
“Element”

Value of property owner.

property Element.comment: List[Comment]#

Get the comment property.

Returns:
List[“Comment”]

Value of property comment.

property Element.short_name: None#

Get the short name property.

Returns:
None

Value of property short name.

property Element.documentation: List[Documentation]#

Get the documentation property.

Returns:
List[“Documentation”]

Value of property documentation.

property Element.owning_namespace: Namespace#

Get the owning namespace property.

Returns:
“Namespace”

Value of property owning namespace.

property Element.owned_element: List[Element]#

Get the owned element property.

Returns:
List[“Element”]

Value of property owned element.

property Element.owned_annotation: List[Annotation]#

Get the owned annotation property.

Returns:
List[“Annotation”]

Value of property owned annotation.

property Element.qualified_name: str#

Get the qualified name property.

Returns:
str

Value of property qualified name.

property Element.alias_ids: List[str]#

Get the alias ids property.

Returns:
List[str]

Value of property alias ids.

property Element.visibility: None#

Get the visibility property.

Returns:
None

Value of property visibility.

property Element.owned_relationship: List[Relationship]#

Get the owned relationship property.

Returns:
List[“Relationship”]

Value of property owned relationship.

property Element.textual_representation: List[TextualRepresentation]#

Get the textual representation property.

Returns:
List[“TextualRepresentation”]

Value of property textual representation.

property Element.owned_inherited_relationship: List[Relationship]#

Get the owned inherited relationship property.

Returns:
List[“Relationship”]

Value of property owned inherited relationship.