Template:— representing_document_without_view (rep_doc_wout_view)
Context:— NDLO
Date: 2007/09/28 12:44:03
Revision: 1.2

This section specifies the template representing_document_without_view.

NOTE  The template has been defined in the context of NDLO. 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 document without a document view definition.

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


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

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

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

Figure 2 —  The graphical representation of the representing_document_without_view template

Input parameters
The following input parameters are defined for this template:
doc_id (Type='STRING')
The identifier of the document
doc_id_class_name (Default=Document_identification_code,Type='CLASS', Optional)
The id of the External_class_library that stores the class used to classify the type of identifier
The following classes and their sub-classes can be used:
classifications: "Document_identification_code" (urn:plcs:rdl:std:Document_identification_code), "Document_name" (urn:plcs:rdl:std:Document_name), "Document_number" (urn:plcs:rdl:std:Document_number)
doc_id_ecl_id (Default=urn:plcs:rdl:std,Type='URN', Optional)
The location of the External_class_library that stores the classifications used to classify the document, document_version and document_definition.
doc_org_id (Type='STRING')
The name or identifier of the organization responsible for the document representation
doc_org_id_class_name (Default=Organization_name,Type='CLASS', Optional)
The name of the class being used to classify the identification (Identification_assignment) of the organization responsible for creating the document representation
The following classes and their sub-classes can be used:
classifications: "Organization_identification_code" (urn:plcs:rdl:std:Organization_identification_code), "Organization_name" (urn:plcs:rdl:std:Organization_name)
doc_org_id_ecl_id (Default=urn:plcs:rdl:std,Type='URN', Optional)
The identifier of the External_class_library storing the definition of the class used to classify the organization identifier.
doc_ver_id (Type='STRING')
The version identifier of the document version
doc_ver_id_class_name (Default=Version_identification_code,Type='CLASS', Optional)
The id of the External_class_library that stores the class used to classify the type of identifier
The following classes and their sub-classes can be used:
classifications: "Version_identification_code" (urn:plcs:rdl:std:Version_identification_code)
doc_ver_id_ecl_id (Default=urn:plcs:rdl:std,Type='URN', Optional)
The location of the External_class_library that stores the classifications used to classify the document, document_version and document_definition.
doc_ver_org_id (Type='STRING')
The name or identifier of the organization responsible for the document representation
doc_ver_org_id_class_name (Default=Organization_name,Type='CLASS', Optional)
The name of the class being used to classify the identification (Identification_assignment) of the organization responsible for the document representation
The following classes and their sub-classes can be used:
classifications: "Organization_identification_code" (urn:plcs:rdl:std:Organization_identification_code), "Organization_name" (urn:plcs:rdl:std:Organization_name)
doc_ver_org_id_ecl_id (Default=urn:plcs:rdl:std,Type='URN', Optional)
The identifier of the External_class_library storing the definition of the class used to classify the organization identifier.
Reference parameters
The following reference parameters are defined for this template:
doc(Type='ENTITY (Document)')
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 = $representing_document_without_view.doc%
where target is the parameter to which the Document is bound.
doc_ver(Type='ENTITY (Document_version)')
Allow the Document_version entity instantiated in this path to be referenced when this template is used.
Note: The Document_version entity can be referenced in a template path by:
%^target = $representing_document_without_view.doc_ver%
where target is the parameter to which the Document_version 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.
Document

-- Mark the Document entity as
-- referable when this template is used by binding it to the reference
-- parameter id_assgn
%^doc = Document%
^doc.id = '/IGNORE'
^doc.name = '/IGNORE'
^doc.description = '/IGNORE'

-- Identify the Document
/assigning_identification(
    items=^doc,
    id=@doc_id,
    id_class_name=@doc_id_class_name,
    id_ecl_id=@doc_id_ecl_id,
    org_id=@doc_org_id,
    org_id_class_name=@doc_org_id_class_name,
    org_id_ecl_id=@doc_org_id_ecl_id )/
Document_version

-- Mark the Document_version entity as
-- referable when this template is used by binding it to the reference
-- parameter ^doc_ver
%^doc_ver = Document_version%
^doc_ver.id = '/IGNORE'
^doc_ver.description = '/IGNORE'

-- Identify the Document_version
/assigning_identification(
    items=^doc_ver,
    id=@doc_ver_id,
    id_class_name=@doc_ver_id_class_name,
    id_ecl_id=@doc_ver_id_ecl_id,
    org_id=@doc_ver_org_id,
    org_id_class_name=@doc_ver_org_id_class_name,
    org_id_ecl_id=@doc_ver_org_id_ecl_id )/

-- Relate the document_version to the document
^doc_ver.of_product -> ^doc
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Document.id '/IGNORE' Product.id
Document.name '/IGNORE' Product.name
Document.description '/IGNORE' Product.description
Document_version.id '/IGNORE' Product_version.id
Document_version.description '/IGNORE' Product_version.description
Instance diagrams
The instance diagram in Figure  3 shows an example of the EXPRESS entities and templates that are instantiated by the template:
/representing_document_without_view(doc_id='....', doc_id_class_name='Document_identification_code', doc_id_ecl_id='urn:plcs:rdl:std', doc_org_id='...', doc_org_id_class_name='Organization_name', doc_org_id_ecl_id='urn:plcs:rdl:std', doc_ver_id='...', doc_ver_id_class_name='Version_identification_code', doc_ver_id_ecl_id='urn:plcs:rdl:std', doc_ver_org_id='... ', doc_ver_org_id_class_name='Organization_name', doc_ver_org_id_ecl_id='urn:plcs:rdl:std')/
(an illustration of the consolidated representing_document_without_view template is shown in Figure 4 below.)


Figure 3 —  Entities instantiated by representing_document_without_view template

Figure 3 —  Entities instantiated by representing_document_without_view 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_document_without_view(doc_id='....', doc_id_class_name='Document_identification_code', doc_id_ecl_id='urn:plcs:rdl:std', doc_org_id='...', doc_org_id_class_name='Organization_name', doc_org_id_ecl_id='urn:plcs:rdl:std', doc_ver_id='...', doc_ver_id_class_name='Version_identification_code', doc_ver_id_ecl_id='urn:plcs:rdl:std', doc_ver_org_id='... ', doc_ver_org_id_class_name='Organization_name', doc_ver_org_id_ecl_id='urn:plcs:rdl:std')/


Figure 4 —  Instantiation of representing_document_without_view template

Figure 4 —  Instantiation of representing_document_without_view template

Characterizations
The following section details how the representing_document_without_view template can be optionally characterized by assigning other constructs to it. These are characterizations commonly applied to the template. The ISO 10303-239 EXPRESS model may enable other assignments to the entities instantiated by the template.
The following characterizations may apply:
Characterization Assigning classifications

NOTE   this characterization is optional.

Document may be classified to provide further semantics to the data.

The classification of a document is represented using the template assigning_reference_data to assign a class to a Document.

© OASIS 2010 — All rights reserved