Template:— representing_breakdown_element (rep_bkdn_elem) Date: 2008/02/28 23:59:11
Revision: 1.16
Template: representing_breakdown_element

XML references to the Template

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

representing_breakdown_element

Set up a hyperlink to the template definition.
<template_ref name="representing_breakdown_element" capability="representing_breakdown_structure"/>

Set up a table of the template parameters.
<template_table figure_id="?" instance="" name="representing_breakdown_element" capability="representing_breakdown_structure">
  <param name="id">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="id_class_name">
    <param_value>Breakdown_element_identification_code</param_value>
    <description></description>
  </param>
  <param name="id_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
  <param name="id_owner">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="id_owner_class_name">
    <param_value>Organization_name</param_value>
    <description></description>
  </param>
  <param name="id_owner_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
  <param name="vn_id">
    <param_value>Unknown</param_value>
    <description></description>
  </param>
  <param name="vn_id_class_name">
    <param_value>Version_identification_code</param_value>
    <description></description>
  </param>
  <param name="vn_id_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
  <param name="vn_id_owner">
    <param_value>Unknown</param_value>
    <description></description>
  </param>
  <param name="vn_id_owner_class_name">
    <param_value>Organization_name</param_value>
    <description></description>
  </param>
  <param name="vn_id_owner_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
  <param name="life_cycle_stage">
    <param_value>Support_stage</param_value>
    <description></description>
  </param>
  <param name="life_cycle_stage_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
  <param name="domain">
    <param_value>Product_life_cycle_support</param_value>
    <description></description>
  </param>
  <param name="domain_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
  <param name="bkdn_vn">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="representing_breakdown_element">
  <param_in name="id" value=""/>
  <param_in name="id_class_name" value="Breakdown_element_identification_code"/>
  <param_in name="id_ecl_id" value="urn:plcs:rdl:std"/>
  <param_in name="id_owner" value=""/>
  <param_in name="id_owner_class_name" value="Organization_name"/>
  <param_in name="id_owner_ecl_id" value="urn:plcs:rdl:std"/>
  <param_in name="vn_id" value="Unknown"/>
  <param_in name="vn_id_class_name" value="Version_identification_code"/>
  <param_in name="vn_id_ecl_id" value="urn:plcs:rdl:std"/>
  <param_in name="vn_id_owner" value="Unknown"/>
  <param_in name="vn_id_owner_class_name" value="Organization_name"/>
  <param_in name="vn_id_owner_ecl_id" value="urn:plcs:rdl:std"/>
  <param_in name="life_cycle_stage" value="Support_stage"/>
  <param_in name="life_cycle_stage_ecl_id" value="urn:plcs:rdl:std"/>
  <param_in name="domain" value="Product_life_cycle_support"/>
  <param_in name="domain_ecl_id" value="urn:plcs:rdl:std"/>
  <param_in name="bkdn_vn" value=""/>
</template_example>

representing_breakdown_element
/representing_breakdown_element(id='', id_class_name='Breakdown_element_identification_code', id_ecl_id='urn:plcs:rdl:std', id_owner='', id_owner_class_name='Organization_name', id_owner_ecl_id='urn:plcs:rdl:std', vn_id='Unknown', vn_id_class_name='Version_identification_code', vn_id_ecl_id='urn:plcs:rdl:std', vn_id_owner='Unknown', vn_id_owner_class_name='Organization_name', vn_id_owner_ecl_id='urn:plcs:rdl:std', life_cycle_stage='Support_stage', life_cycle_stage_ecl_id='urn:plcs:rdl:std', domain='Product_life_cycle_support', domain_ecl_id='urn:plcs:rdl:std', bkdn_vn='')/

Path

-- instantiate Breakdown_element
Breakdown_element
%^bkdn_elem = Breakdown_element%
^bkdn_elem.id = '/IGNORE'
^bkdn_elem.name = '/IGNORE'
^bkdn_elem.description = '/IGNORE'

-- assign ID to breakdown_element
/assigning_identification(
    id=@id,
    id_class_name=@id_class_name,
    id_ecl_id=@id_ecl_id,
    org_id=@id_owner,
    org_id_class_name=@id_owner_class_name,
    org_id_ecl_id=@id_owner_ecl_id,
    items=^bkdn_elem)/

