Template:— product_composition_position (prod_comp_pos)
Context:— UK_Defence
Date: 2010/07/16 11:51:36
Revision: 1.5
Template: product_composition_position

XML references to the Template

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

product_composition_position

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="product_composition_position" context="UK_Defence" >
  <param name="ID">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="ID_source_organization">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="product">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="breakdown">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="product_composition_position">
  <param_in name="ID" value=""/>
  <param_in name="ID_source_organization" value=""/>
  <param_in name="product" value=""/>
  <param_in name="breakdown" value=""/>
</template_example>

product_composition_position
/product_composition_position(ID='', ID_source_organization='', product='', breakdown='')/

Path

-- Product_definition_element_relationship
Product_definition_element_relationship
%^prod_def_elm_rel = Product_definition_element_relationship%
Product_definition_element_relationship.id = '/IGNORE'
Product_definition_element_relationship.name = '/IGNORE'
Product_definition_element_relationship.product -> @product
Product_definition_element_relationship.breakdown -> @breakdown

-- Identifier
/identifier(
    ID=@ID,
    source_organization=@ID_source_organization,
    type='identification_code',
    items=^prod_def_elm_rel)/
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Product_definition_element_relationship.id '/IGNORE'
Product_definition_element_relationship.name '/IGNORE'

XML representation of path

<refpath
   template="product_composition_position">
   <comment>
      Product_definition_element_relationship
   </comment>
   <instantiate
      entity="Product_definition_element_relationship"
      context="UK_Defence">
      
   </instantiate>
   <bind
      parameter="prod_def_elm_rel">
      <express_entity
         entity="Product_definition_element_relationship"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Product_definition_element_relationship"
            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_definition_element_relationship"
            attribute="name"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Product_definition_element_relationship"
            attribute="product"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="product">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Product_definition_element_relationship"
            attribute="breakdown"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="breakdown">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      Identifier
   </comment>
   <call_template
      name="identifier"
      business_context="UK_Defence">
      <param_in
         name="ID"
         value="@ID">
         
      </param_in>
      <param_in
         name="source_organization"
         value="@ID_source_organization">
         
      </param_in>
      <param_in
         name="type"
         value="'identification_code'">
         
      </param_in>
      <param_in
         name="items"
         value="^prod_def_elm_rel">
         
      </param_in>
   </call_template>
</refpath>

© UK MOD 2010 — All rights reserved