Template:— ad_representing_subtask_acceptance_parameter (ad_rep_subt_accpt_param)
Context:— Aerospace_and_Defense
Date: 2011/04/20 15:36:49
Revision: 1.2
Template: ad_representing_subtask_acceptance_parameter

XML references to the Template

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

ad_representing_subtask_acceptance_parameter

Set up a hyperlink to the template definition.
<template_ref name="ad_representing_subtask_acceptance_parameter" context="Aerospace_and_Defense" />

Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="ad_representing_subtask_acceptance_parameter" context="Aerospace_and_Defense" >
  <param name="description">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="parameter">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="ad_representing_subtask_acceptance_parameter">
  <param_in name="description" value=""/>
  <param_in name="parameter" value=""/>
</template_example>

ad_representing_subtask_acceptance_parameter
/ad_representing_subtask_acceptance_parameter(description='', parameter='')/

Path

Condition
%^cond = Condition%
Condition.name = '/IGNORE'
Condition.description = '/IGNORE'
/assigning_reference_data(
    items=^cond,
    class_name='Decision_condition',
    ecl_id='urn:plcs:rdl:ad')/
Condition_parameter
%^cond_param = Condition_parameter%
Condition_parameter.name = '/IGNORE'
Condition_parameter.description = '/IGNORE'
Condition_parameter.parameter -> @parameter
Condition_parameter.condition -> ^cond
/assigning_reference_data(
    items=^cond_param,
    class_name='Property_value_condition_parameter',
    ecl_id='urn:plcs:rdl:ad')/
Decision_point
%^decision = Decision_point%
Decision_point.name = '/IGNORE'
Decision_point.description = '/IGNORE'
Decision_point.consequence = '/IGNORE'
Decision_point.purpose = '/IGNORE'
Decision_point.condition -> Condition
/assigning_descriptor(
    descr= @description,
    class_name='Description',
    ecl_id='urn:plcs:std:std',
    is_assigned_to= ^decision)/
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Condition.name '/IGNORE'
Condition.description '/IGNORE'
Condition_parameter.name '/IGNORE'
Condition_parameter.description '/IGNORE'
Decision_point.name '/IGNORE' Activity_method.name
Decision_point.description '/IGNORE' Activity_method.description
Decision_point.consequence '/IGNORE' Activity_method.consequence
Decision_point.purpose '/IGNORE' Activity_method.purpose

XML representation of path

<refpath
   template="ad_representing_subtask_acceptance_parameter">
   <instantiate
      entity="Condition"
      context="Aerospace_and_Defense">
      
   </instantiate>
   <bind
      parameter="cond">
      <express_entity
         entity="Condition"
         context="Aerospace_and_Defense">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="Aerospace_and_Defense">
      <target>
         <express_attribute
            entity="Condition"
            attribute="name"
            context="Aerospace_and_Defense">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="Aerospace_and_Defense">
      <target>
         <express_attribute
            entity="Condition"
            attribute="description"
            context="Aerospace_and_Defense">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <call_template
      name="assigning_reference_data"
      business_context="Aerospace_and_Defense">
      <param_in
         name="items"
         value="^cond">
         
      </param_in>
      <param_in
         name="class_name"
         value="'Decision_condition'">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:ad'">
         
      </param_in>
   </call_template>
   <instantiate
      entity="Condition_parameter"
      context="Aerospace_and_Defense">
      
   </instantiate>
   <bind
      parameter="cond_param">
      <express_entity
         entity="Condition_parameter"
         context="Aerospace_and_Defense">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="Aerospace_and_Defense">
      <target>
         <express_attribute
            entity="Condition_parameter"
            attribute="name"
            context="Aerospace_and_Defense">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="Aerospace_and_Defense">
      <target>
         <express_attribute
            entity="Condition_parameter"
            attribute="description"
            context="Aerospace_and_Defense">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Condition_parameter"
            attribute="parameter"
            context="Aerospace_and_Defense">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="parameter">
            
         </param_in_ref>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Condition_parameter"
            attribute="condition"
            context="Aerospace_and_Defense">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="cond">
            
         </bound_parameter>
      </source>
   </assign>
   <call_template
      name="assigning_reference_data"
      business_context="Aerospace_and_Defense">
      <param_in
         name="items"
         value="^cond_param">
         
      </param_in>
      <param_in
         name="class_name"
         value="'Property_value_condition_parameter'">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:ad'">
         
      </param_in>
   </call_template>
   <instantiate
      entity="Decision_point"
      context="Aerospace_and_Defense">
      
   </instantiate>
   <bind
      parameter="decision">
      <express_entity
         entity="Decision_point"
         context="Aerospace_and_Defense">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="Aerospace_and_Defense">
      <target>
         <express_attribute
            entity="Decision_point"
            attribute="name"
            context="Aerospace_and_Defense">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="Aerospace_and_Defense">
      <target>
         <express_attribute
            entity="Decision_point"
            attribute="description"
            context="Aerospace_and_Defense">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="Aerospace_and_Defense">
      <target>
         <express_attribute
            entity="Decision_point"
            attribute="consequence"
            context="Aerospace_and_Defense">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="Aerospace_and_Defense">
      <target>
         <express_attribute
            entity="Decision_point"
            attribute="purpose"
            context="Aerospace_and_Defense">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Decision_point"
            attribute="condition"
            context="Aerospace_and_Defense">
            
         </express_attribute>
      </target>
      <source>
         <express_entity
            entity="Condition"
            context="Aerospace_and_Defense">
            
         </express_entity>
      </source>
   </assign>
   <call_template
      name="assigning_descriptor"
      business_context="Aerospace_and_Defense">
      <param_in
         name="descr"
         value=" @description">
         
      </param_in>
      <param_in
         name="class_name"
         value="'Description'">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:std:std'">
         
      </param_in>
      <param_in
         name="is_assigned_to"
         value=" ^decision">
         
      </param_in>
   </call_template>
</refpath>

© OASIS 2010 — All rights reserved