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.
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
complexType
complexType:
ComplexType
Defined in: src/entity/entity-base.ts:59
The ComplexType the object's class is registered for.
Implementation of
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
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