| Capability (C006):— assigning_effectivity | Date: 2007/06/29 07:31:34 Revision: 1.20 |
This section describes the EXPRESS information model for the capability.
EXAMPLE Events may be used to bound a Dated_effectivity period, at planning phase.
ENTITY Dated_effectivity
SUBTYPE OF (Effectivity);
start_bound : date_or_event;
end_bound :
OPTIONAL
date_or_event;
END_ENTITY;
start_bound: the date or event that defines the lower bound of the interval of applicability.
end_bound: the date or event that defines the upper bound of the interval of applicability. The value of the attribute need not be specified. If the value for this attribute is not specified, the interval of applicability has no upper limit.
NOTE Instances of Effectivity may be applied to any kind of product or activity data, using the constructs defined in the Effectivity application module.
ENTITY Effectivity
SUPERTYPE OF
(ONEOF (Serial_effectivity,
Dated_effectivity,
Lot_effectivity,
Time_interval_effectivity));
id : STRING;
name : STRING;
description :
OPTIONAL
STRING;
END_ENTITY;
id: the identifier that distinguishes the Effectivity.
name: the words by which the Effectivity is known.
description: the text that provides further information about the Effectivity. The value of the attribute need not be specified.
ENTITY Effectivity_relationship;
relation_type : STRING;
description :
OPTIONAL
STRING;
relating_effectivity : Effectivity;
related_effectivity : Effectivity;
END_ENTITY;
relation_type:
the text that specifies the meaning of the relationship.
Where applicable, the following value shall be used:
description: the text that provides further information about the relationship. The value of the attribute need not be specified.
relating_effectivity: the first of the related instances of Effectivity.
related_effectivity: the second of the related instances of Effectivity.
ENTITY Lot_effectivity
SUBTYPE OF (Effectivity);
lot_id : STRING;
lot_size : Value_with_unit;
END_ENTITY;
lot_id: the identification of the batch of items.
lot_size: the size of the batch of items.
ENTITY Serial_effectivity
SUBTYPE OF (Effectivity);
start_id : STRING;
end_id :
OPTIONAL
STRING;
END_ENTITY;
start_id: the first valid serial number.
end_id: the last valid serial number. The value of the attribute need not be specified. If the value for this attribute is not specified, the interval of applicability has no upper bound.
ENTITY Time_interval_effectivity
SUBTYPE OF (Effectivity);
effectivity_period : Time_interval;
END_ENTITY;
effectivity_period: the Time_interval that defines the domain of validity.
TYPE effectivity_item =
EXTENSIBLE
SELECT;
END_TYPE;
ENTITY Effectivity_assignment;
assigned_effectivity : Effectivity;
role : STRING;
items : SET[1:?] OF effectivity_item;
END_ENTITY;
assigned_effectivity: the instance of the Effectivity entity that is assigned.
role:
the text that specifies the purpose of the association of the Effectivity with items.
For an Effectivity that identifies a period of time, if applicable, the following values shall be used:
items: the set of effectivity_item whose effectivity is characterized by this entity.
ENTITY Time_interval;
id : STRING;
name : STRING;
description :
OPTIONAL
STRING;
END_ENTITY;
id: the identifier for the Time_interval.
name: the words by which the Time_interval is known.
description: the text that provides further information about the Time_interval. The value of this attribute need not be specified.
ENTITY Time_interval_relationship;
relation_type : STRING;
description : STRING;
relating_time_interval : Time_interval;
related_time_interval : Time_interval;
END_ENTITY;
relation_type: the text that identifies the meaning of the relationship.
description: the text that provides further information about the Time_interval_relationship.
relating_time_interval: the first instance of Time_interval that is part of the relationship.
related_time_interval: the other instance of Time_interval. If one element of the relationship is dependent upon the other, this attribute shall be the dependent one.
If neither secondary_bound nor Duration are specified, the time interval begins at the point in time identified by primary_bound and has no specified end point.
ENTITY Time_interval_with_bounds
SUBTYPE OF (Time_interval);
primary_bound :
OPTIONAL
date_or_event;
secondary_bound :
OPTIONAL
date_or_event;
duration_from_primary_bound :
OPTIONAL
Duration;
WHERE
WR1: NOT (EXISTS (secondary_bound) AND EXISTS (duration_from_primary_bound));
WR2: EXISTS (primary_bound) OR EXISTS (secondary_bound);
END_ENTITY;
primary_bound: the bound of the Time_interval_with_bounds from which the length of the time interval is measured. The value of this attribute need not be specified.
secondary_bound: the other bound of the Time_interval_with_bounds. The value of this attribute need not be specified.
duration_from_primary_bound:
the Duration that specifies the length of the time interval from the primary bound.
If positive, the Time_interval_with_bounds defines a lower bounded time interval, else an upper bounded time interval.
The value of this attribute need not be specified.