Map unitType -> units[], containing all units of this model, per type, but not sorted in any particular order. Please extend the type whenever applicable, for convenience of the programmer.
If a model element changes its name, broken by-name references should be attempted to resolve.
In the future this might be made smarter and less expensive, once that becomes an issue.
Loads all unit interfaces and caches them. This function cannot be called twice.
Return the non-defensive set of unit interfaces of a certain type. Creates the collection lazily if needed.
Given an object type name and a qualified name, finds the corresponding element (or null if the reference is broken). Will always succeed for unbroken references, since all objects that are referred by name should be part of the public interface of the model.
Example usage:
modelStore.resolveName(domainmodels.Attribute.typeName, "Expenses.Expense.Price");
Returns a defensive collection of all units in this model.
Deletes this working copy from the server, and the (SDK) client.
Fetches a complete unit. The result might be returned from the cache.
Instantiates a new Model that can communicate with the server for sending and receiving documents. Loading a Model will automatically fetches all unit interfaces for this working copy and invokes the (success) callback, or calls the errorHandler if this fails.
Instantiates a new working copy that can communicate with the server for sending and receiving documents. Reading a working copy will automatically fetch all unit interfaces for this working copy and invoke callback, or call the errorHandler if this fails.
Generated using TypeDoc
Class to find generated model units.