Template:— usage_role_configuration_relationship (usrl_cfgr)
Context:— UK_Defence
Date: 2009/04/17 12:31:15
Revision: 1.7
Template: usage_role_configuration_relationship

XML references to the Template

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

usage_role_configuration_relationship

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="usage_role_configuration_relationship" context="UK_Defence" >
  <param name="related_configuration">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="related_usage_role">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="id">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="source_organization">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="usage_role_configuration_relationship">
  <param_in name="related_configuration" value=""/>
  <param_in name="related_usage_role" value=""/>
  <param_in name="id" value=""/>
  <param_in name="source_organization" value=""/>
</template_example>

usage_role_configuration_relationship
/usage_role_configuration_relationship(related_configuration='', related_usage_role='', id='', source_organization='')/

Path

-- create the assignment to link the reqd_pse_cont_usg_role
Task_method_version_assignment
Task_method_version_assignment.role = '/IGNORE'
Task_method_version_assignment.assigned_activity_method -> @related_usage_role
Task_method_version_assignment.items -> @related_configuration
%^usage_role_configuration_relationship = Task_method_version_assignment%

-- id identifier
/identifier(
    ID=@id,
    source_organization=@source_organization,
    type='usage_role_configuration_relationship_id_code',
    items=^usage_role_configuration_relationship)/
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Task_method_version_assignment.role '/IGNORE' Applied_activity_method_assignment.role

XML representation of path

<refpath
   template="usage_role_configuration_relationship">
   <comment>
      create the assignment to link the reqd_pse_cont_usg_role
   </comment>
   <instantiate
      entity="Task_method_version_assignment"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Task_method_version_assignment"
            attribute="role"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value="'/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Task_method_version_assignment"
            attribute="assigned_activity_method"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="related_usage_role">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Task_method_version_assignment"
            attribute="items"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="related_configuration">
            
         </param_in_ref>
      </source>
   </assign>
   <bind
      parameter="usage_role_configuration_relationship">
      <express_entity
         entity="Task_method_version_assignment"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <comment>
      id identifier
   </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="'usage_role_configuration_relationship_id_code'">
         
      </param_in>
      <param_in
         name="items"
         value="^usage_role_configuration_relationship">
         
      </param_in>
   </call_template>
</refpath>

© UK MOD 2010 — All rights reserved