Template:— product_property_range (prod_prp_range) Date: 2008/02/28 10:30:55
Revision: 1.23

This section specifies the template product_property_range.

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 numerical value range for a product property.

NOTE    Where different techniques or methods are used to estimate, measure, calculate or collect the values of a property, it is advised that this template is used more than once and related to the same property instance. Further, the name of the property should not include any qualification such as the technique or method e.g. weight not estimated_weight.

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


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

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

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

Figure 2 —   The graphical representation of product_property_range template

Input parameters
The following input parameters are defined for this template:
upper_limit (Type= 'TYPE (any_number_value)' )
The upper limit value of the property. The datatype is always 'any_number_value' and should not be registered together with the value i.e. enter the value as a number, without the datatype.
lower_limit (Type= 'TYPE (any_number_value)' )
The lower limit value of the property. The datatype is always 'any_number_value' and should not be registered together with the value i.e. enter the value as a number, without the datatype.
unit (Type='CLASS')
The class name of the unit in which the value is expressed.
The following classes and their sub-classes can be used:
classifications: "Unit" (urn:plcs:rdl:std:Unit)
unit_ecl_id (Default=urn:plcs:rdl:std,Type='URN')
The identifier of the External_class_library storing the definition of the class referenced by the parameter @unit.
si_unit (Type='BOOLEAN')
Value should be set to true if the unit is a SI base unit defined by ISO, i.e. kilogram (kg) for Mass, second (s) for Time, metre (m) for Displacement, ampere (A) for Electrical current, kelvin (K) for Temperature, mole (mol) for Amount of substance, and candela (cd) for Luminous intensity. If this is not the case it should be set to false.
Note that the representation of true and false depends on exchange format. In Part 11 (a STEP file) true is represented by the string ".T.", and false by ".F.", while in Part 28 (XML) they are represented by text strings "true" and "false".
context (Type='CLASS')
The name of the class being used to classify the representation context (Representation_context) of the property.
The following classes and their sub-classes can be used:
classifications: "Representation_context" (urn:plcs:rdl:std:Representation_context)
context_ecl_id (Default=urn:plcs:rdl:std,Type='URN')
The identifier of the External_class_library storing the definition of the class referenced by the parameter @context.
property (Type= 'ENTITY (Assigned_property)' )
The target of the template, i.e. the Assigned_property (or template assigning_product_property) to which the Property_representation is related.
Reference parameters
The following reference parameters are defined for this template:
prop_repr(Type='ENTITY (Property_representation)')
Allow the Property_representation entity instantiated in this path to be referenced when this template is used.
Note: The Property_representation entity can be referenced in a template path by:
%^target = $product_property_range.prop_repr%
where target is the parameter to which the Property_representation is bound.
representation(Type='ENTITY (Property_value_representation)')
Allow the Property_value_representation entity instantiated in this path to be referenced when this template is used.
Note: The Property_value_representation entity can be referenced in a template path by:
%^target = $product_property_range.representation%
where target is the parameter to which the Property_value_representation 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 Reading Capability Templates help section.
-- Instantiate Property_representation entity
Property_representation

-- Bind the Property_representation entity to reference parameter ^prop_repr
%^prop_repr = Property_representation%

-- Set the Property_representation attributes role and description to be ignored
^prop_repr.role = '/IGNORE'
^prop_repr.description = '/IGNORE'

-- Instantiate template representing_value_range
/representing_value_range(
    upper_limit=@upper_limit,
    lower_limit=@lower_limit,
    unit=@unit,
    unit_ecl_id=@unit_ecl_id,
    si_unit=@si_unit,
    context=@context,
    context_ecl_id=@context_ecl_id)/

-- Bind the Property_value_representation entity instantiated in the template representing_value_range
-- to ^representation in this template and assign Property_representation.rep to it
%^representation = $representing_value_range.representation%
^prop_repr.rep -> ^representation

-- Assign value range to property
^prop_repr.property -> @property
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Property_representation.role '/IGNORE'
Property_representation.description '/IGNORE'
Instance diagrams
The instance diagram in Figure  3 shows an example of the EXPRESS entities and templates that are instantiated by the template:
/product_property_range(upper_limit='any_number_value(112)', lower_limit='any_number_value(96)', si_unit='true', unit='Centimetre', unit_ecl_id='urn:plcs:rdl:sample', context='Length_measurement', context_ecl_id='urn:plcs:rdl:sample', property='#2')/
(an illustration of the consolidated product_property_range template is shown in Figure 4 below.)


Figure 3 —  Entities instantiated by product_property_range template

Figure 3 —  Entities instantiated by product_property_range 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:
/product_property_range(upper_limit='any_number_value(112)', lower_limit='any_number_value(96)', si_unit='true', unit='Centimetre', unit_ecl_id='urn:plcs:rdl:sample', context='Length_measurement', context_ecl_id='urn:plcs:rdl:sample', property='#2')/


Figure 4 —  Instantiation of template

Figure 4 —  Instantiation of template

Characterizations
The following section details how the product_property_range 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 EXPRESS-G diagram in Figure 5 shows the possible characterizations of the template "product_property_range".


Figure 5 —  Characterizations for product_property_range template

Figure 5 —  Characterizations for product_property_range template

The following characterizations may apply:
Characterization Assigning representation role

NOTE   this characterization is optional.

A role or definition method can be associated with the property representation by using the template assigning_reference_data assigned to Property_value_representation (reference parameter ^representation in template representing_value_range). Example classifications for Property_value_representation are: "Estimated_value" (urn:plcs:rdl:std:Estimated_value), "Measured_value" (urn:plcs:rdl:std:Measured_value) and "Calculated_value" (urn:plcs:rdl:std:Calculated_value). The Express-G representation is shown in Figure 6.



Figure 6 —  Characterization by role of product_property_range template

Figure 6 —  Characterization by role of product_property_range template

Characterization Assigning date and time

NOTE   this characterization is optional.

Dates can be associated with the assignment of property value representation by using the templates assigning_time.



Figure 7 —  Characterization by date of product_property_range template

Figure 7 —  Characterization by date of product_property_range template

A creation date is commonly assigned to the template product_property_range.

The date of creation of the property value representation is represented by using the template assigning_time to assign a date and time to Property_value_representation (reference parameter ^representation in template representing_value_range). The date and time assignment is classified as: "Date_actual_creation" (urn:plcs:rdl:std:Date_actual_creation) to indicate that it is the date (and time) when the property value representation was actually created. This is illustrated in Figure 7.

Other dates may be assigned instead.

Characterization Assigning organization or person

NOTE   this characterization is optional.

An Organization or a Person within an organization can be associated with the property value representation by using the templates assigning_organization or assigning_person_in_organization.



Figure 8 —  Characterization by organization of product_property_range template

Figure 8 —  Characterization by organization of product_property_range template

A common role in which an organization is assigned to a property value representation is as a "Creator of" the representation. The creating organization is represented by using the template assigning_organization or assigning_person_in_organization assigned to Property_value_representation (reference parameter ^representation in template representing_value_range). The assignment of the organization (Organization_or_person_in_organization_assignment) is classified as: "Creator_of" (urn:plcs:rdl:std:Creator_of) to indicate that this organization created the property value representation. This is illustrated in Figure 8.

Other roles of an organization with regard to a property value representation may be assigned instead.

© OASIS 2008 — All rights reserved