RequirementConstraintMembership SysML
- class RequirementConstraintMembership
Implementation of
RequirementConstraintMembershipdefined in the SysML specification.Specification:
A
RequirementConstraintMembershipis aFeatureMembershipfor an assumed or requiredConstraintUsageof aRequirementDefinitionorRequirementUsage.For language description, see section 7.21.2 of the SysML specification. For more details on the model, see section 8.3.21.7 of the SysML specification.
Members defined in
RequirementConstraintMembership(5 members)
R
RWSysMLImplementation of
kinddefined in the SysML specification.
RSysMLImplementation of
owned_constraintdefined in the SysML specification.
RSysMLImplementation of
referenced_constraintdefined in the SysML specification.
An alternative to
kindthat will returnFalseif thisRequirementConstraintMembershipdoes not allow modifying itskindrather than raisingTypeError.Members inherited from
FeatureMembership(2 members)
RSysMLImplementation of
owned_member_featuredefined in the KerML specification.
RSysMLImplementation of
owning_typedefined in the KerML specification.Members inherited from
OwningMembership(4 members)
RSysMLImplementation of
owned_member_elementdefined in the KerML specification.
RSysMLImplementation of
owned_member_element_iddefined in the KerML specification.
RSysMLImplementation of
owned_member_namedefined in the KerML specification.
RSysMLImplementation of
owned_member_short_namedefined in the KerML specification.Members inherited from
Membership(10 members)
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.RequirementConstraintMembership], ...] = ()
- property kind: syside.RequirementConstraintKind
Implementation of
kinddefined in the SysML specification.Specification:
Whether the
RequirementConstraintMembershipis for an assumed or requiredConstraintUsage.See section 8.3.21.7 of the SysML specification for more details.
Note that setting
kindonRequirementConstraintMembershipsubtypes will throwTypeError.
- property owned_constraint: syside.ConstraintUsage | None
Implementation of
owned_constraintdefined in the SysML specification.Specification:
The
ConstraintUsagethat is theowned_member_featureof thisRequirementConstraintMembership.See section 8.3.21.7 of the SysML specification for more details.
- property referenced_constraint: syside.ConstraintUsage | None
Implementation of
referenced_constraintdefined in the SysML specification.Specification:
The
ConstraintUsagethat is referenced through thisRequirementConstraintMembership. It is thereferenced_featureof theowned_reference_subsettingof theowned_constraint, if there is one, and, otherwise, theowned_constraintitself.See section 8.3.21.7 of the SysML specification for more details.
Methods
- try_set_kind(arg: syside.RequirementConstraintKind, /) bool
An alternative to
kindthat will returnFalseif thisRequirementConstraintMembershipdoes not allow modifying itskindrather than raisingTypeError.