-- instantiate Breakdown_element_version
Breakdown_element_version
%^bkdn_elem_vn = Breakdown_element_version%
^bkdn_elem_vn.id = '/IGNORE'
^bkdn_elem_vn.description = '/IGNORE'
^bkdn_elem_vn.of_product -> ^bkdn_elem

-- assign ID to Breakdown_element_version
/assigning_identification(
    id=@vn_id,
    id_class_name=@vn_id_class_name,
    id_ecl_id=@vn_id_ecl_id,
    org_id=@vn_id_owner,
    org_id_class_name=@vn_id_owner_class_name,
    org_id_ecl_id=@vn_id_owner_ecl_id,
    items=^bkdn_elem_vn)/

-- instantiate Breakdown_element_definition
Breakdown_element_definition
%^bkdn_elem_def = Breakdown_element_definition%
^bkdn_elem_def.id = '/IGNORE'
^bkdn_elem_def.name = '/IGNORE'
^bkdn_elem_def.additional_characterization = '/IGNORE'
^bkdn_elem_def.defined_version -> ^bkdn_elem_vn

-- instantiate View_definition_context and bind it to the Breakdown_element_definition
^bkdn_elem_def.initial_context -> View_definition_context
%^def_cntxt = View_definition_context%
^def_cntxt.life_cycle_stage = '/IGNORE'
^def_cntxt.application_domain = '/IGNORE'
^def_cntxt.description = '/IGNORE'

-- assign life_cycle_stage to the view_definition_context
/assigning_reference_data(
    items=^def_cntxt,
    class_name=@life_cycle_stage,
    ecl_id=@life_cycle_stage_ecl_id)/

-- assign application_domain to the context
/assigning_reference_data(
    items=^def_cntxt,
    class_name=@domain,
    ecl_id=@domain_ecl_id)/

-- instantiate Breakdown_context to connect breakdown_element_definition
-- to a breakdown_version
Breakdown_context
%^bkdn_cntxt = Breakdown_context%
^bkdn_cntxt.id = '/IGNORE'
^bkdn_cntxt.name = '/IGNORE'
^bkdn_cntxt.description = '/IGNORE'
^bkdn_cntxt.breakdown_element -> ^bkdn_elem_def
^bkdn_cntxt.breakdown -> @bkdn_vn
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Breakdown_element.id '/IGNORE' Product.id
Breakdown_element.name '/IGNORE' Product.name
Breakdown_element.description '/IGNORE' Product.description
Breakdown_element_version.id '/IGNORE' Product_version.id
Breakdown_element_version.description '/IGNORE' Product_version.description
Breakdown_element_definition.id '/IGNORE' Product_view_definition.id
Breakdown_element_definition.name '/IGNORE' Product_view_definition.name
Breakdown_element_definition.additional_characterization '/IGNORE' Product_view_definition.additional_characterization
View_definition_context.life_cycle_stage '/IGNORE'
View_definition_context.application_domain '/IGNORE'
View_definition_context.description '/IGNORE'
Breakdown_context.id '/IGNORE'
Breakdown_context.name '/IGNORE'
Breakdown_context.description '/IGNORE'

XML representation of path

