Template:— representing_serial_effectivity (rep_serial_eff) Date: 2008/03/05 18:28:10
Revision: 1.2
Template: representing_serial_effectivity

XML references to the Template

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

representing_serial_effectivity

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="" name="representing_serial_effectivity" capability="assigning_effectivity">
  <param name="start_id">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="end_id">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="representing_serial_effectivity">
  <param_in name="start_id" value=""/>
  <param_in name="end_id" value=""/>
</template_example>

representing_serial_effectivity
/representing_serial_effectivity(start_id='', end_id='')/

Path

Serial_effectivity

-- Mark the Serial_effectivity entity as
-- referable when this template is used by binding it to the reference
-- parameter serial_eff
%^serial_eff = Serial_effectivity%
Serial_effectivity.id = '/IGNORE'
Serial_effectivity.name = '/IGNORE'
Serial_effectivity.description = '/IGNORE'
Serial_effectivity.start_id = @start_id
Serial_effectivity.end_id = @end_id
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Serial_effectivity.id '/IGNORE' Effectivity.id
Serial_effectivity.name '/IGNORE' Effectivity.name
Serial_effectivity.description '/IGNORE' Effectivity.description
Serial_effectivity.start_id @start_id
Serial_effectivity.end_id @end_id

XML representation of path

<refpath
   template="representing_serial_effectivity">
   <instantiate
      entity="Serial_effectivity"
      context="">
      
   </instantiate>
   <comment>
      Mark the Serial_effectivity entity as
   </comment>
   <comment>
      referable when this template is used by binding it to the reference
   </comment>
   <comment>
      parameter serial_eff
   </comment>
   <bind
      parameter="serial_eff">
      <express_entity
         entity="Serial_effectivity"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Serial_effectivity"
            attribute="id"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Serial_effectivity"
            attribute="name"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Serial_effectivity"
            attribute="description"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Serial_effectivity"
            attribute="start_id"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="start_id">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Serial_effectivity"
            attribute="end_id"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="end_id">
            
         </param_in_ref>
      </source>
   </assign>
</refpath>

© OASIS 2010 — All rights reserved