Indicates that the internal data of this element is being reverted to its previous value, so some validation check could be skipped
Indicates that the internal data of this element is being updated, as a result of data received from the server, so no storage events should be send
used by qualified names cache to determine old name after a rename
The current state of the structure: (new|attached|detached|deleted).
This structure is attached somewhere in the model. This is the "normal" state for an structure.
This structure has been deleted and should no longer be used.
This structure is detached, so that it can be attached somewhere else in the model.
This structure was just constructed and has not been added to the model yet.
The parent unit of this unit.
Whether this unit and all of its children (recursively) can be loaded.
Checks whether all attributes are available at this instant; if false, a load is required to access these properties.
Whether this unit and all of its children (recursively) are editable.
Unit that owns/contains this thing.
Asserts that the complete element is available, and not just its public part.
Finds the given child among the properties of this structure, returning a handle to detach it later when appropriate based on in which property is was found.
Deletes the given child from any (part) property that contained it.
Detaches the given child from any (part) property that contained it.
Sends the create delta for this unit and all pending deltas.
Update local-by-name references to this structure.
If the name of a model element changes, this might effect currently broken references-by-name, so let's process those.
Sends the change delta in case a simple property has changed.
Sends the delete in case that we were removed from the model.
Update an existing (probably partial) interface with real contents received from the server.
Deletes a model from the model. This will automatically remove the item from its model parent, and update incoming references and send server changes.
Returns all properties when this structure is loaded, otherwise just the public properties.
Should be called after deserialization / remote updates, to make sure all references are bound to their actual value.
Renders the structure as plain JSON (without observables magic). This is intended for debugging and development convenience. Note that the resulting object is not of the interface type corresponding to this structure.
Traverses this structure by calling the provided visitor function on itself and all the structures contained (as part) by it, in depth-first order, and it returns synchronously after that.
Traverses this structure, returning immediately when visit
returns something other than null
.
Traverses this structure, only visiting children contained in public properties.
Generated using TypeDoc
Base class for implementations of IAbstractUnit.