ChainedReferenceAccessor
- class ChainedReferenceAccessor
An accessor for reference that may also be chained
Inheritance:
Members defined in
ChainedReferenceAccessor(2 members)try_set_chainbut instead raisesValueErrorif this reference cannot be modified.Try changing the referenced
elementto a chain ofFeatures.Members inherited from
ReferenceAccessor(4 members)RReturns the referenced
Element.RReturns
Trueif this reference can be modified, that is the owningRelationshipis an owned member of aNamespace.try_setbut instead raisesValueErrorif this reference cannot be modified.Try changing the referenced
element. ReturnsNoneif this reference cannot be modified, otherwise returnselementargument.Methods
- set_chain(arg: Sequence[syside.Feature], /) syside.Feature
try_set_chainbut instead raisesValueErrorif this reference cannot be modified.
- try_set_chain(arg: Sequence[syside.Feature], /) syside.Feature | None
Try changing the referenced
elementto a chain ofFeatures.Returns
Noneif this reference cannot be modified, otherwise returns a new ownedFeaturethat chains allFeaturesin order.