Template:— representing_independent_property (rep_indpt_prp) Date: 2008/03/07 23:26:57
Revision: 1.7

This section specifies the template representing_independent_property.

NOTE  An explanation of a template and the associated instantiation path is provided in the Template overview section.

Description

This template describes how to define a named property which is not directly related with any object. The name of the property is provided by a class in reference data.

The value representation of the property can be either numerical or textual, but is not part of this template. This template must be used with one (or more) of the templates independent_property_text, independent_property_numeric, independent_property_range, independent_property_limit, and independent_property_w_tolerances.

A description of representing and relating multiple representations for a property, for example the values of a property changing over time, is provided in capability C056: representing_evolution_of_property_values (NB Capabilities are not documented in this release of the PLCS standard) .

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


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

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

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

Figure 2 —  The graphical representation of the representing_independent_property template

Input parameters
The following input parameters are defined for this template:
property_class_name (Type='CLASS')
The class name corresponding to the property name.
The following classes and their sub-classes can be used:
classifications: "Activity_property" (urn:plcs:rdl:std:Activity_property), "Assigned_property" (urn:plcs:rdl:std:Assigned_property), "Resource_property" (urn:plcs:rdl:std:Resource_property)
property_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 @property_class_name.
Reference parameters
The following reference parameters are defined for this template:
property(Type='ENTITY (Independent_property)')
Allow the Independent_property entity instantiated in this path to be referenced when this template is used.
Note: The Independent_property entity can be referenced in a template path by:
%^target = $representing_independent_property.property%
where target is the parameter to which the Independent_property is bound.
Uniqueness constraints

The following parameter combinations specify a uniqueness constraint:
Unique constraint: Independent Property
Each instance of the entity (Independent_property) within the data set shall be uniquely identified by a combination of the following parameters on this template (representing_independent_property) namely: property_class_name, property_ecl_id.
The instance is referenced by the following template parameter: property.
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.
-- Instantiate an Independent_property
Independent_property

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

-- Set the Assigned_property attributes name, id, and property_type to be ignored
Independent_property.id = '/IGNORE'
Independent_property.description = '/IGNORE'
Independent_property.property_type = '/IGNORE'

-- Assign reference data for name of property
/assigning_reference_data(
    items=^property,
    class_name=@property_class_name,
    ecl_id=@property_ecl_id)/
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Independent_property.id '/IGNORE'
Independent_property.description '/IGNORE'
Independent_property.property_type '/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_independent_property(property_class_name='Flight_hours', property_ecl_id='urn:plcs:rdl:sample')/
(an illustration of the consolidated representing_independent_property template is shown in Figure 4 below.)


Figure 3 —  Entities instantiated by representing_independent_property template

Figure 3 —  Entities instantiated by representing_independent_property template

The instance model in STEP ASCII exchange file format (ISO 10303 Part 21 syntax) is:
#1 = INDEPENDENT_PROPERTY('/IGNORE','/IGNORE','/IGNORE'); #3 = CLASSIFICATION_ASSIGNMENT(#5,(#1),'/IGNORE'); #5 = EXTERNAL_CLASS('/NULL','Flight_hours','/IGNORE',#6); #6 = EXTERNAL_CLASS_LIBRARY('urn:plcs:rdl:sample',$);
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_independent_property(property_class_name='Flight_hours', property_ecl_id='urn:plcs:rdl:sample')/


Figure 4 —  Instantiation of representing_independent_property template

Figure 4 —  Instantiation of representing_independent_property template

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