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.
This template describes how to represent a task interval described as text.
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
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
The following input parameters are defined for this template:
Textual description of the task interval.
The entity to which the task interval is being assigned.
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%
Error P8: the template assigning_task_interval_as_text does not have a parameter name [id].Identification_assignment.identifier =
@idIdentification_assignment.role = '/IGNORE'
Identification_assignment.description = '/NULL'
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)/
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
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')/
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
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
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:
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
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
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
The following characterizations may apply:
Characterization Assigning date
NOTE this characterization is optional.