Skip to content

breeze-client / ComplexObjectBase

Abstract Class: ComplexObjectBase ​

Defined in: src/entity/entity-base.ts:52

The complex-type counterpart of EntityBase: a base class for complex object classes, which declares the members Breeze supplies.

ts
export class Location extends ComplexObjectBase {
  declare address: string;
  declare city: string;
}

Implements ​

Constructors ​

Constructor ​

new ComplexObjectBase(): ComplexObjectBase

Defined in: src/entity/entity-base.ts:54

Called by the constructor of the class that extends it. It does nothing.

Returns ​

ComplexObjectBase

Properties ​

complexAspect ​

complexAspect: ComplexAspectOf<ComplexObjectBase>

Defined in: src/entity/entity-base.ts:57

The ComplexAspect Breeze attaches to the complex object.

Implementation of ​

ComplexObject.complexAspect


complexType ​

complexType: ComplexType

Defined in: src/entity/entity-base.ts:59

The ComplexType the object's class is registered for.

Implementation of ​

ComplexObject.complexType


getProperty ​

getProperty: (prop) => any

Defined in: src/entity/entity-base.ts:61

Returns the value of a property by name. Installed by the model library adapter.

Parameters ​

prop ​

string

Returns ​

any

Implementation of ​

ComplexObject.getProperty


setProperty ​

setProperty: (prop, value) => any

Defined in: src/entity/entity-base.ts:63

Sets the value of a property by name. Installed by the model library adapter.

Parameters ​

prop ​

any

value ​

any

Returns ​

any

Implementation of ​

ComplexObject.setProperty

Released under the MIT License.