Template:— representing_product_location (rep_prod_loc)
Context:— NDLO
Date: 2005/08/15 08:20:35 :
Revision: 1.2

This section specifies the template representing_product_location.

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 the representation of a Product_based_location_identification which can be used to determine a location within a product structure. In a simple environment, an example could be "the port outer engine". More complex allocations require a reference to the product breakdown structure, including version information, to ensure an unambiguous definition.
Model diagrams
The EXPRESS-G diagram in Figure 1 shows the templates and EXPRESS entities that are required to represent the template "representing_product_location". The text highlighted in blue shows the template parameters.
...


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

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

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

Figure 2 —  The graphical representation of the representing_product_location template

Input parameters
The following input parameters are defined for this template:
prod_loc_id (Type='STRING')
The id of the product based location identification.
prod_loc_id_class_name (Type='CLASS')
The name of the class being used to classify the identification of (Product_based_location_identification). .
The following classes and their sub-classes can be used:
classifications: "Product_based_location_identification" (urn:plcs:rdl:std:Product_based_location_identification), [Part_location_name]
[warning:]Error RDL1: The class Part_location_name does not exist in RDL at urn urn:plcs:rdl:std. Check the dexlib/data/refdata/rdl_index.xml
prod_loc_id_ecl_id (Default=urn:plcs:rdl:std,Type='URN', Optional)
The identifier of the External_class_library storing the definition of the class referenced by the parameter @prod_loc_id_class_name.
prod_loc_class_name (Type='CLASS')
The type of the production location.
The following classes and their sub-classes can be used:
classifications: "Location_assignment" (urn:plcs:rdl:std:Location_assignment)
prod_loc_ecl_id (Default=urn:plcs:rdl:std,Type='URN', Optional)
The identifier of the External_class_library storing the definition of the class referenced by the parameter @prod_loc_class.
referenced_product (Default=Product,Type= 'SELECT (product_based_location_representation)' )
The Product or Product_version used to represent the product to be associated with the location.
Reference parameters
The following reference parameters are defined for this template:
prod_bas_loc_id(Type='ENTITY (Product_based_location_identification)')
Allow the Product_based_location_identification entity instantiated in this path to be referenced when this template is used.
Note: The Product_based_location_identification entity can be referenced in a template path by:
%^target = $representing_product_location.prod_bas_loc_id%
where target is the parameter to which the Product_based_location_identification 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.
Product_based_location_identification

-- The parameter is a reference parameter so the Product_based_location_identification
-- entity can be referred to when this template is used.
%^prod_bas_loc_id = Product_based_location_identification%

-- Set the attribute values
^prod_bas_loc_id.location_identification = '/IGNORE'
^prod_bas_loc_id.location_name = '/IGNORE'

-- Assign identifier to Product_based_location_identification
/assigning_identification_with_no_organization(
    items=^prod_bas_loc_id,
    id=@prod_loc_id,
    id_class_name=@prod_loc_id_class_name,
    id_ecl_id=@prod_loc_id_ecl_id)/

-- Assign type of location to Product_based_location_identification
/assigning_reference_data(
    items=^prod_bas_loc_id,
    class_name=@prod_loc_class_name,
    ecl_id=@prod_loc_ecl_id)/

-- Assign the Product_based_location_identification
-- to the instances passed into the template through the @referenced_product
-- input parameter (e.g. a Part_view_definition, Breakdown_element)
^prod_bas_loc_id.referenced_product -> @referenced_product
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Product_based_location_identification.location_identification '/IGNORE'
Product_based_location_identification.location_name '/IGNORE'
Instance diagrams
The instance diagram in Figure  3 shows an example of the EXPRESS entities and templates that are instantiated by the template:
/representing_product_location(items='#1')/
(an illustration of the consolidated representing_product_location template is shown in Figure 4 below.)


Figure 3 —  Entities instantiated by representing_product_location template

Figure 3 —  Entities instantiated by representing_product_location 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_product_location(items='#1')/


Figure 4 —  Instantiation of representing_product_location template

Figure 4 —  Instantiation of representing_product_location template

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