| Capability (C052):— representing_resource | Date: 2007/06/22 12:22:11 Revision: 1.34 |
This section describes the EXPRESS information model for the capability.
TYPE required_resource_classification_item =
EXTENSIBLE
GENERIC_ENTITY
SELECT
BASED_ON
classification_item
WITH
(Required_resource,
Required_resource_assignment,
Required_resource_relationship);
END_TYPE;
TYPE required_resource_item =
EXTENSIBLE
GENERIC_ENTITY
SELECT;
END_TYPE;
A Required_resource is an identified need for resource. The role of a required resource is determined by classification.
EXAMPLE 1 "facility", "test equipment", "supervisor" are examples of classifications of a required resource.
ENTITY Required_resource
ABSTRACT SUPERTYPE
OF (ONEOF (Required_resource_by_resource_item,
Required_resource_by_specification));
name : STRING;
description :
OPTIONAL
STRING;
required_quantity :
OPTIONAL
Value_with_unit;
END_ENTITY;
name: the words by which the required resource is known.
description: the text that provides further information about the required resource. The value of this attribute need not be specified.
required_quantity:
the required quantity of the required resource. The value of this attribute need not be specified.
EXAMPLE 2 Quantity can be specified using amount or duration.
EXAMPLE 1 task, task step, activity, activity method, organization are examples of entities to which the resource requirement statement could be related.
EXAMPLE 2 The assignment can be classified as "required by".
NOTE An association between a required resource and actions that are needed prior to its usage.
EXAMPLE 3 A resource required by the activity "12" needs to be calibrated prior to usage. The calibration activity "21" is associated with the same required resource.using
EXAMPLE 4 A resource required by the task "123" needs to be disposed after its usage. This disposal task "456" is associated with the same required resource.
ENTITY Required_resource_assignment;
assigned_resource : Required_resource;
item : required_resource_item;
END_ENTITY;
assigned_resource: the required resource that is to be associated with the requiring entity.
item: the entity to which the required resource statement is assigned.
Required_resource_by_resource_item
A Required_resource_by_resource_item is a type of Required_resource that is a statement of a required resource that can be identified within the application context.
ENTITY Required_resource_by_resource_item
SUBTYPE OF (Required_resource);
resource_item : Resource_item;
END_ENTITY;
resource_item:
a reference to an item that is defined as a resource within the application context. It can refer to an actual as well as to a type of resource.
EXAMPLE Tool kit, facility, and product category are examples of resource items.
Required_resource_by_specification
A Required_resource_by_specification is a type of Required_resource where a collection of characteristics determine whether an item would be suitable to meet the requirement. More than one item can fulfill the requirement.
ENTITY Required_resource_by_specification
SUBTYPE OF (Required_resource);
END_ENTITY;
TYPE resource_assignment_item =
EXTENSIBLE
GENERIC_ENTITY
SELECT;
END_TYPE;
TYPE resource_item_classification_item =
EXTENSIBLE
GENERIC_ENTITY
SELECT
BASED_ON
classification_item
WITH
(Resource_item,
Resource_item_assignment,
Resource_item_relationship);
END_TYPE;
TYPE resource_item_select =
EXTENSIBLE
GENERIC_ENTITY
SELECT;
END_TYPE;
EXAMPLE 1 The relationship between a tool set and a mallet could be classified as "Contains".
EXAMPLE 2 The relationship between a facility and compressed air could be classified as "Provides".
ENTITY Resource_group_relationship
SUBTYPE OF (Resource_item_relationship);
quantity :
OPTIONAL
Value_with_unit;
END_ENTITY;
quantity: the measure of the amount of related Resource_item. The value of the attribute need not be specified.
EXAMPLE A Resource_item may be classified as "Facility", "Replaceble unit", or "Package".
ENTITY Resource_item;
name : STRING;
description :
OPTIONAL
STRING;
resource_items :
OPTIONAL
SET[0:?] OF resource_item_select;
END_ENTITY;
name: the words by which the Resource_item is known.
description: the text that provides further information about the Resource_item. The value of the attribute need not be specified.
resource_items:
the items that are designated as resources within the application context. The value of this attribute need not be specified.
NOTE a resource may be an item or a type of item
EXAMPLE Product, Product_version, Product_as_individual, Person are examples of items that can occur in the role of a resource within a given application context.
A Resource_item_assignment is an association of a resource item with some product information. The role of the assignment is determined by classification.
EXAMPLE The assignment can be classified as "applicable to" or "acquired for".
ENTITY Resource_item_assignment;
assigned_resource : Resource_item;
item : resource_assignment_item;
END_ENTITY;
assigned_resource: the resource item that is to be associated with an item.
item: the resource assignment item to which the resource item is assigned.
A Resource_item_relationship is a specification of how a resource item may be associated with another resource item. The role of the relationship is determined by classification.
EXAMPLE The relationship between a product and a package can be classified as "Preferred".
ENTITY Resource_item_relationship;
name : STRING;
description :
OPTIONAL
STRING;
relating : Resource_item;
related : Resource_item;
END_ENTITY;
name: the word or words by which the Resource_item_relationship is known.
description: the text that provides further information about the resource item relationship. The value of the attribute need not be specified.
relating: one of the instances of Resource_item that is a part of the relationship.
related: the other instance of Resource_item that is a part of the relationship. If one element of the relationship is dependent upon the other, this attribute shall be the dependent one.
ENTITY Measure_item
ABSTRACT SUPERTYPE
SUBTYPE OF (Representation_item);
WHERE
WR1: SIZEOF(USEDIN(SELF, 'FOUNDATION_REPRESENTATION_ARM.REPRESENTATION.ITEMS'))>0;
END_ENTITY;
Numerical_item_with_global_unit
A Numerical_item_with_global_unit is a type of Measure_item where the value is expressed with respect to a unit provided as a global information associated with the representation context.
ENTITY Numerical_item_with_global_unit
SUBTYPE OF (Measure_item);
value_component : measure_value;
WHERE
WR1: SIZEOF(QUERY(pvr <* QUERY ( r <* USEDIN(SELF, 'FOUNDATION_REPRESENTATION_ARM.REPRESENTATION.ITEMS')|
'MEASURE_REPRESENTATION_ARM.PROPERTY_VALUE_REPRESENTATION' IN
TYPEOF(r)) | EXISTS(pvr.context_of_items.units) )) > 0;
END_ENTITY;
value_component:
the value of the quantity. The type of this value shall be consistent with exactly one of the units globally assigned within the Numerical_representation_context.
EXAMPLE If the item is a mass , there shall be exactly one Mass_unit in the units of the Numerical_representation_context.
A Numerical_item_with_unit is a type of Measure_item that is also a Value_with_unit. The quantity value is therefore provided with its own unit.
NOTE A unit that is specified by Numerical_item_with_unit supersedes a unit associated with the Numerical_representation_context.
ENTITY Numerical_item_with_unit
SUBTYPE OF (Measure_item, Value_with_unit);
END_ENTITY;
TYPE any_number_value =
NUMBER;
END_TYPE;
TYPE any_string_value =
STRING;
END_TYPE;
TYPE length_measure =
REAL;
END_TYPE;
TYPE measure_value =
EXTENSIBLE
SELECT
(any_number_value,
any_string_value,
length_measure,
plane_angle_measure);
END_TYPE;
TYPE plane_angle_measure =
REAL;
END_TYPE;
NOTE 1 This definition applies to the SI quantity 'mole'. When the mole is used, the elementary entities, whose quantity is expressed, must be specified . They may be atoms, molecules, ions, electrons or other particles or specified groups of such particles (see ISO 31-8).
NOTE 2 This unit corresponds to one of the seven fundamental quantities as specified in ISO 1000.
ENTITY Amount_of_substance_unit
SUBTYPE OF (Unit);
END_ENTITY;
EXAMPLE The number of parts in an assembly is a physical quantity that may be measured in a unit called 'parts'. Such a unit cannot be related to an SI unit.
ENTITY Context_dependent_unit
SUBTYPE OF (Unit);
WHERE
WR1: EXISTS(SELF\Unit.name);
END_ENTITY;
NOTE A Conversion_based_unit is often used to convert a unit in one system of units to a similar unit in another system.
EXAMPLE An Imperial inch is 25.4 millimetres
ENTITY Conversion_based_unit
SUBTYPE OF (Unit);
conversion_factor : Value_with_unit;
WHERE
WR1: EXISTS(SELF\Unit.name);
END_ENTITY;
conversion_factor: the Value_with_unit that defines the conversion.
EXAMPLE Newtons per square metre is a derived unit.
ENTITY Derived_unit
SUBTYPE OF (Unit);
elements : SET[1:?] OF Derived_unit_element;
END_ENTITY;
elements:
a set of units and their exponents whose product defines the Derived_unit.
NOTE Each element is one term in the Derived_unit.
ENTITY Derived_unit_element;
base_unit : Unit;
exponent : REAL;
END_ENTITY;
base_unit: the unit of a term in the Derived_unit.
exponent: the real number for the Derived_unit.
ENTITY Duration
SUBTYPE OF (Value_with_unit);
WHERE
WR1: 'VALUE_WITH_UNIT_ARM.' + 'TIME_UNIT' IN TYPEOF(SELF\Value_with_unit.unit);
END_ENTITY;
ENTITY Electric_current_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Length_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Luminous_intensity_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Mass_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Plane_angle_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Ratio_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Solid_angle_unit
SUBTYPE OF (Unit);
END_ENTITY;
Thermodynamic_temperature_unit
A Thermodynamic_temperature_unit is a type of Unit in which the degree of heat of a body is expressed.
ENTITY Thermodynamic_temperature_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Time_unit
SUBTYPE OF (Unit);
END_ENTITY;
ENTITY Uncertainty_with_unit
SUBTYPE OF (Value_with_unit);
name : STRING;
description :
OPTIONAL
STRING;
END_ENTITY;
name: the words by which the Uncertainty_with_unit is known.
description: the text that provides further information about the Uncertainty_with_unit. The value of this attribute need not be specified.
ENTITY Unit
SUPERTYPE OF
(ONEOF (Amount_of_substance_unit,
Electric_current_unit,
Length_unit,
Luminous_intensity_unit,
Mass_unit,
Plane_angle_unit,
Ratio_unit,
Solid_angle_unit,
Thermodynamic_temperature_unit,
Time_unit));
name : STRING;
si_unit : BOOLEAN;
END_ENTITY;
name: the words by which the Unit is known.
si_unit: the boolean value that indicates whether the Unit is one of the units defined in the SI system.
ENTITY Value_with_unit;
unit : Unit;
value_component : measure_value;
END_ENTITY;
unit: the Unit with which the physical quantity is expressed.
value_component: the value of the quantity.