Template:— role_change (rl_chng)
Context:— UK_Defence
Date: 2009/04/17 11:42:30
Revision: 1.3
Template: role_change

XML references to the Template

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

role_change

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

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

Setup a template_example:
<template_example name="role_change">
  <param_in name="ID" value=""/>
  <param_in name="source_organization" value=""/>
  <param_in name="related_activity" value=""/>
  <param_in name="related_product_role_configuration" value=""/>
</template_example>

role_change
/role_change(ID='', source_organization='', related_activity='', related_product_role_configuration='')/

Path

-- assigning_activity
/assigning_activity(
    role_class_name='Role_change',
    role_ecl_id='urn:plcs:rdl:uk_defence',
    assigned_activity=@related_activity,
    items=@related_product_role_configuration)/
%^rol_chg = $assigning_activity.appl_act%

-- ID (mandatory)
/identifier(
    ID=@ID,
    source_organization=@source_organization,
    type='Role_change_identifier',
    items=^rol_chg)/

XML representation of path

<refpath
   template="role_change">
   <comment>
      assigning_activity
   </comment>
   <call_template
      name="assigning_activity"
      business_context="UK_Defence">
      <param_in
         name="role_class_name"
         value="'Role_change'">
         
      </param_in>
      <param_in
         name="role_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="assigned_activity"
         value="@related_activity">
         
      </param_in>
      <param_in
         name="items"
         value="@related_product_role_configuration">
         
      </param_in>
   </call_template>
   <bind
      parameter="rol_chg">
      <template_instance
         template="assigning_activity"
         parameter="appl_act">
         
      </template_instance>
   </bind>
   <comment>
      ID (mandatory)
   </comment>
   <call_template
      name="identifier"
      business_context="UK_Defence">
      <param_in
         name="ID"
         value="@ID">
         
      </param_in>
      <param_in
         name="source_organization"
         value="@source_organization">
         
      </param_in>
      <param_in
         name="type"
         value="'Role_change_identifier'">
         
      </param_in>
      <param_in
         name="items"
         value="^rol_chg">
         
      </param_in>
   </call_template>
</refpath>

© UK MOD 2010 — All rights reserved