Template:— swedish_defence_assigning_document_reference (sd_asg_doc_ref) Context:— FMV |
Date: 2008/02/21 16:26:08 Revision: 1.2
|
This section specifies the template swedish_defence_assigning_document_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.
This template describes how to represent a reference to a document, without any version identification.
The EXPRESS-G diagram in
Figure
1
shows the templates and EXPRESS entities that are required
to represent the template
"swedish_defence_assigning_document_reference".
The text highlighted in blue shows the template parameters.
Figure 1 — An EXPRESS-G representation of the Information model for swedish_defence_assigning_document_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 swedish_defence_assigning_document_reference template
The following input parameters are defined for this template:
The identifier for the document being referenced.
The name of the class used to classify the document identifier.
The following classes and their sub-classes can be used:
id_ecl_id (Default=urn:plcs:rdl:std,Type='URN')
The identifier of the organization that
"owns" the document identifier.
The name of the class being used to classify the
identification of the organization. For example CAGE code.
The following classes and their sub-classes can be used:
The following classes and their sub-classes can be used:
The items to which the document is assigned
The following reference parameters are defined for this template:
Allow the
Document
entity instantiated in this path to be referenced when this template is used.
Note: The
Document
entity can be referenced in a template path by:
%^target = $swedish_defence_assigning_document_reference.doc%
where
target
is the parameter to which the
Document
is bound.
Allow the
Document_assignment
entity instantiated in this path to be referenced when this template is used.
%^target = $swedish_defence_assigning_document_reference.doc_asg%
The following parameter combinations specify a uniqueness constraint:
Unique constraint: Unique document
This rule means that there can be only one document
(
Document)
with any given identifier.
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.
Document-- Mark the Document entity as -- referable when this template is used by binding it to the reference -- parameter doc %^doc =
Document%
Document.id = '/IGNORE'
Document.name = '/IGNORE'
Document.description = '/IGNORE'
-- assign the identification to the Document /
assigning_identification(
items=^doc,
id=@id,
id_class_name=@id_class_name,
id_ecl_id=@id_ecl_id,
org_id=@org_id,
org_id_class_name=@org_id_class_name,
org_id_ecl_id=@org_id_ecl_id)/
-- assign the referenced document to the entity given by the -- input parameter @is_assigned_to -- and classify it as 'Document_reference' or subtype thereof /
assigning_document(
assigned_document=^doc,
is_assigned_to=@is_assigned_to,
doc_ass_role=@doc_asg_class_name,
doc_ar_ecl_id=@doc_asg_ecl_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_assigning_document_reference(id='BICYCLEXXXAAA-AAA-DA1-00-00-0000-341A-A', id_class_name='Data_module_code', id_ecl_id='urn:plcs:rdl:sample', org_id='FMV', org_id_class_name='Organization_name', org_id_ecl_id='urn:plcs:rdl:std', doc_asg_class_name='Document_reference', doc_asg_ecl_id='urn:plcs:rdl:std', is_assigned_to='#1')/
(an illustration of the consolidated swedish_defence_assigning_document_reference template is shown in
Figure
4 below.)
Figure 3 — Entities instantiated by swedish_defence_assigning_document_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_assigning_document_reference(id='BICYCLEXXXAAA-AAA-DA1-00-00-0000-341A-A', id_class_name='Data_module_code', id_ecl_id='urn:plcs:rdl:sample', org_id='FMV', org_id_class_name='Organization_name', org_id_ecl_id='urn:plcs:rdl:std', doc_asg_class_name='Document_reference', doc_asg_ecl_id='urn:plcs:rdl:std', is_assigned_to='#1')/
Figure 4 — Instantiation of swedish_defence_assigning_document_reference template
Characterizations
No common characterizations of the template
swedish_defence_assigning_document_reference
have been identified. However, the ISO 10303-239 EXPRESS model
may enable other assignments to the entities instantiated by the template.