Template:— representing_task_version_relationship (rep_task_ver_rel) Date: 2009/03/10 07:33:45
Revision: 1.4
Template: representing_task_version_relationship

XML references to the Template

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

representing_task_version_relationship

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="" name="representing_task_version_relationship" capability="representing_task">
  <param name="relating_task_ver">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="related_task_ver">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="rel_class_name">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="rel_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="representing_task_version_relationship">
  <param_in name="relating_task_ver" value=""/>
  <param_in name="related_task_ver" value=""/>
  <param_in name="rel_class_name" value=""/>
  <param_in name="rel_ecl_id" value="urn:plcs:rdl:std"/>
</template_example>

representing_task_version_relationship
/representing_task_version_relationship(relating_task_ver='', related_task_ver='', rel_class_name='', rel_ecl_id='urn:plcs:rdl:std')/

Path

Task_method_version_relationship

-- Mark the Task_method_version_relationship entity as
-- referable when this template is used by binding it to the reference
-- parameter task_ver_rel
%^task_ver_rel = Task_method_version_relationship%
Task_method_version_relationship.name = '/IGNORE'
Task_method_version_relationship.description = '/IGNORE'
Task_method_version_relationship.relating_method -> @relating_task_ver
Task_method_version_relationship.related_method -> @related_task_ver

-- provide the role of the realization by classifying the Task_method_version_relationship
/assigning_reference_data(
    items=^task_ver_rel,
    class_name=@rel_class_name,
    ecl_id=@rel_ecl_id)/
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Task_method_version_relationship.name '/IGNORE' Activity_method_relationship.name
Task_method_version_relationship.description '/IGNORE' Activity_method_relationship.description

XML representation of path

<refpath
   template="representing_task_version_relationship">
   <instantiate
      entity="Task_method_version_relationship"
      context="">
      
   </instantiate>
   <comment>
      Mark the Task_method_version_relationship entity as
   </comment>
   <comment>
      referable when this template is used by binding it to the reference
   </comment>
   <comment>
      parameter task_ver_rel
   </comment>
   <bind
      parameter="task_ver_rel">
      <express_entity
         entity="Task_method_version_relationship"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Task_method_version_relationship"
            attribute="name"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Task_method_version_relationship"
            attribute="description"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Task_method_version_relationship"
            attribute="relating_method"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="relating_task_ver">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Task_method_version_relationship"
            attribute="related_method"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="related_task_ver">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      provide the role of the realization by classifying the Task_method_version_relationship
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="">
      <param_in
         name="items"
         value="^task_ver_rel">
         
      </param_in>
      <param_in
         name="class_name"
         value="@rel_class_name">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="@rel_ecl_id">
         
      </param_in>
   </call_template>
</refpath>

© OASIS 2010 — All rights reserved