ChainedReferenceAccessor
- class ChainedReferenceAccessor
-
Children
Members defined in
ChainedReferenceAccessor(2 members)
try_set_chainbut instead raisesValueErrorif this reference cannot be modified.
Try changing the referenced
elementto a chain ofFeatures. ReturnsNoneif this reference cannot be modified, otherwise returns a new ownedFeaturethat chains allFeaturesin order.Members inherited from
ReferenceAccessor(4 members)
RReturns the referenced
Element. This may returnNone, e.g. when reference resolution failed, although in most such cases a placeholder element will be returned instead.
RReturns
Trueif this reference can be modified, that is the owningRelationshipis an owned member of aNamespace. Callingsetmethods whenmodifiable == Falsewill raiseValueError.
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. ReturnsNoneif this reference cannot be modified, otherwise returns a new ownedFeaturethat chains allFeaturesin order.