Template:— assigning_activity (asg_act)
Capability: representing_activity
Date: 2007/06/22 15:13:50
Revision: 1.11
Template: assigning_activity

Path

-- Instantiate an Applied_activity_assignment
Applied_activity_assignment

-- Set the Applied_activity_assignment attribute role to be ignored
Applied_activity_assignment.role = '/IGNORE'

-- Assign reference data for role of Applied_activity_assignment
/assigning_reference_data(
    items=Applied_activity_assignment,
    class_name=@role_class_name,
    ecl_id=@role_ecl_id)/

-- Assign the Applied_activity_assignment to the
-- to the instances passed into the template through the @items
-- input parameter (e.g. a Product_as_realized)
Applied_activity_assignment.items -> @items

-- Assign the Applied_activity_assignment to the
-- to the Activity passed into the template through the @assigned_activity
-- input parameter (e.g. a Product_as_individual_view)
Applied_activity_assignment.assigned_activity -> @assigned_activity
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Applied_activity_assignment.role '/IGNORE'

XML representation of path

<refpath
   template="assigning_activity">
   <comment>
      Instantiate an Applied_activity_assignment
   </comment>
   <instantiate
      entity="Applied_activity_assignment">
      
   </instantiate>
   <comment>
      Set the Applied_activity_assignment attribute role to be ignored
   </comment>
   <assign
      assignment_type="equals">
      <target>
         <express_attribute
            entity="Applied_activity_assignment"
            attribute="role">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <comment>
      Assign reference data for role of Applied_activity_assignment
   </comment>
   <call_template
      name="assigning_reference_data">
      <param_in
         name="items"
         value="Applied_activity_assignment">
         
      </param_in>
      <param_in
         name="class_name"
         value="@role_class_name">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="@role_ecl_id">
         
      </param_in>
   </call_template>
   <comment>
      Assign the Applied_activity_assignment to the
   </comment>
   <comment>
      to the instances passed into the template through the @items
   </comment>
   <comment>
      input parameter (e.g. a Product_as_realized)
   </comment>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Applied_activity_assignment"
            attribute="items">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="items">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      Assign the Applied_activity_assignment to the
   </comment>
   <comment>
      to the Activity passed into the template through the @assigned_activity
   </comment>
   <comment>
      input parameter (e.g. a Product_as_individual_view)
   </comment>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Applied_activity_assignment"
            attribute="assigned_activity">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="assigned_activity">
            
         </param_in_ref>
      </source>
   </assign>
</refpath>