Template:— support_context (sup_con)
Context:— UK_Defence
Date: 2009/04/17 11:58:03
Revision: 1.5
Template: support_context

XML references to the Template

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

support_context

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="support_context" 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="name">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="operating_environment">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="operating_organization">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="related_assumptions">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="related_constraints">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="related_PSE_usage_profile">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="related_requirements">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="support_environment">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="version">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="support_context">
  <param_in name="ID" value=""/>
  <param_in name="source_organization" value=""/>
  <param_in name="name" value=""/>
  <param_in name="operating_environment" value=""/>
  <param_in name="operating_organization" value=""/>
  <param_in name="related_assumptions" value=""/>
  <param_in name="related_constraints" value=""/>
  <param_in name="related_PSE_usage_profile" value=""/>
  <param_in name="related_requirements" value=""/>
  <param_in name="support_environment" value=""/>
  <param_in name="version" value=""/>
</template_example>

support_context
/support_context(ID='', source_organization='', name='', operating_environment='', operating_organization='', related_assumptions='', related_constraints='', related_PSE_usage_profile='', related_requirements='', support_environment='', version='')/

Path

%^objective = Task_objective%
Task_objective.name = '/IGNORE'
Task_objective.description = ''/IGNORE'
%^method = Task_method%
Task_method.name = '/IGNORE'
Task_method.description = ''/IGNORE'
Task_method.consequence = '/IGNORE'
Task_method.purpose = '/IGNORE'
Task_method.objective -> ^objective
%^method_version = Task_method_version%
Task_method_version.name = '/IGNORE'
Task_method_version.description = ''/IGNORE'
Task_method_version.consequence = '/IGNORE'
Task_method_version.purpose = '/IGNORE'
Task_method_version.of_task_method -> ^method

-- Version
/identifier(
    ID=@version,
    source_organization=@source_organization,
    type='support_context_version',
    items=^method_version)/

-- representing_activity_actual (mandatory)
/representing_activity_actual(
    id=@ID,
    id_class_name='Support_context_identifier',
    id_ecl_id='urn:plcs:rdl:uk_defence',
    id_owner=@source_organization,
    id_owner_class_name='Organization_name',
    id_owner_ecl_id='urn:plcs:rdl:std',
    method=^method,
    date_class_name='Date_actual_start',
    date_ecl_id='urn:plcs:rdl:std',
    year='0',
    month='0',
    day='0',
    hour='0',
    minute='$',
    second='$',
    sense='.EXACT.',
    hour_offset='0',
    minute_offset='$')/
%^act_act = $representing_activity_actual.act_act%

-- Name (mandatory)
/identifier(
    ID=@name,
    source_organization=@source_organization,
    type='Name',
    items=^act_act)/

-- [optional Related assumptions]
/assigning_activity(
    role_class_name='Assumption_assignment',
    role_ecl_id='urn:plcs:rdl:uk_defence',
    assigned_activity=^act_act,
    items=@related_assumptions)/

-- [optional Related constraints]
/assigning_activity(
    role_class_name='Constraint_assignment',
    role_ecl_id='urn:plcs:rdl:uk_defence',
    assigned_activity=^act_act,
    items=@related_constraints)/

-- Related operating environment
/assigning_activity(
    role_class_name='Operating_environment_assignment',
    role_ecl_id='urn:plcs:rdl:uk_defence',
    assigned_activity=^act_act,
    items=@operating_environment)/

-- Related operating organization
/assigning_activity(
    role_class_name='Operating_organization_assignment',
    role_ecl_id='urn:plcs:rdl:uk_defence',
    assigned_activity=^act_act,
    items= @operating_organization)/

-- Related support environment
/assigning_activity(
    role_class_name='Support_environment_assignment',
    role_ecl_id='urn:plcs:rdl:uk_defence',
    assigned_activity=^act_act,
    items=@support_environment)/

