FeatureValue SysML
- class FeatureValue
Implementation of
FeatureValuedefined in the KerML specification.Specification:
A
FeatureValueis aMembershipthat identifies a particular memberExpressionthat provides the value of theFeaturethat owns theFeatureValue. The value is specified as either a bound value or an initial value, and as either a concrete or default value. AFeaturecan have at most oneFeatureValue.The result of the
valueExpressionis bound to thefeature_with_valueusing aBindingConnector. Ifis_initial = false, then thefeaturing_typeof theBindingConnectoris the same as thefeaturing_typeof thefeature_with_value. Ifis_initial = true, then thefeaturing_typeof theBindingConnectoris restricted to itsstart_shot.If
is_default = false, then the above semantics of theFeatureValueare realized for the givenfeature_with_value. Otherwise, the semantics are realized for any individual of thefeaturing_typeof thefeature_with_value, unless another value is explicitly given for thefeature_with_valuefor that individual.For language description, see section 7.4.11 of the KerML specification. For more details on the model, see section 8.3.4.10.2 of the KerML specification.
Members defined in
FeatureValue(5 members)
R
RSysMLImplementation of
feature_with_valuedefined in the KerML specification.
RWSysMLImplementation of
is_defaultdefined in the KerML specification.
RWSysMLImplementation of
is_initialdefined in the KerML specification.
RSysMLImplementation of
valuedefined 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.FeatureValue], ...] = ()
- property feature_with_value: syside.Feature | None
Implementation of
feature_with_valuedefined in the KerML specification.Specification:
The Feature to be provided a value.
The
Featureto be provided a value.See section 8.3.4.10.2 of the KerML specification for more details.
- property is_default: bool
Implementation of
is_defaultdefined in the KerML specification.Specification:
Whether this
FeatureValueis a concrete specification of the bound or initial value of thefeature_with_value, or just a default value that may be overridden.See section 8.3.4.10.2 of the KerML specification for more details.
- property is_initial: bool
Implementation of
is_initialdefined in the KerML specification.Specification:
Whether this
FeatureValuespecifies a bound value or an initial value for thefeature_with_value.See section 8.3.4.10.2 of the KerML specification for more details.
- property value: syside.Expression | None
Implementation of
valuedefined in the KerML specification.Specification:
The Expression that provides the value as a result.
The
Expressionthat provides the value of thefeature_with_valueas itsresult.See section 8.3.4.10.2 of the KerML specification for more details.