ChainedReferenceAccessor

class ChainedReferenceAccessor

An accessor for reference that may also be chained

%3 ChainedReferenceAccessor ChainedReferenceAccessor syside.ChainedReferenceAccessor ReferenceAccessor ReferenceAccessor syside.ReferenceAccessor ReferenceAccessor->ChainedReferenceAccessor
Children
Members defined in ChainedReferenceAccessor (2 members)

set_chain

try_set_chain but instead raises ValueError if this reference cannot be modified.

try_set_chain

Try changing the referenced element to a chain of Features.

Members inherited from ReferenceAccessor (4 members)

element

R

Returns the referenced Element.

modifiable

R

Returns True if this reference can be modified, that is the owning Relationship is an owned member of a Namespace.

set

try_set but instead raises ValueError if this reference cannot be modified.

try_set

Try changing the referenced element. Returns None if this reference cannot be modified, otherwise returns element argument.

Methods

set_chain(arg: Sequence[syside.Feature], /) syside.Feature

try_set_chain but instead raises ValueError if this reference cannot be modified.

try_set_chain(arg: Sequence[syside.Feature], /) syside.Feature | None

Try changing the referenced element to a chain of Features.

Returns None if this reference cannot be modified, otherwise returns a new owned Feature that chains all Features in order.