Template:— activity_dependency (act_dep)
Context:— UK_Defence
Date: 2009/04/17 09:51:34
Revision: 1.2
Template: activity_dependency

XML references to the Template

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

activity_dependency

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

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

Setup a template_example:
<template_example name="activity_dependency">
  <param_in name="predecessor_activity" value=""/>
  <param_in name="related_activity" value=""/>
</template_example>

activity_dependency
/activity_dependency(predecessor_activity='', related_activity='')/

Path

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

XML representation of path

<refpath
   template="activity_dependency">
   <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=" '/IGNORE' ">
            
         </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="predecessor_activity">
            
         </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="related_activity">
            
         </param_in_ref>
      </source>
   </assign>
</refpath>

© UK MOD 2010 — All rights reserved