Template:— assigning_justification_support_item (asg_just_support) Date: 2008/02/15 07:41:23
Revision: 1.12
Template: assigning_justification_support_item

XML references to the Template

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

assigning_justification_support_item

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="" name="assigning_justification_support_item" capability="representing_justification">
  <param name="support_item_role">
    <param_value>Justification_support_assignment_role</param_value>
    <description></description>
  </param>
  <param name="role_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
  <param name="justification">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="just_supp_item">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="assigning_justification_support_item">
  <param_in name="support_item_role" value="Justification_support_assignment_role"/>
  <param_in name="role_ecl_id" value="urn:plcs:rdl:std"/>
  <param_in name="justification" value=""/>
  <param_in name="just_supp_item" value=""/>
</template_example>

assigning_justification_support_item
/assigning_justification_support_item(support_item_role='Justification_support_assignment_role', role_ecl_id='urn:plcs:rdl:std', justification='', just_supp_item='')/

Path

-- Mark the Justification_support_assignment entity as
-- referable when this template is used by binding it to the reference
-- parameter just_supp_assgn
%^just_supp_asgn = Justification_support_assignment%
Justification_support_assignment.description = '/IGNORE'
Justification_support_assignment.role = '/IGNORE'
Justification_support_assignment.justification -> @justification
Justification_support_assignment.support_item -> @just_supp_item

-- provide the role of the assignment by classifying the Justification_support_assignment
/assigning_reference_data(
    items=^just_supp_asgn,
    class_name=@support_item_role,
    ecl_id=@role_ecl_id)/
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Justification_support_assignment.description '/IGNORE'
Justification_support_assignment.role '/IGNORE'

XML representation of path

<refpath
   template="assigning_justification_support_item">
   <comment>
      Mark the Justification_support_assignment entity as
   </comment>
   <comment>
      referable when this template is used by binding it to the reference
   </comment>
   <comment>
      parameter just_supp_assgn
   </comment>
   <bind
      parameter="just_supp_asgn">
      <express_entity
         entity="Justification_support_assignment"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Justification_support_assignment"
            attribute="description"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Justification_support_assignment"
            attribute="role"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Justification_support_assignment"
            attribute="justification"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="justification">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Justification_support_assignment"
            attribute="support_item"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="just_supp_item">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      provide the role of the assignment by classifying the Justification_support_assignment
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="">
      <param_in
         name="items"
         value="^just_supp_asgn">
         
      </param_in>
      <param_in
         name="class_name"
         value="@support_item_role">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="@role_ecl_id">
         
      </param_in>
   </call_template>
</refpath>

© OASIS 2010 — All rights reserved