Template:— ad_representing_contracted_product_variant (ad_rep_contr_prod_var)
Context:— Aerospace_and_Defense
Date: 2011/04/20 13:19:03
Revision: 1.2

This section specifies the template ad_representing_contracted_product_variant.

NOTE  The template has been defined in the context of Aerospace_and_Defense. 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 contracted product variant as a relationship between the product variant and the contract.

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


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

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

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

Figure 2 —  The graphical representation of the ad_representing_contracted_product_variant template

Input parameters
The following input parameters are defined for this template:
contract (Type= 'ENTITY (Document)' )
The contract (Document) in which the contracted product variant is included.
product_variant (Type= 'ENTITY (Part)' )
The product variant (Part), being contracted.
Reference parameters
The following reference parameters are defined for this template:
contr_prod_var(Type='ENTITY (Document_assignment)')
Allow the Document_assignment entity instantiated in this path to be referenced when this template is used.
Note: The Document_assignment entity can be referenced in a template path by:
%^target = $ad_representing_contracted_product_variant.contr_prod_var%
where target is the parameter to which the Document_assignment is bound.
Uniqueness constraints

The following parameter combinations specify a uniqueness constraint:
Unique constraint: Contracted product variant
Each instance of the entity (Document_assignment) within the data set shall be uniquely identified by a combination of the following parameters on this template (ad_representing_contracted_product_variant) namely: product_variant, contract.
The instance is referenced by the following template parameter: contr_prod_var.
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_assignment
Document_assignment.role = '/IGNORE'
Document_assignment.is_assigned_to -> @product_variant
%^contr_prod_var = Document_assignment%

-- Assign the role through ref data
/assigning_reference_data(
    items=^contr_prod_var,
    class_name='Contracted_product_variant',
    ecl_id='urn:plcs:rdl:ad')/

-- Identify the contract to be used
Document_assignment.assigned_document -> @contract
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Document_assignment.role '/IGNORE'
Instance diagrams
The instance diagram in Figure  3 shows an example of the EXPRESS entities and templates that are instantiated by the template:
/ad_representing_contracted_product_variant(contract='#1', product_variant='#2')/
(an illustration of the consolidated ad_representing_contracted_product_variant template is shown in Figure 4 below.)


Figure 3 —  Entities instantiated by ad_representing_contracted_product_variant template

Figure 3 —  Entities instantiated by ad_representing_contracted_product_variant template

The instance model in STEP ASCII exchange file format (ISO 10303 Part 21 syntax) is:
#1 = DOCUMENT('/IGNORE','/IGNORE','/IGNORE'); #2 = PART('/IGNORE','/IGNORE','/IGNORE'); #3 = DOCUMENT_ASSIGNMENT(#1,#2,'/IGNORE'); #5 = CLASSIFICATION_ASSIGNMENT(#6,(#3),'/IGNORE'); #6 = EXTERNAL_CLASS('/NULL','Contracted_product_variant','/IGNORE',#7); #7 = EXTERNAL_CLASS_LIBRARY('urn:plcs:rdl:ad','/IGNORE');
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:
/ad_representing_contracted_product_variant(contract='#1', product_variant='#2')/


Figure 4 —  Instantiation of ad_representing_contracted_product_variant template

Figure 4 —  Instantiation of ad_representing_contracted_product_variant template

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