MembershipImport SysML
- class MembershipImport
Implementation of
MembershipImportdefined in the KerML specification.Specification:
A
MembershipImportis anImportthat imports itsimported_membershipinto theimport_owning_namespace. Ifis_recursive = trueand themember_elementof theimported_membershipis aNamespace, then the equivalent of a recursiveNamespaceImportis also performed on thatNamespace.For language description, see section 7.2.5.4 of the KerML specification. For more details on the model, see section 8.3.2.4.4 of the KerML specification.
Children
Members defined in
MembershipImport(2 members)
R
RSysMLImplementation of
imported_membershipdefined in the KerML specification.Members inherited from
Import(10 members)
RThe elements enclosed by curly brackets in textual syntax.
RSysMLImplementation of
import_owning_namespacedefined in the KerML specification.
RThe target element of this
Import.
RSysMLImplementation of
imported_elementdefined in the KerML specification.
RWSysMLImplementation of
is_import_alldefined in the KerML specification.
RWSysMLImplementation of
is_recursivedefined in the KerML specification.
RSysMLImplementation of
owning_related_elementdefined in the KerML specification.
RSysMLImplementation of
sourcedefined in the KerML specification.
RSysMLImplementation of
targetdefined in the KerML specification.
Try setting
is_import_all. ForExposeelements, this will returnFalseinstead of throwingTypeErrorwhen usingis_import_allsetter.Members inherited from
Relationship(9 members)
RConvenience method for sources[0].
RConvenience method for targets[0].
RWSysMLImplementation of
is_implieddefined in the KerML specification.
RReturns
Trueif thisRelationshipis using implicit visibility.
RSysMLImplementation of
owned_related_elementdefined in the KerML specification.
RSysMLImplementation of
related_elementdefined in the KerML specification.
RWThe visibility level of the related elements from this
Relationshiprelative to theowning_related_element.
Reset visibility to its implicit value.
Non-throwing alternative to
visibilitysetter.Members inherited from
Element(25 members)
RSysMLImplementation of
alias_idsdefined in the KerML specification.
RThe owned
Commentsrelated byowned_relationships.
RWSysMLImplementation of
declared_namedefined in the KerML specification.
RWSysMLImplementation of
declared_short_namedefined in the KerML specification.
RSysMLImplementation of
documentationdefined in the KerML specification.
RWSysMLImplementation of
element_iddefined in the KerML specification.
RSysMLImplementation of
is_implied_includeddefined in the KerML specification.
RSysMLImplementation of
is_library_elementdefined in the KerML specification.
RThe owned metadata related by
owned_relationships.
RSysMLImplementation of
namedefined in the KerML specification.
RSysMLImplementation of
owned_annotationdefined in the KerML specification.
RSysMLImplementation of
owned_elementdefined in the KerML specification.
RSysMLImplementation of
owned_relationshipdefined in the KerML specification.
RSysMLImplementation of
ownerdefined in the KerML specification.
RSysMLImplementation of
owning_membershipdefined in the KerML specification.
RSysMLImplementation of
owning_namespacedefined in the KerML specification.
RSysMLImplementation of
owning_relationshipdefined in the KerML specification.
RReturn a unique description of the location of this
Elementin the containment structure rooted in a rootNamespace. In most cases the segments will be identical toQualifiedName.
RSysMLImplementation of
qualified_namedefined in the KerML specification.
RThe owner of this
Elementas the parent ofowning_membershiporowning_relationshipotherwise.
RWThe state of semantic resolution for this
Element. Based on this, sema may skip elements to avoid duplicate work, e.g. when resolving elements in a group of related documents.
RSysMLImplementation of
short_namedefined in the KerML specification.
RSysMLImplementation of
textual_representationdefined in the KerML specification.
Check if the qualified name of this
Elementmatches the provided segments of a qualified name.Members inherited from
AstNode(7 members) Attributes
- STD: tuple[type[syside.MembershipImport], ...] = ()
- property imported_membership: syside.Membership | None
Implementation of
imported_membershipdefined in the KerML specification.Specification:
The
Membershipto be imported.See section 8.3.2.4.4 of the KerML specification for more details.