Template:— representing_interface_connection (rep_interf_conx)
Capability:representing_parts
Date: 2011/10/07 08:40:47
Revision: 1.1
Template: representing_interface_connection

XML references to the Template

These can be cut and pasted into the XML as required.

representing_interface_connection

Set up a hyperlink to the template definition.
<template_ref name="representing_interface_connection" capability="representing_parts"/>

Set up a table of the template parameters.
<template_table figure_id="?" instance="" name="representing_interface_connection" capability="representing_parts">
  <param name="intrf_connxn_id">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="intrf_connxn_id_class_name">
    <param_value>Interface_connection_identification_code</param_value>
    <description></description>
  </param>
  <param name="intrf_connxn_id_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
  <param name="intrf_connxn_org_id">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="intrf_connxn_org_id_class_name">
    <param_value>Organization_name</param_value>
    <description></description>
  </param>
  <param name="intrf_connxn_org_id_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
  <param name="connected_intrf_occ">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="connecting_intrf_occ">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="representing_interface_connection">
  <param_in name="intrf_connxn_id" value=""/>
  <param_in name="intrf_connxn_id_class_name" value="Interface_connection_identification_code"/>
  <param_in name="intrf_connxn_id_ecl_id" value="urn:plcs:rdl:std"/>
  <param_in name="intrf_connxn_org_id" value=""/>
  <param_in name="intrf_connxn_org_id_class_name" value="Organization_name"/>
  <param_in name="intrf_connxn_org_id_ecl_id" value="urn:plcs:rdl:std"/>
  <param_in name="connected_intrf_occ" value=""/>
  <param_in name="connecting_intrf_occ" value=""/>
</template_example>

representing_interface_connection
/representing_interface_connection(intrf_connxn_id='', intrf_connxn_id_class_name='Interface_connection_identification_code', intrf_connxn_id_ecl_id='urn:plcs:rdl:std', intrf_connxn_org_id='', intrf_connxn_org_id_class_name='Organization_name', intrf_connxn_org_id_ecl_id='urn:plcs:rdl:std', connected_intrf_occ='', connecting_intrf_occ='')/

Path

-- Interface_connection
Interface_connection
%^intrf_connxn = Interface_connection%
Interface_connection.id = '/IGNORE'
Interface_connection.description = '/IGNORE'
Interface_connection.connection_type = '/IGNORE'
Interface_connection.connected -> @connected_intrf_occ
Interface_connection.connecting -> @connecting_intrf_occ

-- Identify the Interface_connection
/assigning_identification(
    items=^intrf_connxn,
    id=@intrf_connxn_id,
    id_class_name=@intrf_connxn_id_class_name,
    id_ecl_id=@intrf_connxn_id_ecl_id,
    org_id=@intrf_connxn_org_id,
    org_id_class_name=@intrf_connxn_org_id_class_name,
    org_id_ecl_id=@intrf_connxn_org_id_ecl_id )/

-- Ref parameter for the Interface_connection indentification
%^intrf_connxn_id = $assigning_identification.id_assgn%
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Interface_connection.id '/IGNORE'
Interface_connection.description '/IGNORE'
Interface_connection.connection_type '/IGNORE'

XML representation of path

<refpath
   template="representing_interface_connection">
   <comment>
      Interface_connection
   </comment>
   <instantiate
      entity="Interface_connection"
      context="">
      
   </instantiate>
   <bind
      parameter="intrf_connxn">
      <express_entity
         entity="Interface_connection"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Interface_connection"
            attribute="id"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Interface_connection"
            attribute="description"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Interface_connection"
            attribute="connection_type"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Interface_connection"
            attribute="connected"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="connected_intrf_occ">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Interface_connection"
            attribute="connecting"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="connecting_intrf_occ">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      Identify the Interface_connection
   </comment>
   <call_template
      name="assigning_identification"
      business_context="">
      <param_in
         name="items"
         value="^intrf_connxn">
         
      </param_in>
      <param_in
         name="id"
         value="@intrf_connxn_id">
         
      </param_in>
      <param_in
         name="id_class_name"
         value="@intrf_connxn_id_class_name">
         
      </param_in>
      <param_in
         name="id_ecl_id"
         value="@intrf_connxn_id_ecl_id">
         
      </param_in>
      <param_in
         name="org_id"
         value="@intrf_connxn_org_id">
         
      </param_in>
      <param_in
         name="org_id_class_name"
         value="@intrf_connxn_org_id_class_name">
         
      </param_in>
      <param_in
         name="org_id_ecl_id"
         value="@intrf_connxn_org_id_ecl_id ">
         
      </param_in>
   </call_template>
   <comment>
      Ref parameter for the Interface_connection indentification
   </comment>
   <bind
      parameter="intrf_connxn_id">
      <template_instance
         template="assigning_identification"
         parameter="id_assgn">
         
      </template_instance>
   </bind>
</refpath>

© OASIS 2010 — All rights reserved