ChainedFeatureReference

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

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.

Members inherited from 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. Returns None if this reference cannot be modified, otherwise returns a new owned Feature that chains all Features in order.

Members inherited from ReferenceAccessor (2 members)

element

R

Returns the referenced Element. This may return None, e.g. when reference resolution failed, although in most such cases a placeholder element will be returned instead.

modifiable

R

Returns True if this reference can be modified, that is the owning Relationship is an owned member of a Namespace. Calling set methods when modifiable == False will raise ValueError.

Methods

set(element: syside.ChainedFeatureReference.set.M, name: syside.NameID = ...) syside.ChainedFeatureReference.set.M

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

try_set(element: syside.ChainedFeatureReference.try_set.M, name: syside.NameID = ...) syside.ChainedFeatureReference.try_set.M | None

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

Used in