Template:— required_pse_constituent_interoperability (rpse_ctin)
Context:— UK_Defence
Date: 2009/04/17 11:32:31
Revision: 1.6
Template: required_pse_constituent_interoperability

XML references to the Template

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

required_pse_constituent_interoperability

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="required_pse_constituent_interoperability" context="UK_Defence" >
  <param name="id">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="category">
    <param_value>Interoperability</param_value>
    <description></description>
  </param>
  <param name="description">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="source_organization">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="related_pse_constituent">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="related_item">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="required_pse_usage_profile">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="required_pse_constituent_interoperability">
  <param_in name="id" value=""/>
  <param_in name="category" value="Interoperability"/>
  <param_in name="description" value=""/>
  <param_in name="source_organization" value=""/>
  <param_in name="related_pse_constituent" value=""/>
  <param_in name="related_item" value=""/>
  <param_in name="required_pse_usage_profile" value=""/>
</template_example>

required_pse_constituent_interoperability
/required_pse_constituent_interoperability(id='', category='Interoperability', description='', source_organization='', related_pse_constituent='', related_item='', required_pse_usage_profile='')/

Path

Product_group_membership

-- Mark the Product_group_membership entity as
-- referable when this template is used by binding it to the reference
-- parameter prod_grp_membership
Product_group
Product_group.id = '/IGNORE'
Product_group.purpose = '/IGNORE'
%^req_pse_const_interop = Product_group_membership%
Product_group_membership.of_group -> Product_group
Product_group_membership.member -> @related_item
%^pgm_effectivity = Effectivity%
Effectivity.id = '/IGNORE'
Effectivity.name = '/IGNORE'
Effectivity.description = '/IGNORE'

-- New Effectivity assignment
Effectivity_assignment.role = '/IGNORE'
Effectivity_assignment.items -> ^req_pse_const_interop
Effectivity_assignment.role = '/IGNORE'

-- Instantiate Effectivity_assignment entity (no.1)
%^pgm_effect_asngt = Effectivity_assignment%
^pgm_effect_asngt.assigned_effectivity -> ^pgm_effectivity

-- create the assignment to link the reqd_pse_cont_usg_profile
Task_method_assignment
Task_method_assignment.role = '/IGNORE'
Task_method_assignment.assigned_activity_method -> @required_pse_usage_profile
Task_method_assignment.items -> ^req_pse_const_interop

-- id identifier
/identifier(
    ID=@id,
    source_organization=@source_organization,
    type='required_pse_constituent_interoperability_id_code',
    items=^req_pse_const_interop)/

-- Classify the membership as Constituent_interoperability
/assigning_reference_data(
    items=^req_pse_const_interop,
    class_name=@category,
    ecl_id='urn:plcs:rdl:uk_defence')/

-- Description
/assigning_descriptor(
    descr=@description,
    class_name='description'',
    ecl_id='urn:plcs:rdl:uk_defence',
    is_assigned_to=^req_pse_const_interop)/
Effectivity_assignment.role = '/IGNORE'
Effectivity_assignment.items -> @related_pse_constituent
Effectivity_assignment.role = '/IGNORE'

-- Make Ref Params of Effectivity_assignment entity (no.2)
%^pse_const_effect_asngt = Effectivity_assignment%
^pse_const_effect_asngt.assigned_effectivity -> ^pgm_effectivity
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Product_group.id '/IGNORE'
Product_group.purpose '/IGNORE'
Effectivity.id '/IGNORE'
Effectivity.name '/IGNORE'
Effectivity.description '/IGNORE'
Effectivity_assignment.role '/IGNORE'
Effectivity_assignment.role '/IGNORE'
Task_method_assignment.role '/IGNORE' Applied_activity_method_assignment.role
Effectivity_assignment.role '/IGNORE'
Effectivity_assignment.role '/IGNORE'

XML representation of path

<refpath
   template="required_pse_constituent_interoperability">
   <instantiate
      entity="Product_group_membership"
      context="UK_Defence">
      
   </instantiate>
   <comment>
      Mark the Product_group_membership entity as
   </comment>
   <comment>
      referable when this template is used by binding it to the reference
   </comment>
   <comment>
      parameter prod_grp_membership
   </comment>
   <instantiate
      entity="Product_group"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Product_group"
            attribute="id"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value="'/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Product_group"
            attribute="purpose"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value="'/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <bind
      parameter="req_pse_const_interop">
      <express_entity
         entity="Product_group_membership"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Product_group_membership"
            attribute="of_group"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <express_entity
            entity="Product_group"
            context="UK_Defence">
            
         </express_entity>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Product_group_membership"
            attribute="member"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="related_item">
            
         </param_in_ref>
      </source>
   </assign>
   <bind
      parameter="pgm_effectivity">
      <express_entity
         entity="Effectivity"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Effectivity"
            attribute="id"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Effectivity"
            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="Effectivity"
            attribute="description"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <comment>
      New Effectivity assignment
   </comment>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Effectivity_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="Effectivity_assignment"
            attribute="items"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="req_pse_const_interop">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Effectivity_assignment"
            attribute="role"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <comment>
      Instantiate Effectivity_assignment entity (no.1)
   </comment>
   <bind
      parameter="pgm_effect_asngt">
      <express_entity
         entity="Effectivity_assignment"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="pgm_effect_asngt.assigned_effectivity">
            
         </bound_parameter>
      </target>
      <source>
         <bound_parameter
            name="pgm_effectivity">
            
         </bound_parameter>
      </source>
   </assign>
   <comment>
      create the assignment to link the reqd_pse_cont_usg_profile
   </comment>
   <instantiate
      entity="Task_method_assignment"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Task_method_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_assignment"
            attribute="assigned_activity_method"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="required_pse_usage_profile">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Task_method_assignment"
            attribute="items"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="req_pse_const_interop">
            
         </bound_parameter>
      </source>
   </assign>
   <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="'required_pse_constituent_interoperability_id_code'">
         
      </param_in>
      <param_in
         name="items"
         value="^req_pse_const_interop">
         
      </param_in>
   </call_template>
   <comment>
      Classify the membership as Constituent_interoperability
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="items"
         value="^req_pse_const_interop">
         
      </param_in>
      <param_in
         name="class_name"
         value="@category">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
   </call_template>
   <comment>
      Description
   </comment>
   <call_template
      name="assigning_descriptor"
      business_context="UK_Defence">
      <param_in
         name="descr"
         value="@description">
         
      </param_in>
      <param_in
         name="class_name"
         value="'description''">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="is_assigned_to"
         value="^req_pse_const_interop">
         
      </param_in>
   </call_template>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Effectivity_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="Effectivity_assignment"
            attribute="items"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="related_pse_constituent">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Effectivity_assignment"
            attribute="role"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <comment>
      Make Ref Params of Effectivity_assignment entity (no.2)
   </comment>
   <bind
      parameter="pse_const_effect_asngt">
      <express_entity
         entity="Effectivity_assignment"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="pse_const_effect_asngt.assigned_effectivity">
            
         </bound_parameter>
      </target>
      <source>
         <bound_parameter
            name="pgm_effectivity">
            
         </bound_parameter>
      </source>
   </assign>
</refpath>

© UK MOD 2010 — All rights reserved