Template:— change_relationship (chg_rel)
Context:— UK_Defence
Date: 2009/04/17 10:31:43
Revision: 1.2
Template: change_relationship

XML references to the Template

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

change_relationship

Set up a hyperlink to the template definition.
<template_ref name="change_relationship" context="UK_Defence" />

Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="change_relationship" context="UK_Defence" >
  <param name="causal_change">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="consequential_change">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="change_relationship">
  <param_in name="causal_change" value=""/>
  <param_in name="consequential_change" value=""/>
</template_example>

change_relationship
/change_relationship(causal_change='', consequential_change='')/

Path

-- instantiate Activity_relationship
Activity_relationship
%^act_rel = Activity_relationship%
^act_rel.name = 'change_relationship'
^act_rel.description = '/IGNORE'
^act_rel.relating_activity -> @causal_change
^act_rel.related_activity -> @consequential_change
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Activity_relationship.name 'change_relationship'
Activity_relationship.description '/IGNORE'

XML representation of path

<refpath
   template="change_relationship">
   <comment>
      instantiate Activity_relationship
   </comment>
   <instantiate
      entity="Activity_relationship"
      context="UK_Defence">
      
   </instantiate>
   <bind
      parameter="act_rel">
      <express_entity
         entity="Activity_relationship"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <bound_parameter
            name="act_rel.name">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" 'change_relationship' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <bound_parameter
            name="act_rel.description">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="act_rel.relating_activity">
            
         </bound_parameter>
      </target>
      <source>
         <param_in_ref
            name="causal_change">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="act_rel.related_activity">
            
         </bound_parameter>
      </target>
      <source>
         <param_in_ref
            name="consequential_change">
            
         </param_in_ref>
      </source>
   </assign>
</refpath>

© UK MOD 2010 — All rights reserved