Template:— swedish_defence_product_reference (sd_prod_ref)
Context:— FMV
Date: 2008/02/05 12:02:41
Revision: 1.4

This section specifies the template swedish_defence_product_reference.

NOTE  The template has been defined in the context of FMV. Refer to the business context for details 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 a Swedish Defence Product Reference (se-mil: Referensbeteckning).

Swedish Defence Product Reference, made up from;

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


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

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

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

Figure 2 —  The graphical representation of the nato_item_of_supply_definition template

Input parameters
The following input parameters are defined for this template:
ref_id (Type='STRING')

The Supplier Product Reference Identification Code as described in [Ritningsnummer]
[warning:]Error RDL4: The URI urn:plcs:rdl:se-mil is not listed in dexlib/data/refdata/rdl_index.xml
.

org_id (Type='STRING')

The Swedish Defence Supplier Organization Identification Code as described in [Firmabokstavskod]
[warning:]Error RDL4: The URI urn:plcs:rdl:se-mil is not listed in dexlib/data/refdata/rdl_index.xml
.

ref_type (Type='STRING')

The Swedish Defence Product Reference Type Code as described in [Referensbeteckningskod]
[warning:]Error RDL4: The URI urn:plcs:rdl:se-mil is not listed in dexlib/data/refdata/rdl_index.xml
.

items (Type= 'SELECT (identification_item)' )

The item to which the Swedish Defence Product Reference (se-mil: Referensbeteckning) is assigned.

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.
-- Instantiate the assigning_identification template representing Supplier Product Reference Identification Code
/assigning_identification(
    items=@items,
    id=@ref_id ,
    id_class_name='Ritningsnummer',
    id_ecl_id='urn:plcs.rdl.se-mil',
    org_id=@org_id,
    org_id_class_name='Firmabokstavskod',
    org_id_ecl_id='urn:plcs.rdl.se-mil')/

-- Bind the Identification_assignment entity instantiated in the template assigning_identification
-- to ^id_asg in this template and assign the Swedish Defence Product Reference Type Code to the identifier
%^id_assgn = $assigning_identification.id_assgn%
/assigning_code(
    class_name=@ref_type,
    code_class_name='Referensbeteckningskod',
    code_ecl_id='rn:plcs.rdl.se-mil',
    items=^id_assgn)/
Instance diagrams
The instance diagram in Figure  3 shows an example of the EXPRESS entities and templates that are instantiated by the template:
/swedish_defence_product_reference(ref_id='A', org_id='B', ref_type='C', items='#1')/
(an illustration of the consolidated swedish_defence_product_reference template is shown in Figure 4 below.)


Figure 3 —  Entities instantiated by swedish_defence_product_reference template

Figure 3 —  Entities instantiated by swedish_defence_product_reference 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:
/swedish_defence_product_reference(ref_id='A', org_id='B', ref_type='C', items='#1')/


Figure 4 —  Instantiation of swedish_defence_product_reference template

Figure 4 —  Instantiation of swedish_defence_product_reference template

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