Template:— representing_alternate_part_relationship (rep_alt_part_rel)
Capability:representing_parts
Date: 2010/08/26 07:35:18
Revision: 1.1
Template: representing_alternate_part_relationship

XML references to the Template

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

representing_alternate_part_relationship

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="" name="representing_alternate_part_relationship" capability="representing_parts">
  <param name="base_part">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="alternate_part">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="representing_alternate_part_relationship">
  <param_in name="base_part" value=""/>
  <param_in name="alternate_part" value=""/>
</template_example>

representing_alternate_part_relationship
/representing_alternate_part_relationship(base_part='', alternate_part='')/

Path

Alternate_part_relationship

-- Mark the Alternate_part_relationship entity as
-- referable when this template is used by binding it to the reference
-- parameter alt_part_rel
%^alt_part_rel = Alternate_part_relationship%
Alternate_part_relationship.name = '/IGNORE'
Alternate_part_relationship.description = '/IGNORE'
Alternate_part_relationship.criteria = '/IGNORE'
Alternate_part_relationship.base_product -> @base_part
Alternate_part_relationship.alternate_product -> @alternate_part
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Alternate_part_relationship.name '/IGNORE' Alternate_product_relationship.name
Alternate_part_relationship.description '/IGNORE' Alternate_product_relationship.description
Alternate_part_relationship.criteria '/IGNORE' Alternate_product_relationship.criteria

XML representation of path

<refpath
   template="representing_alternate_part_relationship">
   <instantiate
      entity="Alternate_part_relationship"
      context="">
      
   </instantiate>
   <comment>
      Mark the Alternate_part_relationship entity as
   </comment>
   <comment>
      referable when this template is used by binding it to the reference
   </comment>
   <comment>
      parameter alt_part_rel
   </comment>
   <bind
      parameter="alt_part_rel">
      <express_entity
         entity="Alternate_part_relationship"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Alternate_part_relationship"
            attribute="name"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Alternate_part_relationship"
            attribute="description"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Alternate_part_relationship"
            attribute="criteria"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Alternate_part_relationship"
            attribute="base_product"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="base_part">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Alternate_part_relationship"
            attribute="alternate_product"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="alternate_part">
            
         </param_in_ref>
      </source>
   </assign>
</refpath>

© OASIS 2010 — All rights reserved