Template:— assigning_zone (asg_zone) Date: 2008/03/05 16:17:55
Revision: 1.3
Template: assigning_zone

XML references to the Template

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

assigning_zone

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="" name="assigning_zone" capability="representing_breakdown_structure">
  <param name="zone">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="item">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="assigning_zone">
  <param_in name="zone" value=""/>
  <param_in name="item" value=""/>
</template_example>

assigning_zone
/assigning_zone(zone='', item='')/

Path

In_zone

-- Mark the In_zone entity as
-- referable when this template is used by binding it to the reference
-- parameter ^in_zone
%^in_zone = In_zone%
^in_zone.id = '/IGNORE'
^in_zone.name = '/IGNORE'
^in_zone.description = '/IGNORE'
^in_zone.located_item -> @item
^in_zone.zone -> @zone
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
In_zone.id '/IGNORE'
In_zone.name '/IGNORE'
In_zone.description '/IGNORE'

XML representation of path

<refpath
   template="assigning_zone">
   <instantiate
      entity="In_zone"
      context="">
      
   </instantiate>
   <comment>
      Mark the In_zone entity as
   </comment>
   <comment>
      referable when this template is used by binding it to the reference
   </comment>
   <comment>
      parameter ^in_zone
   </comment>
   <bind
      parameter="in_zone">
      <express_entity
         entity="In_zone"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="in_zone.id">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="in_zone.name">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="in_zone.description">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="in_zone.located_item">
            
         </bound_parameter>
      </target>
      <source>
         <param_in_ref
            name="item">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="in_zone.zone">
            
         </bound_parameter>
      </target>
      <source>
         <param_in_ref
            name="zone">
            
         </param_in_ref>
      </source>
   </assign>
</refpath>

© OASIS 2010 — All rights reserved