Template:— assigning_task_method_version (asg_task_mv) Date: 2009/04/07 21:57:51
Revision: 1.9

This section specifies the template assigning_task_method_version.

NOTE  An explanation of a template and the associated instantiation path is provided in the Template overview section.

Description

This template describes how to represent an assignment relationship between a Task_method_version and the assignment target.

Model diagrams
The EXPRESS-G diagram in Figure 1 shows the templates and EXPRESS entities that are required to represent the template "assigning_task_method_version". The text highlighted in blue shows the template parameters.

The diagram shows the use of a Task_method_version_assignment to link a Task_method_version to the target in the role given by the reference data.



Figure 1 —  An EXPRESS-G representation of the Information model for assigning_task_method_version

Figure 1 —  An EXPRESS-G representation of the Information model for assigning_task_method_version

The graphic for the template to be used in other EXPRESS-G diagrams is shown in Figure  2 below.


Figure 2 —  The graphical representation of the assigning_task_method_version template

Figure 2 —  The graphical representation of the assigning_task_method_version template

Input parameters
The following input parameters are defined for this template:
assignment_role (Type='CLASS')
The role of the assignment.
The following classes and their sub-classes can be used:
classifications: "Task_method_version_assignment" (urn:plcs:rdl:std:Task_method_version_assignment)
role_ecl_id (Default=urn:plcs:rdl:std,Type='URN')
The External_class_library storing the definition of the class referenced by the parameter @assignment_role
item (Type= 'SELECT (task_item)' )
The target element of the assignment.
task_method_version (Type= 'ENTITY (Task_method_version)' )
The Task_method_version that is assigned.
Reference parameters
The following reference parameters are defined for this template:
task_mv_asg(Type='ENTITY (Task_method_version_assignment)')
Allow the Task_method_version_assignment entity instantiated in this path to be referenced when this template is used.
Note: The Task_method_version_assignment entity can be referenced in a template path by:
%^target = $assigning_task_method_version.task_mv_asg%
where target is the parameter to which the Task_method_version_assignment is bound.
Instantiation path
The instantiation path shown below specifies the entities that are to be instantiated by the template.
A description of templates and the syntax for the instantiation path is provided in the Templates Help/Information section.
Task_method_version_assignment
%^task_mv_asg = Task_method_version_assignment%
Task_method_version_assignment.role = '/IGNORE'
Task_method_version_assignment.items -> @item
Task_method_version_assignment.assigned_activity_method -> @task_method_version

-- Assign the role of the assignment
/assigning_reference_data(
    items=^task_mv_asg,
    class_name=@assignment_role,
    ecl_id=@role_ecl_id)/
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Task_method_version_assignment.role '/IGNORE' Applied_activity_method_assignment.role
Instance diagrams
The instance diagram in Figure  3 shows an example of the EXPRESS entities and templates that are instantiated by the template:
/assigning_task_method_version(assignment_role='Task_affected_item', role_ecl_id='urn:plcs:rdl:sample', item='#1', task_method_version='#2')/
(an illustration of the consolidated assigning_task_method_version template is shown in Figure 4 below.)


Figure 3 —  Entities instantiated by assigning_task_method_version template

Figure 3 —  Entities instantiated by assigning_task_method_version template

The instance diagram in Figure 4 shows the graphic symbol for the template that is to be used in other instance diagrams. The example template is:
/assigning_task_method_version(assignment_role='Task_affected_item', role_ecl_id='urn:plcs:rdl:sample', item='#1', task_method_version='#2')/


Figure 4 —  Instantiation of assigning_task_method_version template

Figure 4 —  Instantiation of assigning_task_method_version template

Characterizations
No common characterizations of the template assigning_task_method_version have been identified. However, the ISO 10303-239 EXPRESS model may enable other assignments to the entities instantiated by the template.

© OASIS 2010 — All rights reserved