Template:— assigning_task_interval_as_text (asg_task_intvl_txt)
Context:— NOLITO
Date: 2008/05/06 14:03:34
Revision: 1.1

This section specifies the template assigning_task_interval_as_text.

NOTE  The template has been defined in the context of NOLITO. 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 task interval described as text.

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


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

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

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

Figure 2 —  The graphical representation of the assigning_task_interval_as_text template

Input parameters
The following input parameters are defined for this template:
interval_descr (Type='STRING')
Textual description of the task interval.
task (Type= 'SELECT (condition_item)' )
The entity to which the task interval is being assigned.
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.
Identification_assignment

-- Mark the Identification_assignment entity as
-- referable when this template is used by binding it to the reference
-- parameter id_assgn
%^id_assgn = Identification_assignment%

[warning:]Error P8: the template assigning_task_interval_as_text does not have a parameter name [id].
Identification_assignment.identifier = @id
Identification_assignment.role = '/IGNORE'
Identification_assignment.description = '/NULL'

[warning:]Error P4: the template assigning_task_interval_as_text does not have a parameter name [items].
Identification_assignment.items -> @items

-- provide the role of the identification by classifying the Identification_assignment
/assigning_reference_data(
    items=^id_assgn,
    class_name=@id_class_name,
    ecl_id=@id_ecl_id)/

[warning:]Error t3: the template assigning_task_interval_as_text does not have a parameter name [id_class_name]. Parameters are: interval_descr task items class_name ecl_id

[warning:]Error t3: the template assigning_task_interval_as_text does not have a parameter name [id_ecl_id]. Parameters are: interval_descr task items class_name ecl_id

-- assign an organization to the identifier and classify it as 'Owner_of'
/assigning_organization(
    items=^id_assgn,
    org_id=@org_id,
    org_id_class_name=@org_id_class_name,
    org_id_ecl_id=@org_id_ecl_id,
    org_assgn_class_name='Owner_of',
    org_assgn_ecl_id='urn:plcs:rdl:std')/

[warning:]Error t3: the template assigning_task_interval_as_text does not have a parameter name [org_id]. Parameters are: interval_descr task items class_name ecl_id

[warning:]Error t3: the template assigning_task_interval_as_text does not have a parameter name [org_id_class_name]. Parameters are: interval_descr task items class_name ecl_id

[warning:]Error t3: the template assigning_task_interval_as_text does not have a parameter name [org_id_ecl_id]. Parameters are: interval_descr task items class_name ecl_id
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Identification_assignment.identifier @id
Identification_assignment.role '/IGNORE'
Identification_assignment.description '/NULL'
Instance diagrams
The instance diagram in Figure  3 shows an example of the EXPRESS entities and templates that are instantiated by the template:
/assigning_task_interval_as_text(items='#1', class_name='Safety_critical', ecl_id='urn:plcs:rdl:std')/
(an illustration of the consolidated assigning_task_interval_as_text template is shown in Figure 4 below.)


Figure 3 —  Entities instantiated by assigning_task_interval_as_text template

Figure 3 —  Entities instantiated by assigning_task_interval_as_text template

The instance model in STEP ASCII exchange file format (ISO 10303 Part 21 syntax) is:
#1 = TASK_METHOD($,$,$,$,()); #2 = EXTERNAL_CLASS('/IGNORE','Safety_critical',$,#3); #3 = EXTERNAL_CLASS_LIBRARY('urn:plcs:rdl:std',$); #4 = CLASSIFICATION_ASSIGNMENT(#2,(#1),'/IGNORE');
The instance model in STEP XML exchange file format (ISO 10303 Part 28 ed.2 syntax) is:
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:
/assigning_task_interval_as_text(items='#1', class_name='Safety_critical', ecl_id='urn:plcs:rdl:std')/


Figure 4 —  Instantiation of assigning_task_interval_as_text template

Figure 4 —  Instantiation of assigning_task_interval_as_text template

Characterizations
The following section details how the assigning_task_interval_as_text 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 "assigning_task_interval_as_text".


Figure 5 —  Characterizations for assigning_task_interval_as_text

Figure 5 —  Characterizations for assigning_task_interval_as_text

The following characterizations may apply:
Characterization Assigning date

NOTE   this characterization is optional.

The date when the Work_order and the Directed_activity was issued can be represented by assigning a date (using the relationship Date_or_date_time_assignment) to the Work_order and the Directed_activity using the assigning_calendar_date template with the Date_time being classified as a type of "Date actual release" (urn:plcs:rdl:std:Date actual release).

NOTE    The assignment of dates is described the capability C036: assigning_date_time.

© Saab AB 2010 — All rights reserved