<?xml version="1.0" encoding="Windows-1255" ?><Class name="Usage" inherit="core.gml:Configurable" implement="core.dev:IInfosetEnumerator" alias="usg" hierarchy="GMLDOM" id="core.gml:Usage" sort="21" urn="core.gml:elements.Usage.gs" toc="\Elements"><Summary>An element used for referencing a model unit.</Summary><Inherit>&lt;q ref=&quot;core.gml:Configurable&quot;&gt;Configurable&lt;/q&gt;</Inherit><Implement>&lt;q ref=&quot;core.dev:IInfosetEnumerator&quot;&gt;IInfosetEnumerator&lt;/q&gt;</Implement><Copyright>(c) SAP AG 2003. All rights reserved.</Copyright>
<Topics>
<Property name="target" access="RO" type="String" default="''" sortGroup="true" scope="public" id="core.gml:Usage!target" sort="34" group="Properties" seq="0000"><Summary>Gets the Id of the target unit referenced by this element.</Summary></Property>
<Method name="getInfosetList" sortGroup="true" scope="public" id="core.gml:Usage!getInfosetList" sort="35" group="Methods" seq="0001"><Summary>Gets a flat list of infosets.</Summary><Parameters signature="method:: &lt;i&gt;usg&lt;/i&gt;.&lt;b&gt;getInfosetList&lt;/b&gt;(&lt;i&gt;deep&lt;/i&gt;) &amp;rarr; &lt;q ref=&quot;core.dev:IInfoset&quot;&gt;IInfoset&lt;/q&gt;[id]"><Param name="deep" type="Boolean">Indicates whether to perform a deep search.</Param></Parameters><Return type="dev:IInfoset![id]" typeRef="&lt;q ref=&quot;core.dev:IInfoset&quot;&gt;IInfoset&lt;/q&gt;[id]">Collection of &lt;q ref=&quot;core.dev:IInfoset&quot;&gt;IInfoset&lt;/q&gt; elements.</Return></Method>
<Method name="getInfosetTree" sortGroup="true" scope="public" id="core.gml:Usage!getInfosetTree" sort="35" group="Methods" seq="0002"><Summary>Gets a tree of infosets.</Summary><Parameters signature="method:: &lt;i&gt;usg&lt;/i&gt;.&lt;b&gt;getInfosetTree&lt;/b&gt;() &amp;rarr; &lt;q ref=&quot;core.lib:TreeView!provider&quot;&gt;provider&lt;/q&gt;"></Parameters><Return type="lib:TreeView!provider" typeRef="&lt;q ref=&quot;core.lib:TreeView!provider&quot;&gt;provider&lt;/q&gt;">Tree provider of the infosets.</Return></Method>
<Method name="getTarget" sortGroup="true" scope="public" id="core.gml:Usage!getTarget" sort="35" group="Methods" seq="0003"><Summary>Gets the target unit referenced by this element.</Summary><Parameters signature="method:: &lt;i&gt;usg&lt;/i&gt;.&lt;b&gt;getTarget&lt;/b&gt;() &amp;rarr; &lt;q ref=&quot;core.gml:Unit&quot;&gt;Unit&lt;/q&gt;"></Parameters><Return type="Unit!" typeRef="&lt;q ref=&quot;core.gml:Unit&quot;&gt;Unit&lt;/q&gt;">The target unit.</Return></Method>
<Method name="isPrimaryUsage" sortGroup="true" scope="public" id="core.gml:Usage!isPrimaryUsage" sort="35" group="Methods" seq="0004"><Summary>Tests whether the usage is in the parent unit of it's target unit.</Summary><Parameters signature="method:: &lt;i&gt;usg&lt;/i&gt;.&lt;b&gt;isPrimaryUsage&lt;/b&gt;() &amp;rarr; Boolean"></Parameters><Return type="Boolean">return &lt;code&gt;true&lt;/code&gt; iff the usage is a main usage.</Return></Method>
<Method name="isReusable" sortGroup="true" scope="public" id="core.gml:Usage!isReusable" sort="35" group="Methods" seq="0005"><Summary>Tests whether the usage is a reusable usage.</Summary><Parameters signature="method:: &lt;i&gt;usg&lt;/i&gt;.&lt;b&gt;isReusable&lt;/b&gt;() &amp;rarr; Boolean"></Parameters><Return type="Boolean">Return &lt;code&gt;true&lt;/code&gt; iff the usage is a reusable usage.</Return></Method>
<Method name="onClone" sortGroup="true" scope="public" id="core.gml:Usage!onClone" sort="35" group="Methods" seq="0006"><Summary>overrides the GmlObject!onClone method
   A reusable usage should be cloned as a copy, which means that its target is also cloned.</Summary><Parameters signature="method:: &lt;i&gt;usg&lt;/i&gt;.&lt;b&gt;onClone&lt;/b&gt;(&lt;i&gt;elementsMap&lt;/i&gt;, &lt;i&gt;parent&lt;/i&gt;) &amp;rarr; GmlObject"><Param name="elementsMap" type="GmlObject[id]">This parameter is an [OUT] parameter and passed byref: Map of the newly created objects used to fix object references. 
   This map should be populated with newly created objects for any depth of children created indirectly by this clone operation. 
   The ID used for this map should be of the old object from which the new one was cloned.</Param><Param name="parent" type="GmlObject">Parent object of the newly cloned object.</Param></Parameters><Return type="GmlObject">The newly cloned usage.</Return><Remarks>This method should not be called directly as it does not handle all aspects of the clone operation as fixing 
   references, initialization of the cloned objects and after clone ooperations needed to complete this action. 
   Instead, to clone an object you should either call Model's &lt;q ref=&quot;core.gml:Model!cloneElements&quot;&gt;cloneElements&lt;/q&gt; method or ObjectSet-&amp;gt;ObjectSet!clone method.</Remarks></Method>
</Topics>
</Class>