Membership SysML
- class Membership
Implementation of
Membershipdefined in the KerML specification.Specification:
A
Membershipis aRelationshipbetween aNamespaceand anElementthat indicates theElementis amemberof (i.e., is contained in) the Namespace. Anymember_namesspecify how themember_elementis identified in theNamespaceand thevisibilityspecifies whether or not themember_elementis publicly visible from outside theNamespace.If a
Membershipis anOwningMembership, then it owns itsmember_element, which becomes anowned_memberof themembership_owning_namespace. Otherwise, themember_namesof aMembershipare effectively aliases within themembership_owning_namespacefor anElementwith a separateOwningMembershipin the same or a differentNamespace.For language description, see section 7.2.5.1 of the KerML specification. For more details on the model, see section 8.3.2.4.3 of the KerML specification.
Children
Members defined in
Membership(11 members)
R
RThe elements enclosed by curly brackets in textual syntax.
RWReturns
Trueif thisMembershipwas parsed fromInitialNodesyntax rule.
RSysMLImplementation of
member_elementdefined in the KerML specification.
RSysMLImplementation of
member_element_iddefined in the KerML specification.
RSysMLImplementation of
member_namedefined in the KerML specification.
RSysMLImplementation of
member_short_namedefined in the KerML specification.
RSysMLImplementation of
membership_owning_namespacedefined 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.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.Membership], ...] = ()
- property children: syside.RelationshipBody
The elements enclosed by curly brackets in textual syntax.
- property is_initial_node: bool
Returns
Trueif thisMembershipwas parsed fromInitialNodesyntax rule.
- property member_element: syside.Element | None
Implementation of
member_elementdefined in the KerML specification.Specification:
The
Elementthat becomes amemberof themembership_owning_namespacedue to thisMembership.See section 8.3.2.4.3 of the KerML specification for more details.
- property member_element_id: uuid.UUID
Implementation of
member_element_iddefined in the KerML specification.Specification:
The
element_idof themember_element.See section 8.3.2.4.3 of the KerML specification for more details.
- property member_name: str | None
Implementation of
member_namedefined in the KerML specification.Specification:
The name of the
member_elementrelative to themembership_owning_namespace.See section 8.3.2.4.3 of the KerML specification for more details.
- property member_short_name: str | None
Implementation of
member_short_namedefined in the KerML specification.Specification:
The short name of the
member_elementrelative to themembership_owning_namespace.See section 8.3.2.4.3 of the KerML specification for more details.
- property membership_owning_namespace: syside.Namespace | None
Implementation of
membership_owning_namespacedefined in the KerML specification.Specification:
The
Namespaceof which themember_elementbecomes amemberdue to thisMembership.See section 8.3.2.4.3 of the KerML specification for more details.
Implementation of
owning_related_elementdefined in the KerML specification.Specification:
The related_element of this Relationship that owns the Relationship, if any.
See section 8.3.2.1.3 of the KerML specification for more details.
- property sources: syside.ContainerView[syside.Element]
Implementation of
sourcedefined in the KerML specification.Specification:
The
related_elements from which this Relationship is considered to be directed.See section 8.3.2.1.3 of the KerML specification for more details.
- property targets: syside.ContainerView[syside.Element]
Implementation of
targetdefined in the KerML specification.Specification:
The
related_elementsto which this Relationship is considered to be directed.See section 8.3.2.1.3 of the KerML specification for more details.
-