Template:— representing_activity_method_realization (rep_act_mthd_real) Date: 2008/03/05 22:15:17
Revision: 1.4

This section specifies the template representing_activity_method_realization.

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 a relationship between an activty method and a detailed description of its realization.

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


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

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

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 representing_activity_method_realization template

Figure 2 —  The graphical representation of the representing_activity_method_realization template

Input parameters
The following input parameters are defined for this template:
act_method (Type= 'ENTITY (Activity_method)' )
The Activity_method for which further specification is being provided.
realized_by (Type= 'SELECT (activity_realization_select)' )
The item that realizes the Activity_method .
class_name (Type='CLASS')
"Activity method realization" (urn:plcs:rdl:std:Activity method realization), or subclass thereof, used to determine the role of the realization relationship.
The following classes and their sub-classes can be used:
classifications: "Activity_method_realization" (urn:plcs:rdl:std:Activity_method_realization)
ecl_id (Default=urn:plcs:rdl:std,Type='URN')
The identifier of the External_class_library storing the definition of the class referenced by the parameter @class_name.
Reference parameters
The following reference parameters are defined for this template:
act_mthd_real(Type='ENTITY (Activity_method_realization)')
Allow the Activity_method_realization entity instantiated in this path to be referenced when this template is used.
Note: The Activity_method_realization entity can be referenced in a template path by:
%^target = $representing_activity_method_realization.act_mthd_real%
where target is the parameter to which the Activity_method_realization 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.
Activity_method_realization

-- Mark the Activity_method_realization entity as
-- referable when this template is used by binding it to the reference
-- parameter act_mthd_real
%^act_mthd_real = Activity_method_realization%
Activity_method_realization.id = '/IGNORE'
Activity_method_realization.name = '/IGNORE'
Activity_method_realization.description = /IGNORE'
Activity_method_realization.activity_method -> @act_method
Activity_method_realization.realized_by -> @realized_by

-- provide the role of the realization by classifying the Activity_method_realization
/assigning_reference_data(
    items=^act_mthd_real,
    class_name=@class_name,
    ecl_id=@ecl_id)/
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Activity_method_realization.id '/IGNORE'
Activity_method_realization.name '/IGNORE'
Activity_method_realization.description /IGNORE'
Instance diagrams
The instance diagram in Figure  3 shows an example of the EXPRESS entities and templates that are instantiated by the template:
/representing_activity_method_realization(act_method='#1', realized_by='#2', class_name='Task_step_realization', ecl_id='urn:plcs:rdl:sample')/
(an illustration of the consolidated representing_activity_method_realization template is shown in Figure 4 below.)


Figure 3 —  Entities instantiated by representing_activity_method_realization template

Figure 3 —  Entities instantiated by representing_activity_method_realization 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:
/representing_activity_method_realization(act_method='#1', realized_by='#2', class_name='Task_step_realization', ecl_id='urn:plcs:rdl:sample')/


Figure 4 —  Instantiation of representing_activity_method_realization template

Figure 4 —  Instantiation of representing_activity_method_realization template

Characterizations
No common characterizations of the template representing_activity_method_realization 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