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.
Checks whether all attributes are available ATM
In version 10.17.0: introduced
In version 10.17.0: introduced
In version 9.5.0: introduced
In version 9.5.0: introduced
In version 9.21.0: introduced
In version 9.21.0: introduced
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.
This model element is no longer part of the model, and can be cleaned up.
Return true if this is an abstractElement that might be referred to by some other element. If true, this element is maintained in the qualifiedNamesCache
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 appropriate attach delta to the server after this element has been attached to a new parent.
Sends the change delta in case a simple property has changed.
Sends the appropriate create delta to the server, and also sends all pending deltas, after this element has been assigned to some parent.
Sends the delete in case that we were removed from the model.
Sends the detach delta.
Update an existing (probably partial) interface with real contents received from the server.
Transforms a IElement interface into a Element class, loading the containing unit if necessary. (Those are technically already the same, but this function makes sure its properties are available.)
Creates a deep copy of this element and its children.
Creates a deep copy of this element and its children. Also returns a map from original to new IDs.
Deletes this element from the model.
Detaches this element from the model, so that it can be attached in a different place.
Given an element id, returns the element in this abstract element with that id, otherwise null.
Transforms a IElement interface into a Element class, loading the containing unit if necessary. (Those are technically already the same, but this function makes sure its properties are available.)
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.
Creates and returns a new PageVariable instance in the SDK and on the server. Expects one argument: the IModel object the instance will "live on". After creation, assign or add this instance to a property that accepts this kind of objects.
Creates and returns a new PageVariable instance in the SDK and on the server. The new PageVariable will be automatically stored in the 'sourceVariable' property of the parent AssociationWidget element passed as argument.
Warning! Can only be used on models with the following Mendix meta model versions: 9.24.0 and higher
Creates and returns a new PageVariable instance in the SDK and on the server. The new PageVariable will be automatically stored in the 'sourceVariable' property of the parent AttributeWidget element passed as argument.
Warning! Can only be used on models with the following Mendix meta model versions: 8.8.0 and higher
Creates and returns a new PageVariable instance in the SDK and on the server. The new PageVariable will be automatically stored in the 'sourceVariable' property of the parent ClientTemplateParameter element passed as argument.
Warning! Can only be used on models with the following Mendix meta model versions: 9.24.0 and higher
Creates and returns a new PageVariable instance in the SDK and on the server. The new PageVariable will be automatically stored in the 'sourceVariable' property of the parent ConditionalSettings element passed as argument.
Warning! Can only be used on models with the following Mendix meta model versions: 9.24.0 and higher
Creates and returns a new PageVariable instance in the SDK and on the server. The new PageVariable will be automatically stored in the 'sourceVariable' property of the parent DeleteClientAction element passed as argument.
Warning! Can only be used on models with the following Mendix meta model versions: 10.4.0 and higher
Creates and returns a new PageVariable instance in the SDK and on the server. The new PageVariable will be automatically stored in the 'sourceVariable' property of the parent EntityPathSource element passed as argument.
Warning! Can only be used on models with the following Mendix meta model versions: 10.0.0 and higher
Creates and returns a new PageVariable instance in the SDK and on the server. The new PageVariable will be automatically stored in the 'variable' property of the parent MicroflowParameterMapping element passed as argument.
Warning! Can only be used on models with the following Mendix meta model versions: 8.4.0 and higher
Creates and returns a new PageVariable instance in the SDK and on the server. The new PageVariable will be automatically stored in the 'variable' property of the parent NanoflowParameterMapping element passed as argument.
Warning! Can only be used on models with the following Mendix meta model versions: 8.4.0 and higher
Creates and returns a new PageVariable instance in the SDK and on the server. The new PageVariable will be automatically stored in the 'variable' property of the parent PageParameterMapping element passed as argument.
Warning! Can only be used on models with the following Mendix meta model versions: 9.7.0 and higher
Creates and returns a new PageVariable instance in the SDK and on the server. The new PageVariable will be automatically stored in the 'variable' property of the parent SnippetParameterMapping element passed as argument.
Warning! Can only be used on models with the following Mendix meta model versions: 9.21.0 and higher
Creates and returns a new PageVariable instance in the SDK and on the server. The new PageVariable will be automatically stored in the 'activePageSourceVariable' property of the parent TabContainer element passed as argument.
Warning! Can only be used on models with the following Mendix meta model versions: 10.14.0 and higher
Creates and returns a new PageVariable instance in the SDK and on the server. The new PageVariable will be automatically stored in the 'sourceVariable' property of the parent customwidgets.WidgetValue element passed as argument.
Warning! Can only be used on models with the following Mendix meta model versions: 8.8.0 and higher
Generated using TypeDoc
In version 8.4.0: introduced