FeatureMembership
FeatureMembership
is defined in KerML specification on
page 168.
Excerpt from the machine readable specification:
A
FeatureMembership
is anOwningMembership
between aFeature
in anowningType
that is also aFeaturing
Relationship
between theFeature
and theType
, in which thefeaturingType
is thesource
and thefeatureOfType
is thetarget
. AFeatureMembership
is always owned by itsowningType
, which is thefeaturingType
for theFeatureMembership
considered as aFeaturing
.
The following diagram shows the inheritance hierarchy of FeatureMembership
according to the specification:
The following table shows all attributes defined for
FeatureMembership
according to the specification together with
the documentation from the machine readable specification. Note
that in SysIDE API, we use snake case for attribute names
instead of Pascal case used in the specification.
Attribute |
Documentation from machine readable specification |
Attributes defined in |
|
The |
|
The |
|
Attributes defined in |
|
The |
|
The |
|
The |
|
The |
|
Attributes defined in |
|
The |
|
The |
|
Attributes defined in |
|
The |
|
The short name of the |
|
The name of the |
|
|
Whether or not the |
The |
|
The |
|
Attributes defined in |
|
Whether this Relationship was generated by tooling to meet semantic rules, rather than being directly created by a modeler. |
|
The Elements that are related by this Relationship, derived as the union
of the |
|
The |
|
The
|
|
The relatedElement of this Relationship that owns the Relationship, if any. |
|
The relatedElements of this Relationship that are owned by the Relationship. |
|
Attributes defined in |
|
The globally unique identifier for this Element. This is intended to be set by tooling, and it must not change during the lifetime of the Element. |
|
An optional alternative name for the |
|
The declared name of this |
|
The short name to be used for this |
|
The name to be used for this |
|
The full ownership-qualified name of this |
|
Whether all necessary implied Relationships have been included in the
|
|
Whether this Element is contained in the ownership tree of a library model. |
|
The |
|
The Relationships for which this Element is the owningRelatedElement. |
|
The Relationship for which this Element is an ownedRelatedElement, if any. |
|
The |
|
The owner of this Element, derived as the |
|
The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of this Element. |
|
The Documentation owned by this Element. |
|
The |
|
The |
The following table lists SysIDE specific attributes available for
class FeatureMembership
:
Python Attribute |
- class FeatureMembership
-
- STD: tuple[type[syside.FeatureMembership], ...] = ()
- property type: syside.Type | None
- property feature: syside.Feature | None
- property owning_type: syside.Type | None
- property owned_member_feature: syside.Feature | None