<refpath
   template="representing_breakdown_element">
   <comment>
      instantiate Breakdown_element
   </comment>
   <instantiate
      entity="Breakdown_element"
      context="">
      
   </instantiate>
   <bind
      parameter="bkdn_elem">
      <express_entity
         entity="Breakdown_element"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="bkdn_elem.id">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="bkdn_elem.name">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="bkdn_elem.description">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <comment>
      assign ID to breakdown_element
   </comment>
   <call_template
      name="assigning_identification"
      business_context="">
      <param_in
         name="id"
         value="@id">
         
      </param_in>
      <param_in
         name="id_class_name"
         value="@id_class_name">
         
      </param_in>
      <param_in
         name="id_ecl_id"
         value="@id_ecl_id">
         
      </param_in>
      <param_in
         name="org_id"
         value="@id_owner">
         
      </param_in>
      <param_in
         name="org_id_class_name"
         value="@id_owner_class_name">
         
      </param_in>
      <param_in
         name="org_id_ecl_id"
         value="@id_owner_ecl_id">
         
      </param_in>
      <param_in
         name="items"
         value="^bkdn_elem">
         
      </param_in>
   </call_template>
   <comment>
      instantiate Breakdown_element_version
   </comment>
   <instantiate
      entity="Breakdown_element_version"
      context="">
      
   </instantiate>
   <bind
      parameter="bkdn_elem_vn">
      <express_entity
         entity="Breakdown_element_version"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="bkdn_elem_vn.id">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="bkdn_elem_vn.description">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="bkdn_elem_vn.of_product">
            
         </bound_parameter>
      </target>
      <source>
         <bound_parameter
            name="bkdn_elem">
            
         </bound_parameter>
      </source>
   </assign>
   <comment>
      assign ID to Breakdown_element_version
   </comment>
   <call_template
      name="assigning_identification"
      business_context="">
      <param_in
         name="id"
         value="@vn_id">
         
      </param_in>
      <param_in
         name="id_class_name"
         value="@vn_id_class_name">
         
      </param_in>
      <param_in
         name="id_ecl_id"
         value="@vn_id_ecl_id">
         
      </param_in>
      <param_in
         name="org_id"
         value="@vn_id_owner">
         
      </param_in>
      <param_in
         name="org_id_class_name"
         value="@vn_id_owner_class_name">
         
      </param_in>
      <param_in
         name="org_id_ecl_id"
         value="@vn_id_owner_ecl_id">
         
      </param_in>
      <param_in
         name="items"
         value="^bkdn_elem_vn">
         
      </param_in>
   </call_template>
   <comment>
      instantiate Breakdown_element_definition
   </comment>
   <instantiate
      entity="Breakdown_element_definition"
      context="">
      
   </instantiate>
   <bind
      parameter="bkdn_elem_def">
      <express_entity
         entity="Breakdown_element_definition"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="bkdn_elem_def.id">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="bkdn_elem_def.name">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="bkdn_elem_def.additional_characterization">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="bkdn_elem_def.defined_version">
            
         </bound_parameter>
      </target>
      <source>
         <bound_parameter
            name="bkdn_elem_vn">
            
         </bound_parameter>
      </source>
   </assign>
   <comment>
      instantiate View_definition_context and bind it to the Breakdown_element_definition
   </comment>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="bkdn_elem_def.initial_context">
            
         </bound_parameter>
      </target>
      <source>
         <express_entity
            entity="View_definition_context"
            context="">
            
         </express_entity>
      </source>
   </assign>
   <bind
      parameter="def_cntxt">
      <express_entity
         entity="View_definition_context"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="def_cntxt.life_cycle_stage">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="def_cntxt.application_domain">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="def_cntxt.description">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <comment>
      assign life_cycle_stage to the view_definition_context
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="">
      <param_in
         name="items"
         value="^def_cntxt">
         
      </param_in>
      <param_in
         name="class_name"
         value="@life_cycle_stage">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="@life_cycle_stage_ecl_id">
         
      </param_in>
   </call_template>
   <comment>
      assign application_domain to the context
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="">
      <param_in
         name="items"
         value="^def_cntxt">
         
      </param_in>
      <param_in
         name="class_name"
         value="@domain">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="@domain_ecl_id">
         
      </param_in>
   </call_template>
   <comment>
      instantiate Breakdown_context to connect breakdown_element_definition
   </comment>
   <comment>
      to a breakdown_version
   </comment>
   <instantiate
      entity="Breakdown_context"
      context="">
      
   </instantiate>
   <bind
      parameter="bkdn_cntxt">
      <express_entity
         entity="Breakdown_context"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="bkdn_cntxt.id">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="bkdn_cntxt.name">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <bound_parameter
            name="bkdn_cntxt.description">
            
         </bound_parameter>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="bkdn_cntxt.breakdown_element">
            
         </bound_parameter>
      </target>
      <source>
         <bound_parameter
            name="bkdn_elem_def">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <bound_parameter
            name="bkdn_cntxt.breakdown">
            
         </bound_parameter>
      </target>
      <source>
         <param_in_ref
            name="bkdn_vn">
            
         </param_in_ref>
      </source>
   </assign>
</refpath>

© OASIS 2010 — All rights reserved