Template:— assigning_scheme_version (asg_scm_vn)
Capability:representing_scheme
Date: 2008/06/05 11:30:05
Revision: 1.2

This section specifies the template assigning_scheme_version.

NOTE  The template has been defined in the context of the capability representing_scheme which provides an overall description of the relevant parts of the ISO 10303-239 information model and a description of related templates.

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 Scheme_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_scheme_version". The text highlighted in blue shows the template parameters.


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

Figure 1 —  An EXPRESS-G representation of the Information model for assigning_scheme_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_scheme_version template

Figure 2 —  The graphical representation of the assigning_scheme_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: "Scheme_version_assignment" (urn:plcs:rdl:std:Scheme_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 (scheme_version_select)' )
The target element of the assignment.
assigned_scheme_version (Type= 'ENTITY (Scheme_version)' )
The Scheme_version that is being assigned.
Reference parameters
The following reference parameters are defined for this template:
scm_vn_asg(Type='ENTITY (Scheme_version_assignment)')
Allow the Scheme_version_assignment entity instantiated in this path to be referenced when this template is used.
Note: The Scheme_version_assignment entity can be referenced in a template path by:
%^target = $assigning_scheme_version.scm_vn_asg%
where target is the parameter to which the Scheme_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.
Scheme_version_assignment
%^scm_vn_asg = Scheme_version_assignment%
Scheme_version_assignment.role = '/IGNORE'
Scheme_version_assignment.items -> @item
Scheme_version_assignment.assigned_activity_method -> @assigned_scheme_version

-- Assign the role of the assignment
/assigning_reference_data(
    items=^scm_vn_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
Scheme_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_scheme_version(assignment_role='Scheme_target', role_ecl_id='urn:plcs:rdl:sample', item='#1', assigned_scheme_version='#2')/
(an illustration of the consolidated assigning_scheme_version template is shown in Figure 4 below.)


Figure 3 —  Entities instantiated by assigning_scheme_version template

Figure 3 —  Entities instantiated by assigning_scheme_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_scheme_version(assignment_role='Scheme_target', role_ecl_id='urn:plcs:rdl:sample', item='#1', assigned_scheme_version='#2')/


Figure 4 —  Instantiation of assigning_scheme_version template

Figure 4 —  Instantiation of assigning_scheme_version template

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