Skip to content

breeze-client / ComplexAspectOf

Interface: ComplexAspectOf<T> ​

Defined in: src/entity/entity-aspect.ts:1451

A ComplexAspect that knows its complex object's class, T: the type a generated complex type class gives its complexAspect, as ComplexAspectOf<this>. See EntityAspectOf.

Extends ​

Type Parameters ​

T ​

T

Properties ​

complexObject ​

complexObject: ComplexObject

Defined in: src/entity/entity-aspect.ts:1323

The complex object that this aspect is associated with. Read Only

Inherited from ​

ComplexAspect.complexObject


extraMetadata? ​

optional extraMetadata?: any

Defined in: src/entity/entity-aspect.ts:1334

Unlike EntityAspect.extraMetadata, Breeze does not fill this in and does not export it. An application may use it to hold its own data about the complex object.

Inherited from ​

ComplexAspect.extraMetadata


originalValues ​

originalValues: OriginalValues<T>

Defined in: src/entity/entity-aspect.ts:1453

ComplexAspect.originalValues, keyed and typed by T's data properties.

Overrides ​

ComplexAspect.originalValues


parent? ​

optional parent?: StructuralObject

Defined in: src/entity/entity-aspect.ts:1329

The parent object that to which this aspect belongs; this will either be an entity or another complex object. Read Only

Inherited from ​

ComplexAspect.parent


parentProperty? ​

optional parentProperty?: DataProperty

Defined in: src/entity/entity-aspect.ts:1331

The DataProperty on the 'parent' that contains this complex object. Read Only

Inherited from ​

ComplexAspect.parentProperty

Methods ​

getEntityAspect() ​

getEntityAspect(): any

Defined in: src/entity/entity-aspect.ts:1380

Returns the EntityAspect for the top level entity that contains this complex object.

Returns ​

any

Inherited from ​

ComplexAspect.getEntityAspect

Released under the MIT License.