RenderingDefinition SysML
- class RenderingDefinition
Implementation of
RenderingDefinitiondefined in the SysML specification.Specification:
A
RenderingDefinitionis aPartDefinitionthat defines a specific rendering of the content of a model view (e.g., symbols, style, layout, etc.).For language description, see section 7.26.4 of the SysML specification. For more details on the model, see section 8.3.26.5 of the SysML specification.
Inheritance:
Members defined in
RenderingDefinition(2 members)RAll subtypes of
RenderingDefinitionaccording to the specification.RSysMLImplementation of
renderingdefined in the SysML specification.Members inherited from
OccurrenceDefinition(1 member)RWSysMLImplementation of
is_individualdefined in the SysML specification.Members inherited from
Definition(33 members)RSysMLImplementation of
directed_usagedefined in the SysML specification.RWSysMLImplementation of
is_variationdefined in the SysML specification.RSysMLImplementation of
owned_actiondefined in the SysML specification.RSysMLImplementation of
owned_allocationdefined in the SysML specification.RSysMLImplementation of
owned_analysis_casedefined in the SysML specification.RSysMLImplementation of
owned_attributedefined in the SysML specification.RSysMLImplementation of
owned_calculationdefined in the SysML specification.RSysMLImplementation of
owned_casedefined in the SysML specification.RSysMLImplementation of
owned_concerndefined in the SysML specification.RSysMLImplementation of
owned_connectiondefined in the SysML specification.RSysMLImplementation of
owned_constraintdefined in the SysML specification.RSysMLImplementation of
owned_enumerationdefined in the SysML specification.RSysMLImplementation of
owned_flowdefined in the SysML specification.RSysMLImplementation of
owned_interfacedefined in the SysML specification.RSysMLImplementation of
owned_itemdefined in the SysML specification.RSysMLImplementation of
owned_metadatadefined in the SysML specification.RSysMLImplementation of
owned_occurrencedefined in the SysML specification.RSysMLImplementation of
owned_partdefined in the SysML specification.RSysMLImplementation of
owned_portdefined in the SysML specification.RSysMLImplementation of
owned_referencedefined in the SysML specification.RSysMLImplementation of
owned_renderingdefined in the SysML specification.RSysMLImplementation of
owned_requirementdefined in the SysML specification.RSysMLImplementation of
owned_statedefined in the SysML specification.RSysMLImplementation of
owned_transitiondefined in the SysML specification.RSysMLImplementation of
owned_usagedefined in the SysML specification.RSysMLImplementation of
owned_use_casedefined in the SysML specification.RSysMLImplementation of
owned_verification_casedefined in the SysML specification.RSysMLImplementation of
owned_viewpointdefined in the SysML specification.RSysMLImplementation of
owned_viewdefined in the SysML specification.RSysMLImplementation of
usagedefined in the SysML specification.RSysMLImplementation of
variant_membershipdefined in the SysML specification.RSysMLImplementation of
variantdefined in the SysML specification.Try setting
is_variation. For types that are implicitly variations, this will returnFalseinstead of throwingTypeErrorwhen usingis_variationsetter.Members inherited from
Classifier(2 members)RThe
Classifiersrelated to thisClassifierbyowned_subclassifications.RSysMLImplementation of
owned_subclassificationdefined in the KerML specification.Members inherited from
Type(37 members)RThe owned multiplicity that is declared before the children block in the textual syntax.
RSyside specific accessor for manipulating
declared_multiplicity.RSysMLImplementation of
differencing_typedefined in the KerML specification.RSysMLImplementation of
directed_featuredefined in the KerML specification.RThe types that related to this
Typethroughowned_disjoinings.RSysMLImplementation of
end_featuredefined in the KerML specification.RSysMLImplementation of
feature_membershipdefined in the KerML specification.RSysMLImplementation of
featuredefined in the KerML specification.RThe specializations and conjugations owned by this
Type.RSysMLImplementation of
inherited_featuredefined in the KerML specification.RSysMLImplementation of
inherited_membershipdefined in the KerML specification.RSysMLImplementation of
inputdefined in the KerML specification.RSysMLImplementation of
intersecting_typedefined in the KerML specification.RWSysMLImplementation of
is_abstractdefined in the KerML specification.RReturns
Trueif thisTypewas declared asabstractin the textual syntax.RSysMLImplementation of
is_conjugateddefined in the KerML specification.RWSysMLImplementation of
is_sufficientdefined in the KerML specification.RReturns
Trueif thisTypewas declared assufficientin the textual syntax.RSysMLImplementation of
multiplicitydefined in the KerML specification.RSysMLImplementation of
outputdefined in the KerML specification.RSysMLImplementation of
owned_conjugatordefined in the KerML specification.RSysMLImplementation of
owned_differencingdefined in the KerML specification.RThe
directed_featuresthat are owned by thisType.RSysMLImplementation of
owned_disjoiningdefined in the KerML specification.RSysMLImplementation of
owned_end_featuredefined in the KerML specification.RSysMLImplementation of
owned_feature_membershipdefined in the KerML specification.RSysMLImplementation of
owned_featuredefined in the KerML specification.RThe
inputsthat are owned by thisType.RSysMLImplementation of
owned_intersectingdefined in the KerML specification.RThe
outputsthat are owned by thisType.RSysMLImplementation of
owned_specializationdefined in the KerML specification.RSysMLImplementation of
owned_unioningdefined in the KerML specification.RThe other type, feature relationships and
FeatureChainingsowned by thisType.RSysMLImplementation of
unioning_typedefined in the KerML specification.Returns
Trueif thisTypedirectly or indirectly specializes anotherTypewhile followingFeatureChainings.Returns the direction of a
Featurein thisType.Returns
Trueif thisTypedirectly or indirectly specializes anotherTypewhile ignoringFeatureChainings.Members inherited from
Namespace(11 members)RThe elements enclosed by curly brackets in textual syntax.
RSysMLImplementation of
imported_membershipdefined in the KerML specification.RSysMLImplementation of
memberdefined in the KerML specification.RSysMLImplementation of
membershipdefined in the KerML specification.RSysMLImplementation of
owned_importdefined in the KerML specification.RSysMLImplementation of
owned_memberdefined in the KerML specification.RSysMLImplementation of
owned_membershipdefined in the KerML specification.RMetadata prefixes, prefixed with
#in textual syntax.Access owned named members by name. Throws
KeyErrorif a member with such name does not exist.Non-throwing variant of
__getitem__. Returns None if a named member was not found.Access owned memberships by name. Returns None if an owned member or membership with such name does not exist.
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)RThe source CST node of
selfif one exists.RThe
documentthat owns this node.RThe parent node of
self.Identity based hash of this node.
cast(self, *type: type[TNode]) -> TNode
Chainable equivalent to
isintance(self, type)Checked cast to
type.Attributes
- STD: tuple[type[syside.RenderingDefinition], ...] = Ellipsis
All subtypes of
RenderingDefinitionaccording to the specification.This is needed because the implementation does not use multiple inheritance like the standard metamodel. However, all would-be inherited attributes are implemented explicitly on classes in
RenderingDefinition.Std.When working with standard metamodel types, use:
if isinstance(element, RenderingDefinition.STD): ...
For type hints, instead use
RenderingDefinition.Std:Note that
RenderingDefinition.Stdis only defined duringTYPE_CHECKING, depending on the Python version used eitherfrom __future__ import annotationsordef function(...) -> "RenderingDefinition.Std"may be required to ensure that annotations are resolved lazily without an actual object present.
- property renderings: syside.LazyIterator[syside.RenderingUsage]
Implementation of
renderingdefined in the SysML specification.Specification:
The
usagesof aRenderingDefinitionthat areRenderingUsages.See section 8.3.26.5 of the SysML specification for more details.