<?xml version="1.0" encoding="Windows-1255" ?><Class name="Translation" inherit="core.gml:Resource" hierarchy="GMLDOM" also="core.gml:Text" id="core.gml:Translation" sort="21" urn="core.gml:elements.Translation.gs" toc="\Elements"><Summary>The Translation holds all Text entries and holds all information needed for Scenario elements translation.</Summary><Inherit>&lt;q ref=&quot;core.gml:Resource&quot;&gt;Resource&lt;/q&gt;</Inherit><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright><SeeAlso>&lt;q ref=&quot;core.gml:Text&quot;&gt;Text&lt;/q&gt;</SeeAlso>
<Topics>
<Property name="items" strong="Yes" type="core.gml:Text![id]" modifier="strong" typeRef="&lt;q ref=&quot;core.gml:Text&quot;&gt;Text&lt;/q&gt;[id]" access="RW" sortGroup="true" scope="public" id="core.gml:Translation!items" sort="34" group="Properties" seq="0000"><Summary>The list of translation Text objects.</Summary></Property>
<Method name="getTranslationVal" sortGroup="true" scope="public" id="core.gml:Translation!getTranslationVal" sort="35" group="Methods" seq="0001"><Summary>Used for retrieving a value (translated) for a key from the table.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;getTranslationVal&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;, &lt;i&gt;isDE&lt;/i&gt;) &amp;rarr; Object"><Param name="key" type="String">The key we need to find in the table.</Param><Param name="isDE" type="Boolean">Whether called from DE engine or not.</Param></Parameters><Return type="Object">The translated text (and type in case of DE).</Return></Method>
<Method name="insertText" sortGroup="true" scope="public" id="core.gml:Translation!insertText" sort="35" group="Methods" seq="0002"><Summary>Used for creating a new Text instance and an entry in the translation table.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;insertText&lt;/b&gt;(&lt;i&gt;values&lt;/i&gt;, &lt;i&gt;key&lt;/i&gt;, &lt;i&gt;type&lt;/i&gt;) &amp;rarr; String"><Param name="values" type="collection">Paramters expected:text, type, objOID.</Param><Param name="key">Optional. Needed when inserting text for updates.</Param><Param name="type">Optional. Needed when the type is to be replaced.</Param></Parameters><Return type="String">The newly genenrated key.</Return></Method>
<Method name="removeText" sortGroup="true" scope="public" id="core.gml:Translation!removeText" sort="35" group="Methods" seq="0003"><Summary>Used for removing non relevant Text instance from the translation table.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;removeText&lt;/b&gt;(&lt;i&gt;key&lt;/i&gt;) &amp;rarr; void"><Param name="key">The key is the ID of the Text object.</Param></Parameters><Return></Return></Method>
</Topics>
</Class>