Template:— representing_activity_method_realization (rep_act_mthd_real) Date: 2008/03/05 22:15:17
Revision: 1.4
Template: representing_activity_method_realization

XML references to the Template

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

representing_activity_method_realization

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="" name="representing_activity_method_realization" capability="representing_activity">
  <param name="act_method">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="realized_by">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="class_name">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="representing_activity_method_realization">
  <param_in name="act_method" value=""/>
  <param_in name="realized_by" value=""/>
  <param_in name="class_name" value=""/>
  <param_in name="ecl_id" value="urn:plcs:rdl:std"/>
</template_example>

representing_activity_method_realization
/representing_activity_method_realization(act_method='', realized_by='', class_name='', ecl_id='urn:plcs:rdl:std')/

Path

Activity_method_realization

-- Mark the Activity_method_realization entity as
-- referable when this template is used by binding it to the reference
-- parameter act_mthd_real
%^act_mthd_real = Activity_method_realization%
Activity_method_realization.id = '/IGNORE'
Activity_method_realization.name = '/IGNORE'
Activity_method_realization.description = /IGNORE'
Activity_method_realization.activity_method -> @act_method
Activity_method_realization.realized_by -> @realized_by

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

XML representation of path

<refpath
   template="representing_activity_method_realization">
   <instantiate
      entity="Activity_method_realization"
      context="">
      
   </instantiate>
   <comment>
      Mark the Activity_method_realization entity as
   </comment>
   <comment>
      referable when this template is used by binding it to the reference
   </comment>
   <comment>
      parameter act_mthd_real
   </comment>
   <bind
      parameter="act_mthd_real">
      <express_entity
         entity="Activity_method_realization"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Activity_method_realization"
            attribute="id"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Activity_method_realization"
            attribute="name"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Activity_method_realization"
            attribute="description"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" /IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Activity_method_realization"
            attribute="activity_method"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="act_method">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Activity_method_realization"
            attribute="realized_by"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="realized_by">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      provide the role of the realization by classifying the Activity_method_realization
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="">
      <param_in
         name="items"
         value="^act_mthd_real">
         
      </param_in>
      <param_in
         name="class_name"
         value="@class_name">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="@ecl_id">
         
      </param_in>
   </call_template>
</refpath>

© OASIS 2010 — All rights reserved