You will rarely, if ever, create a ComplexAspect directly.
The complex object that this aspect is associated with. Read Only
The 'original values' of this complex object where they are different from the 'current values'. This is a map where the key is a property name and the value is the 'original value' of the property. Read Only
The parent object that to which this aspect belongs; this will either be an entity or another complex object. Read Only
The DataProperty on the 'parent' that contains this complex object. Read Only
Returns the EntityAspect for the top level entity that contains this complex object.
Generated using TypeDoc
An ComplexAspect instance is associated with every complex object instance and is accessed via the complex object's 'complexAspect' property.
The ComplexAspect itself provides properties to determine the parent object, parent property and original values for the complex object.
A ComplexAspect will almost never need to be constructed directly. You will usually get an ComplexAspect by accessing an entities 'complexAspect' property. This property will be automatically attached when an complex object is created as part of an entity via either a query, import or EntityManager.createEntity call.