Template:— assigning_concession (asg_conc) Capability:representing_variance |
Date: 2010/01/14 16:01:26 Revision: 1.16
|
This section specifies the template assigning_concession.
NOTE
The template has been defined in the context of the capability
representing_variance
which provides an overall description of the
relevant parts of the ISO 10303-239 information model and a description
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 assign a basic concession.
A concession, at its simplest, is a specific type of
Approval.
This template effectively defines this through specifying the concession-class as the type of
Approval.
It uses and is dependant on the
assigning_approval template.
It allows sub-classes of concession to also be specified. It is assumed that, in most cases. the authorization is
provided by a
Person,
rather than an
Organization
and that the
Person
authorizing the approval has the authority to do so. The
Organization which
contains the
Person is represented.
It does allow the authorization to be provided by an
Organization.
The EXPRESS-G diagram in
Figure
1
shows the templates and EXPRESS entities that are required
to represent the template
"assigning_concession".
The text highlighted in blue shows the template parameters.
Figure 1 — An EXPRESS-G representation of the Information model for Assigning_concession
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_concession template
The following input parameters are defined for this template:
asn_role (Default=Concession,Type='CLASS')
the type of Approval_assignment
The following classes and their sub-classes can be used:
role_ecl_id (Default=urn:plcs:rdl:std,Type='URN', Optional)
The identifier of the
External_class_library
storing the definition of the class referenced by the parameter @asn_role.
status (Default=Not_yet_approved,Type='CLASS')
The following classes and their sub-classes can be used:
The identifier of the
External_class_library
storing the definition of the class referenced by the parameter @status.
The name of the class being used to classify the
role date assignment, e.g. the start date.
The following classes and their sub-classes can be used:
Calendar_date year_component
Calendar_date month_component
Calendar_date day_component
The items to which the approval is assigned
The person or organization responsible for the approval
The following reference parameters are defined for this template:
Allow the
Approval
entity instantiated in this path to be referenced when this template is used.
Note: The
Approval
entity can be referenced in a template path by:
%^target = $assigning_concession.approval%
where
target
is the parameter to which the
Approval
is bound.
Allow the
Approval_assignment
entity instantiated in this path to be referenced when this template is used.
%^target = $assigning_concession.approval_assgn%
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.
-- Call Assigning_approval. /
assigning_approval(
status=@status,
status_ecl_id=@status_ecl_id,
items=@items,
person_org=@person_org)/
-- Get the approval instance from the template call %^approval_assgn = $assigning_approval.approval_assgn%
%^approval = $assigning_approval.approval%
-- Assign Ref data to Approval /
assigning_reference_data(
items=^approval_assgn,
class_name=@asn_role,
ecl_id=@role_ecl_id)/
-- Assign the date of concession /
assigning_time(
date_class_name=@date_cn,
date_ecl_id=@date_ecl_id,
year=@year,
month=@month,
day=@day,
hour='0',
minute='0',
second='0',
sense='.EXACT.',
hour_offset='0',
minute_offset='0',
items=^approval)/
The instance diagram in Figure
3
shows an example of the EXPRESS entities and templates that are instantiated by the template:
/assigning_concession(asn_role='Concession', role_ecl_id='urn:plcs:rdl:std', status='Approved', status_ecl_id='urn:plcs:rdl:std', date_cn='Date_actual_creation', date_ecl_id='urn:plcs:rdl:std', year='2005', month='10', day='7', items='#9', person_org='#69')/
(an illustration of the consolidated assigning_concession template is shown in
Figure
4 below.)
Figure 3 — Entities instantiated by assigning_concession 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:
/assigning_concession(asn_role='Concession', role_ecl_id='urn:plcs:rdl:std', status='Approved', status_ecl_id='urn:plcs:rdl:std', date_cn='Date_actual_creation', date_ecl_id='urn:plcs:rdl:std', year='2005', month='10', day='7', items='#9', person_org='#69')/
Figure 4 — Instantiation of assigning_concession template
The following section details how the
assigning_concession
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_concession".
Figure 5 — Characterizations for assigning_concession
The following characterizations may apply:
Characterization Assigning dates
NOTE this characterization is optional.
Dates can be associated with the concession,
in a given role, by using the template
assigning_time.
These are applied to the ^approval reference parameter. See Figure 5 for the an abstract view of this.
One date is commonly assigned to the template
assigning_concession,
namely the actual sign off date on which the concession approval was authorized.
Characterization Assigning identifers
NOTE this characterization is optional.
Identifiers can be associated with the concession by using the template
assigning_identification.
These are applied to the ^approval reference parameter. See Figure 5 for the an abstract view of this.
Characterization Assigning names or descriptions
NOTE this characterization is optional.
Names or descriptions can be associated with the concession by using the template
assigning_descriptor.
These are applied to the ^approval reference parameter. See Figure 5 for the an abstract view of this.
Characterization Assigning documents
NOTE this characterization is optional.
Characterization Assigning conditions of usage
NOTE this characterization is optional.
Characterization Assigning justification
NOTE this characterization is optional.