-- Related requirement
/assigning_activity(
    role_class_name='Requirement_assignment role_ecl_id='urn:plcs:rdl:uk_defence',
    assigned_activity=^act_act,
    items=@related_requirements)/

-- Related PSE usage profile
/assigning_activity(
    role_class_name='Platform_system_equipment_usage_profile_assignment',
    role_ecl_id='urn:plcs:rdl:uk_defence',
    assigned_activity=^act_act,
    items=@related_PSE_usage_profile)/
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Task_objective.name '/IGNORE'
Task_objective.description ''/IGNORE'
Task_method.name '/IGNORE' Activity_method.name
Task_method.description ''/IGNORE' Activity_method.description
Task_method.consequence '/IGNORE' Activity_method.consequence
Task_method.purpose '/IGNORE' Activity_method.purpose
Task_method_version.name '/IGNORE' Activity_method.name
Task_method_version.description ''/IGNORE' Activity_method.description
Task_method_version.consequence '/IGNORE' Activity_method.consequence
Task_method_version.purpose '/IGNORE' Activity_method.purpose

XML representation of path

<refpath
   template="support_context">
   <bind
      parameter="objective">
      <express_entity
         entity="Task_objective"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Task_objective"
            attribute="name"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Task_objective"
            attribute="description"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" ''/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <bind
      parameter="method">
      <express_entity
         entity="Task_method"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Task_method"
            attribute="name"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Task_method"
            attribute="description"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" ''/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Task_method"
            attribute="consequence"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Task_method"
            attribute="purpose"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Task_method"
            attribute="objective"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="objective">
            
         </bound_parameter>
      </source>
   </assign>
   <bind
      parameter="method_version">
      <express_entity
         entity="Task_method_version"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Task_method_version"
            attribute="name"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Task_method_version"
            attribute="description"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" ''/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Task_method_version"
            attribute="consequence"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Task_method_version"
            attribute="purpose"
            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"
            attribute="of_task_method"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="method">
            
         </bound_parameter>
      </source>
   </assign>
   <comment>
      Version
   </comment>
   <call_template
      name="identifier"
      business_context="UK_Defence">
      <param_in
         name="ID"
         value="@version">
         
      </param_in>
      <param_in
         name="source_organization"
         value="@source_organization">
         
      </param_in>
      <param_in
         name="type"
         value="'support_context_version'">
         
      </param_in>
      <param_in
         name="items"
         value="^method_version">
         
      </param_in>
   </call_template>
   <comment>
      representing_activity_actual (mandatory)
   </comment>
   <call_template
      name="representing_activity_actual"
      business_context="UK_Defence">
      <param_in
         name="id"
         value="@ID">
         
      </param_in>
      <param_in
         name="id_class_name"
         value="'Support_context_identifier'">
         
      </param_in>
      <param_in
         name="id_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="id_owner"
         value="@source_organization">
         
      </param_in>
      <param_in
         name="id_owner_class_name"
         value="'Organization_name'">
         
      </param_in>
      <param_in
         name="id_owner_ecl_id"
         value="'urn:plcs:rdl:std'">
         
      </param_in>
      <param_in
         name="method"
         value="^method">
         
      </param_in>
      <param_in
         name="date_class_name"
         value="'Date_actual_start'">
         
      </param_in>
      <param_in
         name="date_ecl_id"
         value="'urn:plcs:rdl:std'">
         
      </param_in>
      <param_in
         name="year"
         value="'0'">
         
      </param_in>
      <param_in
         name="month"
         value="'0'">
         
      </param_in>
      <param_in
         name="day"
         value="'0'">
         
      </param_in>
      <param_in
         name="hour"
         value="'0'">
         
      </param_in>
      <param_in
         name="minute"
         value="'$'">
         
      </param_in>
      <param_in
         name="second"
         value="'$'">
         
      </param_in>
      <param_in
         name="sense"
         value="'.EXACT.'">
         
      </param_in>
      <param_in
         name="hour_offset"
         value="'0'">
         
      </param_in>
      <param_in
         name="minute_offset"
         value="'$'">
         
      </param_in>
   </call_template>
   <bind
      parameter="act_act">
      <template_instance
         template="representing_activity_actual"
         parameter="act_act">
         
      </template_instance>
   </bind>
   <comment>
      Name (mandatory)
   </comment>
   <call_template
      name="identifier"
      business_context="UK_Defence">
      <param_in
         name="ID"
         value="@name">
         
      </param_in>
      <param_in
         name="source_organization"
         value="@source_organization">
         
      </param_in>
      <param_in
         name="type"
         value="'Name'">
         
      </param_in>
      <param_in
         name="items"
         value="^act_act">
         
      </param_in>
   </call_template>
   <comment>
      [optional Related assumptions]
   </comment>
   <call_template
      name="assigning_activity"
      business_context="UK_Defence">
      <param_in
         name="role_class_name"
         value="'Assumption_assignment'">
         
      </param_in>
      <param_in
         name="role_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="assigned_activity"
         value="^act_act">
         
      </param_in>
      <param_in
         name="items"
         value="@related_assumptions">
         
      </param_in>
   </call_template>
   <comment>
      [optional Related constraints]
   </comment>
   <call_template
      name="assigning_activity"
      business_context="UK_Defence">
      <param_in
         name="role_class_name"
         value="'Constraint_assignment'">
         
      </param_in>
      <param_in
         name="role_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="assigned_activity"
         value="^act_act">
         
      </param_in>
      <param_in
         name="items"
         value="@related_constraints">
         
      </param_in>
   </call_template>
   <comment>
      Related operating environment
   </comment>
   <call_template
      name="assigning_activity"
      business_context="UK_Defence">
      <param_in
         name="role_class_name"
         value="'Operating_environment_assignment'">
         
      </param_in>
      <param_in
         name="role_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="assigned_activity"
         value="^act_act">
         
      </param_in>
      <param_in
         name="items"
         value="@operating_environment">
         
      </param_in>
   </call_template>
   <comment>
      Related operating organization
   </comment>
   <call_template
      name="assigning_activity"
      business_context="UK_Defence">
      <param_in
         name="role_class_name"
         value="'Operating_organization_assignment'">
         
      </param_in>
      <param_in
         name="role_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="assigned_activity"
         value="^act_act">
         
      </param_in>
      <param_in
         name="items"
         value=" @operating_organization">
         
      </param_in>
   </call_template>
   <comment>
      Related support environment
   </comment>
   <call_template
      name="assigning_activity"
      business_context="UK_Defence">
      <param_in
         name="role_class_name"
         value="'Support_environment_assignment'">
         
      </param_in>
      <param_in
         name="role_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="assigned_activity"
         value="^act_act">
         
      </param_in>
      <param_in
         name="items"
         value="@support_environment">
         
      </param_in>
   </call_template>
   <comment>
      Related requirement
   </comment>
   <call_template
      name="assigning_activity"
      business_context="UK_Defence">
      <param_in
         name="role_class_name"
         value="'Requirement_assignment role_ecl_id='urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="assigned_activity"
         value="^act_act">
         
      </param_in>
      <param_in
         name="items"
         value="@related_requirements">
         
      </param_in>
   </call_template>
   <comment>
      Related PSE usage profile
   </comment>
   <call_template
      name="assigning_activity"
      business_context="UK_Defence">
      <param_in
         name="role_class_name"
         value="'Platform_system_equipment_usage_profile_assignment'">
         
      </param_in>
      <param_in
         name="role_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="assigned_activity"
         value="^act_act">
         
      </param_in>
      <param_in
         name="items"
         value="@related_PSE_usage_profile">
         
      </param_in>
   </call_template>
</refpath>

© UK MOD 2010 — All rights reserved