Template:— representing_task_method_state_relationship (rep_task_state_rel)
Capability:representing_task
Date: 2011/05/20 09:01:08
Revision: 1.2
Template: representing_task_method_state_relationship

XML references to the Template

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

representing_task_method_state_relationship

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="" name="representing_task_method_state_relationship" capability="representing_task">
  <param name="rel_type">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="rel_type_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
  <param name="task_method">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="state">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="representing_task_method_state_relationship">
  <param_in name="rel_type" value=""/>
  <param_in name="rel_type_ecl_id" value="urn:plcs:rdl:std"/>
  <param_in name="task_method" value=""/>
  <param_in name="state" value=""/>
</template_example>

representing_task_method_state_relationship
/representing_task_method_state_relationship(rel_type='', rel_type_ecl_id='urn:plcs:rdl:std', task_method='', state='')/

Path

Task_method_state_relationship
%^task_method_state_rel = Task_method_state_relationship%
Task_method_state_relationship.task_method -> @task_method
Task_element_state_relationship.state -> @state

-- provide the role of the relationship by classifying it
/assigning_reference_data(
    items=^task_method_state_rel,
    class_name=@rel_type,
    ecl_id=@rel_type_ecl_id)/

XML representation of path

<refpath
   template="representing_task_method_state_relationship">
   <instantiate
      entity="Task_method_state_relationship"
      context="">
      
   </instantiate>
   <bind
      parameter="task_method_state_rel">
      <express_entity
         entity="Task_method_state_relationship"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Task_method_state_relationship"
            attribute="task_method"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="task_method">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Task_element_state_relationship"
            attribute="state"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="state">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      provide the role of the relationship by classifying it
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="">
      <param_in
         name="items"
         value="^task_method_state_rel">
         
      </param_in>
      <param_in
         name="class_name"
         value="@rel_type">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="@rel_type_ecl_id">
         
      </param_in>
   </call_template>
</refpath>

© OASIS 2010 — All rights reserved