Template:— swedish_defence_item_of_supply_definition (sd_item_of_supply) Context:— FMV |
Date: 2008/02/05 12:15:06 Revision: 1.10
|
This section specifies the template swedish_defence_item_of_supply_definition.
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.
This template describes how to represent the mandatory identification and classification of an item of supply within the Swedish
defence.
An item of supply within the Swedish Defence has the following mandatory identifications:
-
Swedish Defence Item of Supply Identification Code ([Förrådsbeteckning]
Error RDL4: The URI urn:plcs:rdl:se-mil is not listed in dexlib/data/refdata/rdl_index.xml
);
-
Swedish Defence Item of Supply Short Name ([Förrådsbenämning]
Error RDL4: The URI urn:plcs:rdl:se-mil is not listed in dexlib/data/refdata/rdl_index.xml
).
An item of supply within the Swedish Defence has the following mandatory classifications:
-
Swedish Defence Item of Supply Classification ([Förrådsbeteckningssignal]
Error RDL4: The URI urn:plcs:rdl:se-mil is not listed in dexlib/data/refdata/rdl_index.xml
);
-
Swedish Defence Item of Supply Categorization ([Förnödenhetsslag]
Error RDL4: The URI urn:plcs:rdl:se-mil is not listed in dexlib/data/refdata/rdl_index.xml
).
The EXPRESS-G diagram in
Figure
1
shows the templates and EXPRESS entities that are required
to represent the template
"swedish_defence_item_of_supply_definition".
The text highlighted in blue shows the template parameters.
Figure 1 — A template representation of the Information model for swedish_defence_item_of_supply_definition
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 swedish_defence_item_of_supply_definition template
The following input parameters are defined for this template:
The Swedish Defence Item of Supply Identification Code as described in
[Förrådsbeteckning]
Error RDL4: The URI urn:plcs:rdl:se-mil is not listed in dexlib/data/refdata/rdl_index.xml
.
The Swedish Defence Item of Supply Short Name as described in
[Förrådsbenämning]
Error RDL4: The URI urn:plcs:rdl:se-mil is not listed in dexlib/data/refdata/rdl_index.xml
.
The Swedish Defence Item of Supply Classification as described in
[Förrådsbeteckningssignal]
Error RDL4: The URI urn:plcs:rdl:se-mil is not listed in dexlib/data/refdata/rdl_index.xml
.
NOTE
This classification is represented as codes. Valid codes are limited to fixed set of predefined values.
The Swedish Defence Item of Supply Categorization as described in
[Förnödenhetsslag]
Error RDL4: The URI urn:plcs:rdl:se-mil is not listed in dexlib/data/refdata/rdl_index.xml
.
NOTE
Categories are represented as codes. Valid codes are limited to fixed set of predefined values.
The following reference parameters are defined for this template:
Allow the
Resource_item
entity instantiated in this path to be referenced when this template is used.
Note: The
Resource_item
entity can be referenced in a template path by:
%^target = $swedish_defence_item_of_supply_definition.resource_id%
where
target
is the parameter to which the
Resource_item
is bound.
The following parameter combinations specify a uniqueness constraint:
Unique constraint: Unique Item of Supply
Each instance of the
entity
(
Resource_item)
within the data set shall be uniquely identified
by the following parameters on this
template (swedish_defence_item_of_supply_definition) namely:
id.
The
instance is
referenced by the following template parameter:
resource_id.
This rule means that there can be only one Item of Supply
(
Resource_item )
with any given Förrådsbeteckning.
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.
Resource_item-- Mark the Resource_item entity as -- referable when this template is used by binding it to the reference -- parameter resource_id %^resource_id =
Resource_item%
Resource_item.name = '/IGNORE'
Resource_item.description = '/IGNORE'
-- Assign the Swedish Defence Item of Supply Identification Code to the Resource_item representing the item of supply /
assigning_identification(
id=@id,
id_class_name='Förrådsbeteckning',
id_ecl_id='urn:plcs:rdl:se-mil',
org_id='FMV',
org_id_class_name='Organization_name',
org_id_ecl_id='urn:plcs:rdl:std',
items=^resource_id )/
-- Assign the Swedish Defence Item of Supply Short Name to the Resource_item representing the item of supply /
assigning_identification(
id=@name,
id_class_name='Förrådsbenämning',
id_ecl_id='urn:plcs:rdl:se-mil',
org_id='FMV',
org_id_class_name='Organization_name',
org_id_ecl_id='urn:plcs:rdl:std',
items= ^resource_id )/
-- Assign the Swedish Defence Item of Supply Classification to the Resource_item representing the item of supply /
assigning_code(
class_name=@class,
code_class_name='Förrådsbeteckningssignal',
code_ecl_id='urn:plcs:rdl:se-mil',
items=^resource_id)/
-- Assign the Swedish Defence Item of Supply Category to the Resource_item representing the item of supply /
assigning_code(
class_name=@category,
code_class_name='Förnödenhetsslag',
code_ecl_id='urn:plcs:rdl:se-mil',
items=^resource_id)/
The following entities are instantiated with attributes as specified:
The instance diagram in Figure
3
shows an example of the EXPRESS entities and templates that are instantiated by the template:
/swedish_defence_item_of_supply_definition(id='A', name='B', class='C', category='D')/
(an illustration of the consolidated swedish_defence_item_of_supply_definition template is shown in
Figure
4 below.)
Figure 3 — Entities instantiated by swedish_defence_item_of_supply_definition 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_item_of_supply_definition(id='A', name='B', class='C', category='D')/
Figure 4 — Instantiation of swedish_defence_item_of_supply_definition template
Characterizations
No common characterizations of the template
swedish_defence_item_of_supply_definition
have been identified. However, the ISO 10303-239 EXPRESS model
may enable other assignments to the entities instantiated by the template.