POSC Specifications: Epicentre Version 3.0 | Logical Data Model |
Make equipment a subtype of material. Resolve the variations of composition. The change to allow a facility to be classified as to its material nature allows many of the associations to "typical" to be eliminated.
CHANGE ERP_equipment (*<REMARK>See change facility_classification. *) ALTER ENTITY equipment_item ADD SUBTYPE OF (material); DROP description (*<CHANGE>Redundant to Material.description.*); DROP ref_existence_kind (*<CHANGE>Redundant to Material.ref_existence_kind.*); INVERSE DROP equipment_installation (*<CHANGE>Redundant to Material.material_installation.*); DROP composed_of (*<CHANGE>Redundant to Material.contain_material.*); DROP fulfillment (*<CHANGE>Redundant to Material.fulfillment.*); DROP fulfill (*<CHANGE>Redundant to Material.fulfill.*); DROP equipment_item_classification (*<CHANGE>Redundant to Material.material_classification.*); DROP equipment_item_collection (*<CHANGE>Redundant to Material.component_of_material.*); DROP equipment_item_assembly (*<CHANGE>Redundant to Material.component_of_material.*); DROP utilized_in_activity (*<CHANGE>Redundant to Material.used_by_activity.*); END_ENTITY; ALTER ENTITY activity; DROP utilize_equipment (*<CHANGE>Redundant to Activity.utilize_material.*); END_ENTITY; DROP ENTITY equipment_fulfillment (*<CHANGE>Redundant to Material_fulfillment.*); DROP ENTITY equipment_class (*<CHANGE>Redundant to Material_class.*); DROP ENTITY equipment_class_classification (*<CHANGE>Redundant to Material_class_classification.*); DROP ENTITY equipment_item_classification (*<CHANGE>Redundant to Material_classification.*); DROP ENTITY equipment_item_installation (*<CHANGE>Redundant to Material_installation.*); DROP ENTITY equipment_installation (*<CHANGE>Redundant to Material_installation.*); DROP ENTITY equipment_composition (*<CHANGE>Redundant to Material_composition.*); DROP ENTITY equipment_item_collection (*<CHANGE>Redundant to Material_composition.*); DROP ENTITY equipment_item_assembly (*<CHANGE>Redundant to Material_composition.*); DROP ENTITY catalog_item_collection (*<CHANGE>Redundant to Material_classification.*); DROP ENTITY catalog_item_assembly (*<CHANGE>Redundant to Material_classification.*); DROP ENTITY catalog_equipment_installation (*<CHANGE>Redundant to Facility_classification.*); DROP ENTITY typical_facility_equipment_specification (*<CHANGE>Redundant to Typical_facility_classification.*); DROP ENTITY typical_facility_material_specification (*<CHANGE>Redundant to Typical_facility_classification.*); DROP ENTITY catalog_equipment_material_specification (*<CHANGE>Redundant to Typical_material_classification.*); DROP ENTITY catalog_equipment_composition (*<CHANGE>Redundant to Typical_material_composition.*); DROP ENTITY material_typification (*<CHANGE>Redundant to Material_classification.*); DROP ENTITY catalog_equipment; ALTER ENTITY catalog_equipment_version AS typical_material_version; (*<DESC>An association that indicates one typical material as being derived from another typical material. The specification of one is based on the specification of another. A specification can be derived from one or m ore other typical material specifications.*) ALTER original ALTER TYPE AS typical_material (*<DESC>Indicates the typical material which acts as the original.*); ALTER version ALTER TYPE AS typical_material (*<DESC>Indicates the typical material that is being described as the version.*); END_ENTITY; ALTER ENTITY catalog_equipment_succession AS typical_material_succession; (*<DESC>An association that indicates a typical material succeeds another typical material (e.g., a new model replaces one or more older models).*) ALTER succeeded ALTER TYPE AS typical_material (*<DESC>Indicates the typical material that is being succeeded by another typical material.*); ALTER successor ALTER TYPE AS typical_material (*<DESC>Indicates the typical material which succeeds or replaces another typical material.*); END_ENTITY; ALTER ENTITY catalog_equipment_classification AS typical_material_classification; (*<DESC>An association that classifies typical material as a class of material. Typical material may have many such classifications simultaneously and sequentially.*) ALTER equipment_class AS material_class ALTER TYPE AS material_class (*<DESC>Indicates the material class being used to classify a typical material.*); ALTER member AS typical_material ALTER TYPE AS typical_material (*<DESC>Indicates the typical material to be a member of an material class*); END_ENTITY; ALTER ENTITY facility; INVERSE DROP equipment_installation (*<CHANGE>Redundant to Facility.material_installation.*); END_ENTITY; ALTER ENTITY typical_facility; INVERSE DROP typical_facility_equipment_specification (*<CHANGE>Redundant to Typical_facility.typical_facility_classification.*); DROP typical_facility_material_specification (*<CHANGE>Redundant to Typical_facility.typical_facility_classification.*); END_ENTITY; ALTER ENTITY material; INVERSE DROP material_typification (*<CHANGE>Redundant to Material.material_classification.*); ALTER component_of_material AS material_composition ALTER TYPE AS material_composition; END_ENTITY; ALTER ENTITY typical_material; ADD end_date : OPTIONAL ndt_date (*<DESC>The end date of the typical material specification after which it is invalid.*) (*<CHANGE>Moved from Catalog_equipment.*); ADD start_date : OPTIONAL ndt_date (*<DESC>The creation date of the typical material specification.*) (*<CHANGE>Moved from Catalog_equipment.*); INVERSE DROP catalog_equipment_material_specification (*<CHANGE>Redundant to material_classification.*); DROP typical_facility_material_specification (*<CHANGE>Redundant to facility_classification.*); DROP material_typification (*<CHANGE>Redundant to Typical_material.material_classification.*); ADD originals : SET [0:?] OF typical_material_version FOR version (*<DESC>The typical material designs used to derive this typical material.*) (*<VERB>be the version of*); ADD versions : SET [0:?] OF typical_material_version FOR original (*<DESC>The typical material versions that have been derived from this typical material.*) (*<VERB>be the original for*); ADD succeeds : SET [0:?] OF typical_material_succession FOR successor (*<DESC>The typical material that are succeeded by or replaced with this typical material.*) (*<VERB>be the successor for*); ADD successors : SET [0:?] OF typical_material_succession FOR succeeded (*<DESC>The typical material that succeed or replace this typical material.*) (*<VERB>be succeeded by*); ADD material_class : SET [0:1] OF material_class FOR archetype_typical (*<DESC>This is the material class that gets its definition from this typical material. It is the material class that is defined by this archetype typical material.*) (*<VERB>have definition provided by*); ALTER material_classification AS typical_material_classification ALTER TYPE AS typical_material_classification; END_ENTITY; ALTER ENTITY material_class; ADD archetype_typical : OPTIONAL typical_material (*<DESC>This the typical material that provides definition for this material class.*) (*<VERB>provide definition for*) (*<CHANGE>This will allow class to be utilized instead of typical for most semantics. This is consistent with the pattern defined by rock feature in V2.2.*); INVERSE ADD typical_material_members : SET [0:?] OF typical_material_classification FOR material_class (*<DESC>Gives the classifications of typical material that use this class.*) (*<VERB>be the class for*); WHERE ADD ose : NOT ( EXISTS( rock_feature ) AND EXISTS( typical_material ) ) (*<DESC>A class may be defined by a rock feature or a typical material but not both.*) (*<RULETYPE>OSE*); END_ENTITY; ALTER ENTITY material_classification; DROP typical_material (*<CHANGE>Moved to Typical_material_classification.*); ALTER material DROP OPTIONAL; UNIQUE ALTER si DROP typical_material; WHERE DROP mse; END_ENTITY; DROP ENTITY component_material (*<CHANGE>Moved up to Material_composition.*); ALTER ENTITY material_composition DROP ABSTRACT; ALTER characterize DROP OPTIONAL; ADD incorporate : material (*<DESC>This describes another material that is a component of the material whose composition is being described.*) (*<VERB>incorporate*) (*<CHANGE>Moved from Component_material.*); ADD uncertainty_class : OPTIONAL uncertainty_class (*<DESC>Indicates the degree of confidence or certainty associated with this composition.*) (*<VERB>be classified by*) (*<CHANGE>Moved from Component_material.*); ADD composition_type : ndt_composition_type (*<DESC>Defines the type of composition: assembly or collection.*); INVERSE ADD pty_mole_fraction : SET [0:?] OF pty_mole_fraction FOR material_composition (*<VERB>have a property of*) (*<CHANGE>Moved from Component_material.*); ADD pty_mass_fraction : SET [0:?] OF pty_mass_fraction FOR material_composition (*<VERB>have a property of*) (*<CHANGE>Moved from Component_material.*); ADD pty_volume_fraction : SET [0:?] OF pty_volume_fraction FOR material_composition (*<VERB>have a property of*) (*<CHANGE>Moved from Component_material.*); UNIQUE ADD si: end_time, start_time, characterize, incorporate; END_ENTITY; ADD TYPE ndt_composition_type = ENUMERATION OF ( assembly (*<DESC>An assembly where the parts bear a particular functional or structural relationship to one another.*), collection (*<DESC>A collection where the parts do not bear a particular functional or structural relationship to one another.*) ); (*<DESC>Lists the type of compositions.*) (*<REMARK>This list could be upgraded, see http://www.intellicorp.com/ooieonline/compkind.html .*) END_TYPE; ALTER ENTITY component_material_type AS typical_material_composition DROP SUBTYPE OF (material_composition) ADD SUBTYPE OF (transient_association); (*<CHANGE>The capability of characterizing a specific material with a typical material is redundant to material classification.*) ALTER described_material_type DROP OPTIONAL; UNIQUE ALTER si DROP characterize; WHERE DROP mse; END_ENTITY; ALTER ENTITY uncertainty_class; INVERSE DROP material_typification; ALTER component_material AS material_composition ALTER TYPE AS material_composition (*<DESC>Defines the set of material compositions which are characterized by this uncertainty class.*); END_ENTITY; ALTER ENTITY pty_mole_fraction; ALTER component_material AS material_composition ALTER TYPE AS material_composition; END_ENTITY; ALTER ENTITY pty_mass_fraction ; ALTER component_material AS material_composition ALTER TYPE AS material_composition; END_ENTITY; ALTER ENTITY pty_volume_fraction; ALTER component_material AS material_composition ALTER TYPE AS material_composition; END_ENTITY; END_CHANGE;