Capability (C052):— representing_resource Date: 2007/06/22 12:22:11
Revision: 1.34

Capability EXPRESS information model

This section describes the EXPRESS information model for the capability.

From module : required_resource - using subset



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;


Required_resource

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.


Required_resource_assignment

A Required_resource_assignment is an association of a resource requirement statement with one or more entities that requires the resource.

EXAMPLE 1   task, task step, activity, activity method, organization are examples of entities to which the resource requirement statement could be related.

The role of the assignment is determined by classification.

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;

From module : resource_item - using all



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;


Resource_group_relationship

A Resource_group_relationship is a type of Resource_item_relationship that specifiies the means to associate two resource items that are part of a resource group. The meaning of the entity is determined by classification.

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.


Resource_item

A Resource_item is an item that can occur in the role of a resource within the application context.

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.


Resource_item_assignment

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.


Resource_item_relationship

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.

From module : measure_representation - using subset


Measure_item

A Measure_item is a type of Representation_item that conveys the value of a quantity. Only specializations of this entity can be instantiated.


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.


Numerical_item_with_unit

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;

From module : value_with_unit - using all



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;


Amount_of_substance_unit

An Amount_of_substance_unit is a type of Unit in which the number of elementary entities of a substance as compared to the number of atoms in 0.012 kilograms of carbon-12 is expressed.

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;


Context_dependent_unit

A Context_dependent_unit is a type of Unit that is not related to the system of units defined in this part of ISO 10303.

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;


Conversion_based_unit

A Conversion_based_unit is a type of Unit that that is based on another and related by a conversion factor.

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.


Derived_unit

A Derived_unit is a type of Unit that is defined by an expression of other units.

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.


Derived_unit_element

A Derived_unit_element is the association of an exponent with a 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.


Duration

A Duration is a type of Value_with_unit that defines the magnitude of a time interval.


ENTITY Duration
  SUBTYPE OF (Value_with_unit);
WHERE
  WR1: 'VALUE_WITH_UNIT_ARM.' + 'TIME_UNIT' IN TYPEOF(SELF\Value_with_unit.unit);
END_ENTITY;


Electric_current_unit

An Electric_current_unit is a type of Unit with which movement of electrically charged particles is expressed.


ENTITY Electric_current_unit
  SUBTYPE OF (Unit);
END_ENTITY;


Length_unit

A Length_unit is a type of Unit in which distances are expressed.


ENTITY Length_unit
  SUBTYPE OF (Unit);
END_ENTITY;


Luminous_intensity_unit

A Luminous_intensity_unit is a type of Unit in which the brightness of a body is expressed.


ENTITY Luminous_intensity_unit
  SUBTYPE OF (Unit);
END_ENTITY;


Mass_unit

A Mass_unit is a type of Unit with which mass is expressed.


ENTITY Mass_unit
  SUBTYPE OF (Unit);
END_ENTITY;


Plane_angle_unit

A Plane_angle_unit is a type of Unit by which a angles in planes are expressed.


ENTITY Plane_angle_unit
  SUBTYPE OF (Unit);
END_ENTITY;


Ratio_unit

A Ratio_unit is a type of Unit that expresses the dimensionless ratio of two quantities of the same kind.


ENTITY Ratio_unit
  SUBTYPE OF (Unit);
END_ENTITY;


Solid_angle_unit

A Solid_angle_unit is a type of Unit that is solid angle.


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;


Time_unit

A Time_unit is a type of Unit with which the duration of a period is expressed.


ENTITY Time_unit
  SUBTYPE OF (Unit);
END_ENTITY;


Uncertainty_with_unit

An Uncertainty_with_unit is a type of Value_with_unit that specifies the uncertainty that applies to a type of measure. An Uncertainty_with_unit applies to each Representation_item that uses the type of measure specified in the value_component of the Uncertainty_with_unit.


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.


Unit

A Unit is a unit quantity.


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.


Value_with_unit

A Value_with_unit is the specification of a physical quantity by its value and its unit.


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.