Encapsulates the snapshot of the model currently held in memory.<q ref="core.gml:Object">Object</q>Instances of this class are created automatically by the system, and should not be created directly. To access the Model object that represents the currently open model use the <q ref="core.env:Environment!model">$ENV.model</q> property.(c) SAP AG 2003-2006. All rights reserved. Gets the channel for reading/writing the model. Indicates whether the model is dirty. Gets the model dynamic expressions parser. Gets the model's infoshape pool unit. Gets whether the model is in readonly mode. Gets the model's name. Gets the model organizer. Gets the model change propagator. Gets the properties organizer. Gets the model recorder. Gets the model's reusables unit. Gets the model's root unit. Gets the model serializer. Gets the model's status. Gets the model transporter. Gets the model's urn. Clones a given collection of elements.The collection of elements to clone.A collection that maps the 'old unit's children ID to the new unit's children ID.Returns the collection of cloned elements.Any inter-references that exist among the given collection of elements are reflected in the the cloned elements. All other object references are removed in the cloned elements. Creates a new model element.The element class name.A collection of property values for initializing the new element.The newly created element, or <code>null</code> in case of any error.<p> The element created by this method is not inserted into the model. Use the GmlObject's <q ref="core.gml:TransObject!insertElement">insertElement</q> method to insert the new element into a parent object. Or, use the GmlObject's <q ref="core.gml:TransObject!createElement">createElement</q> method to create an element and insert it into a parent object in a single step. </p><p> TIP: Prefer using this method to create composite elements. When creating a composite element, it is more efficient to create the element and its sub-elements off the model, before inserting the composite element to the model. </p> Creates a new model unit.The unit class name.A collection of property values for initializing the new unit.The newly created unit, or <code>null</code> in case of any error. Defines a rule helper function.The rule Id.The helper function name (should be unique within the scope of the rule).The function object.Indicates whether the helper was successfully defined. Extends a rule by adding a new constrained behavior.The rule Id.The constraint definition. Gets a specified element.The unit Id.The element Id (within the unit).The concatenated unit and element Ids, in the form: <code>unitId.elemId</code>The requested element, or <code>null</code> if not found.Use the <q ref="core.env:BaseChannel!error">error</q> property of the model's channel object to check for any errors. Gets an element Id.The element Id.The concatenated unit and element Ids, in the form: <code>unitId.elemId</code>The element to get the id from. Gets full object Id as a string, that can be used as a parameter of getElement method.GmlObject instance.Returns full object Id. Gets units, loading them if needed.Array of ids of the units to get.Array of requested units, or <code>null</code> if not found.Use the <q ref="core.env:BaseChannel!error">error</q> property of the model's channel object to check for any errors. Gets a specified unit, loading it if needed.The id of the unit to get.The requested unit, or <code>null</code> if not found.Use the <q ref="core.env:BaseChannel!error">error</q> property of the model's channel object to check for any errors. Indicates whether the model is editable.Returns <code>true</code> when the model is editable, and <code>false</code> when it is readonly. Checks whether the given ID is a full id, i.e. it has the format <code>unit-id.element-id</code>id of an object.<code>true</code> if the id is a full id. Parse the given full ID.Full id of an element.return an Array in which the first item is the unit ID and the second is the element ID. Saves all changes to the model.Indicates whether to wait for the save operation to complete before returning.Returns <code>true</code> iff the model was saved successfully; otherwise, returns <code>false</code>