Template:— product_property_geometric (prod_prop_geom)
Capability:assigning_product_properties
Date: 2011/10/07 08:40:46
Revision: 1.1
Template: product_property_geometric

XML references to the Template

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

product_property_geometric

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="" name="product_property_geometric" capability="assigning_product_properties">
  <param name="rep">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="property">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="product_property_geometric">
  <param_in name="rep" value=""/>
  <param_in name="property" value=""/>
</template_example>

product_property_geometric
/product_property_geometric(rep='', property='')/

Path

-- Instantiate Property_representation entity
Property_representation

-- Set the unused Property_representation attributes to be ignored
Property_representation.description = '/IGNORE'
Property_representation.role = '/IGNORE'

-- Bind the Property_representation to the parameter ^prop_rep
%^prop_rep = Property_representation%

-- Set the used Property_representation attributes to the corresponding input parameters
Property_representation.rep -> @rep
Property_representation.property -> @property
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Property_representation.description '/IGNORE'
Property_representation.role '/IGNORE'

XML representation of path

<refpath
   template="product_property_geometric">
   <comment>
      Instantiate Property_representation entity
   </comment>
   <instantiate
      entity="Property_representation"
      context="">
      
   </instantiate>
   <comment>
      Set the unused Property_representation attributes to be ignored
   </comment>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Property_representation"
            attribute="description"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Property_representation"
            attribute="role"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <comment>
      Bind the Property_representation to the parameter ^prop_rep
   </comment>
   <bind
      parameter="prop_rep">
      <express_entity
         entity="Property_representation"
         context="">
         
      </express_entity>
   </bind>
   <comment>
      Set the used Property_representation attributes to the corresponding input parameters
   </comment>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Property_representation"
            attribute="rep"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="rep">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Property_representation"
            attribute="property"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="property">
            
         </param_in_ref>
      </source>
   </assign>
</refpath>

© OASIS 2010 — All rights reserved