Template:— cost_item (cst_itm)
Context:— UK_Defence
Date: 2010/03/15 14:22:42
Revision: 1.3

This section specifies the template cost_item.

NOTE  The template has been defined in the context of UK_Defence. 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 an instance (with value) of a support cost type. The cost item may be an estimated or actual cost value over a defined period of time.

Business perspective

The Cost Item business object is used by those UK_Defence Data Exchange Specifications that require information about support cost items.

The cost item information object enables different values related to a cost item type to be recorded.

Business object definition


Figure 1 —  Graphical Representation for Business Object Cost Item

Figure 1 —  Graphical Representation for Business Object Cost Item

Cost Item

The definition of the Cost Item object is: This information to represent the record of an instance (with value) of a support cost type

Attribute name

Attribute description

Attribute type

Optionality

Assumption This is a reference to a related assumption. Relationship to Assumption Optional
Confidence level This is the level of confidence attached the value of the cost item. Intrinsic Mandatory
Constraint This is a reference to a related Constraint. Relationship to Constraint. Mandatory
End date This is the end date of the period over which the cost item has been defined. Relationship to Date Mandatory
Id This is the identifier of the cost item. Intrinsic Mandatory
Name This is the name of the cost item. Intrinsic Mandatory
Related cost type This is the reference to the document that contains the results of the analysis. Relationship to Cost Item Type Mandatory
Start date This is the start date of the period over which the cost item has been defined. Relationship to Date Mandatory
State This is the state of the cost item. This attribute is used to distinguish between estimated and actual costs. State values may include: Planned, Estimate or Actual. Intrinsic Mandatory
Value This is the value of the cost item. Relationship to Measure (value) and unit Mandatory

Table 1 — Cost Item attribute details.

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


Figure 2 —  An EXPRESS-G representation of the Information model for cost_item

Figure 2 —  An EXPRESS-G representation of the Information model for cost_item

The graphic for the template to be used in other EXPRESS-G diagrams is shown in Figure  3 below.


Figure 3 —  The graphical representation of the cost_item template

Figure 3 —  The graphical representation of the cost_item template

Input parameters
The following input parameters are defined for this template:
assumption (Type= 'ENTITY (Document_definition)' , Optional)
The cost item type to which the cost item is assigned.
constraint (Type= 'ENTITY (Requirement_view_definition)' )
The cost item type to which the cost item is assigned.
id (Type='STRING')
The identifier of the cost item.
name (Type='STRING')
The name of the cost item.
confidence_level (Type='STRING')
The name of the cost item.
source_organization (Default=UK_Defence,Type='STRING')
The organization that created the associated identifier. Additionally a Person or Information System could be defined when either of these are the source; see Identifier template characterizations
value (Type= 'TYPE (any_number_value)' )
The value of the cost item. The data type must also be indicated in this parameter, e.g. "ANY_NUMBER_VALUE(5)".
value_unit (Default=GBP,Type='CLASS')
The class name of the unit in which the value is expressed.
The following classes and their sub-classes can be used:
classifications: "Unit" (urn:plcs:rdl:std:Unit)
state (Default=Estimated,Type='CLASS')
The state (of disposition) of the cost item.
The following classes and their sub-classes can be used:
classifications: [Disposition]
[warning:]Error RDL4: The URI urn:plcs:rdl:uk_defence is not listed in dexlib/data/refdata/rdl_index.xml
related_cost_type (Type= 'ENTITY (Breakdown_element_definition)' )
The cost item type to which the cost item is assigned.
start_date (Type= 'SELECT (date_or_date_time_select)' )
This is the date and time from which the cost item was valid.
end_date (Type= 'SELECT (date_or_date_time_select)' )
This is the date and time from which the cost item was valid.
Reference parameters
The following reference parameters are defined for this template:
cost_item(Type='ENTITY (Assigned_property)')
Allow the Assigned_property entity instantiated in this path to be referenced when this template is used.
Note: The Assigned_property entity can be referenced in a template path by:
%^target = $cost_item.cost_item%
where target is the parameter to which the Assigned_property is bound.
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.
-- Create the Property to record the cost value
/property(
    ID='Cost',
    source_organization=@source_organization,
    property_ecl_id='urn:plcs:rdl:std',
    value=@value,
    unit=@value_unit,
    unit_ecl_id='urn:plcs:rdl:std',
    si_unit='.F.',
    category='Cost_property',
    disposition=@state,
    a_property_of=@related_cost_type,
    valid_from=@start_date,
    valid_to=@end_date)/

-- Assign reference parameter to the assigned_property
%^cost_item = $property.property%

-- [Optional Relationship to Assumption]
/assigning_document(
    assigned_document=@assumption,
    doc_ass_role='Documented_assumption',
    doc_ar_ecl_id='urn:plcs:rdl:UK_Defence',
    is_assigned_to=^cost_item)/

-- Relationship to Constraint (as a cosntraint)
-- ideally would use requirement assignment but requires schema change to point to an assigned_poperty.
/assigning_condition(
    cond_item=^cost_item,
    cond_asg_class='Condition_assignment',
    cond_asg_ecl_id='urn:plcs:rdl:std',
    cond_class='Equals_condition',
    cond_ecl_id='urn:plcs:rdl:std',
    cond_para_item=@constraint)/

-- Confidence Level
/assigning_descriptor(
    descr=@confidence_level,
    class_name='Description',
    ecl_id='urn:plcs:rdl:uk_defence',
    is_assigned_to=^cost_item)/
/identifier(
    ID=@id,
    source_organization=@source_organization,
    type='Identification_code',
    items=^cost_item)/
/identifier(
    ID=@name,
    source_organization=@source_organization,
    type='Name',
    items=^cost_item)/
Instance diagrams
The instance diagram in Figure  4 shows an example of the EXPRESS entities and templates that are instantiated by the template:
/cost_item(assumption='@428', constraint='@127', id='CST-ITM-001', name='UK Item Cost', confidence_level='Medium', source_organization='UK_Defence', value='ANY_NUMBER_VALUE(15000.)', value_unit='GBP', state='ESTIMATED', related_cost_type='@515', start_date='@505', end_date='@510')/
(an illustration of the consolidated cost_item template is shown in Figure 5 below.)


Figure 4 —  Entities instantiated by cost_item template

Figure 4 —  Entities instantiated by cost_item template

The instance diagram in Figure 5 shows the graphic symbol for the template that is to be used in other instance diagrams. The example template is:
/cost_item(assumption='@428', constraint='@127', id='CST-ITM-001', name='UK Item Cost', confidence_level='Medium', source_organization='UK_Defence', value='ANY_NUMBER_VALUE(15000.)', value_unit='GBP', state='ESTIMATED', related_cost_type='@515', start_date='@505', end_date='@510')/


Figure 5 —  Instantiation of cost_item template

Figure 5 —  Instantiation of cost_item template

Characterizations
No common characterizations of the template cost_item have been identified. However, the ISO 10303-239 EXPRESS model may enable other assignments to the entities instantiated by the template.

© UK MOD 2010 — All rights reserved