<?xml version="1.0" encoding="Windows-1255" ?><Class name="Connectable" inherit="core.gml:Element" hierarchy="GMLDOM" also="core.gml:Link core.gml:Plug" id="core.gml:Connectable" sort="21" urn="core.gml:elements.Connectable.gs" toc="\Elements"><Summary>Represents an element that can be connected to other elements in the same unit.</Summary><Inherit>&lt;q ref=&quot;core.gml:Element&quot;&gt;Element&lt;/q&gt;</Inherit><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright><SeeAlso>&lt;q ref=&quot;core.gml:Link&quot;&gt;Link&lt;/q&gt; | &lt;q ref=&quot;core.gml:Plug&quot;&gt;Plug&lt;/q&gt;</SeeAlso>
<Topics>
<Property name="plugs" strong="Yes" access="RO" type="core.gml:Plug![id]" modifier="strong" typeRef="&lt;q ref=&quot;core.gml:Plug&quot;&gt;Plug&lt;/q&gt;[id]" sortGroup="true" scope="public" id="core.gml:Connectable!plugs" sort="34" group="Properties" seq="0000"><Summary>The collection of plugs owned by this element. Use &lt;q ref=&quot;core.gml:Connectable!getPlugs&quot;&gt;getPlugs&lt;/q&gt; to retrieve them.</Summary></Property>
<Method name="canConnect" sortGroup="true" scope="public" id="core.gml:Connectable!canConnect" sort="35" group="Methods" seq="0001"><Summary>Queries whether a given source plug can be connected to a target plug under this element.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;canConnect&lt;/b&gt;(&lt;i&gt;srcPlug&lt;/i&gt;, &lt;i&gt;trgPlug&lt;/i&gt;) &amp;rarr; String"><Param name="srcPlug" type="gml:Plug!" typeRef="&lt;q ref=&quot;core.gml:Plug&quot;&gt;Plug&lt;/q&gt;">The source plug (belonging to another element).</Param><Param name="trgPlug" type="gml:Plug!" typeRef="&lt;q ref=&quot;core.gml:Plug&quot;&gt;Plug&lt;/q&gt;">The target plug (belonging to this element).</Param></Parameters><Return type="String">A whitespace-separated list of all valid link types that can be connected between the source and target plugs, or &lt;code&gt;null&lt;/code&gt; in case the source and target plugs cannot be connected.</Return></Method>
<Method name="getLinks" sortGroup="true" scope="public" id="core.gml:Connectable!getLinks" sort="35" group="Methods" seq="0002"><Summary>Get all incoming/outcomming &lt;code&gt;Link&lt;/code&gt; objects pointed to/out the object.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;getLinks&lt;/b&gt;(&lt;i&gt;dir&lt;/i&gt;) &amp;rarr; &lt;q ref=&quot;core.gml:Link&quot;&gt;Link&lt;/q&gt;[id]"><Param name="dir" type="gml:Plug!DIRECTIONS" typeRef="&lt;q ref=&quot;core.gml:Plug!DIRECTIONS&quot;&gt;DIRECTIONS&lt;/q&gt;">The links direction.</Param></Parameters><Return type="Link![id]" typeRef="&lt;q ref=&quot;core.gml:Link&quot;&gt;Link&lt;/q&gt;[id]">Collection of all incoming/outcomming &lt;code&gt;Link&lt;/code&gt; objects.</Return></Method>
<Method name="getLinksByPlug" sortGroup="true" scope="public" id="core.gml:Connectable!getLinksByPlug" sort="35" group="Methods" seq="0003"><Summary>Get all incoming/outcomming &lt;code&gt;Link&lt;/code&gt; objects pointed to/out a given plug in this object.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;getLinksByPlug&lt;/b&gt;(&lt;i&gt;plug&lt;/i&gt;) &amp;rarr; &lt;q ref=&quot;core.gml:Link&quot;&gt;Link&lt;/q&gt;[id]"><Param name="plug" type="gml:Plug" typeRef="&lt;q ref=&quot;core.gml:Plug&quot;&gt;Plug&lt;/q&gt;">A plug, one of the plugs of this objects.</Param></Parameters><Return type="Link![id]" typeRef="&lt;q ref=&quot;core.gml:Link&quot;&gt;Link&lt;/q&gt;[id]">Collection of all incoming/outcomming &lt;code&gt;Link&lt;/code&gt; objects that connect to the given plug.</Return></Method>
<Method name="getPlugs" sortGroup="true" scope="public" id="core.gml:Connectable!getPlugs" sort="35" group="Methods" seq="0004"><Summary>Get the collection of plugs owned by the object.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;getPlugs&lt;/b&gt;() &amp;rarr; &lt;q ref=&quot;core.gml:Plug&quot;&gt;Plug&lt;/q&gt;[id]"></Parameters><Return type="gml:Plug![id]" typeRef="&lt;q ref=&quot;core.gml:Plug&quot;&gt;Plug&lt;/q&gt;[id]">The requested plugs collection.</Return></Method>
<Method name="getPlugsByClass" sortGroup="true" scope="public" id="core.gml:Connectable!getPlugsByClass" sort="35" group="Methods" seq="0005"><Summary>Get a collection of plugs of a specific class type.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;getPlugsByClass&lt;/b&gt;(&lt;i&gt;classname&lt;/i&gt;) &amp;rarr; &lt;q ref=&quot;core.gml:Plug&quot;&gt;Plug&lt;/q&gt;[id]"><Param name="classname" type="String">The full class name of the plugs to retrieve.</Param></Parameters><Return type="gml:Plug![id]" typeRef="&lt;q ref=&quot;core.gml:Plug&quot;&gt;Plug&lt;/q&gt;[id]">The requested plugs collection.</Return></Method>
<Method name="getPlugsByDir" sortGroup="true" scope="public" id="core.gml:Connectable!getPlugsByDir" sort="35" group="Methods" seq="0006"><Summary>Get a collection of plugs owned by the object.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;getPlugsByDir&lt;/b&gt;(&lt;i&gt;dir&lt;/i&gt;) &amp;rarr; &lt;q ref=&quot;core.gml:Plug&quot;&gt;Plug&lt;/q&gt;[id]"><Param name="dir" type="gml:Plug!DIRECTIONS" typeRef="&lt;q ref=&quot;core.gml:Plug!DIRECTIONS&quot;&gt;DIRECTIONS&lt;/q&gt;">The direction of the plugs to retrieve.</Param></Parameters><Return type="gml:Plug![id]" typeRef="&lt;q ref=&quot;core.gml:Plug&quot;&gt;Plug&lt;/q&gt;[id]">The requested plugs collection.</Return></Method>
<Method name="getSinglePlug" sortGroup="true" scope="public" id="core.gml:Connectable!getSinglePlug" sort="35" group="Methods" seq="0007"><Summary>Get the single object plug in the specified direction (assuming there is exactly one such plug).</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;getSinglePlug&lt;/b&gt;(&lt;i&gt;dir&lt;/i&gt;) &amp;rarr; &lt;q ref=&quot;core.gml:Plug&quot;&gt;Plug&lt;/q&gt;"><Param name="dir" type="gml:Plug!DIRECTIONS" typeRef="&lt;q ref=&quot;core.gml:Plug!DIRECTIONS&quot;&gt;DIRECTIONS&lt;/q&gt;">The direction of the plugs to retrieve.</Param></Parameters><Return type="gml:Plug!" typeRef="&lt;q ref=&quot;core.gml:Plug&quot;&gt;Plug&lt;/q&gt;">The requested plug, if found.</Return></Method>
</Topics>
</Class>