-- 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
<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">
</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> </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">
</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">