POSC Specifications: Epicentre Version 3.0 | Logical Data Model |
Alter the Material hierarchy to include Document and to drop Rock_material_part.
CHANGE ERP_material_hierarchy ALTER ENTITY material; ADD identifier : ndt_identifier (*<DESC>The unique name of the material.*); INVERSE ADD descriptive_text : SET [0:?] OF pty_descriptive_text FOR material (*<DESC>Versionable descriptive text describing the material. This is a property, and hence versionable, so that different opinions of the material, perhaps derived from different activities, may be recorded.*) (*<VERB>have a property of*); END_ENTITY; ALTER ENTITY document ADD SUBTYPE OF (material); INVERSE DROP geoscience_interpretation (*<CHANGE>Redundant to Material.used_by_activity.*); END_ENTITY; ALTER ENTITY geoscience_interpretation; DROP document (*<CHANGE>Redundant to Activity.utilize_material.*); END_ENTITY; ALTER ENTITY cement DROP SUBTYPE OF (technical_object); DROP identifier (*<CHANGE>Moved to Material.identifier.*); END_ENTITY; ALTER ENTITY specific_fluid_component DROP SUBTYPE OF (technical_object); DROP identifier (*<CHANGE>Moved to Material.identifier.*); UNIQUE ALTER si ADD ref_existence_kind LAST (*<CHANGE>Currently missing.*); END_ENTITY; DROP ENTITY rock_feature_part (*<CHANGE>Only remaining behavior moved up to Rock_material.*); ALTER ENTITY rock_material; ADD rock_material : OPTIONAL rock_material (*<DESC>This is the rock material of which this is a part.*) (*<VERB>be part of*); INVERSE ALTER rock_feature_part AS component_parts ALTER TYPE as rock_material; END_ENTITY; ALTER ENTITY rock_sample ADD SUBTYPE OF (rock_material); INVERSE DROP pty_geometry_3d_face (*<CHANGE>Replaced by Locatable_object.located_by.*); DROP pty_geometry_2d_edge (*<CHANGE>Replaced by Locatable_object.located_by.*); END_ENTITY; ALTER ENTITY core; INVERSE DROP pty_geometry_2d_face (*<CHANGE>Replaced by Locatable_object.located_by.*); DROP pty_geometry_3d_edge (*<CHANGE>Replaced by Locatable_object.located_by.*); DROP pty_geometry_1d_edge (*<CHANGE>Replaced by Locatable_object.located_by.*); DROP pty_geometry_3d_shell (*<CHANGE>Replaced by Locatable_object.located_by.*); DROP pty_geometry_3d_region (*<CHANGE>Replaced by Locatable_object.located_by.*); DROP pty_geometry_3d_ring (*<CHANGE>Replaced by Locatable_object.located_by.*); DROP pty_geometry_2d_ring (*<CHANGE>Replaced by Locatable_object.located_by.*); END_ENTITY; ALTER ENTITY rock_thin_section; INVERSE DROP pty_geometry_2d_face (*<CHANGE>Replaced by Locatable_object.located_by.*); END_ENTITY; ALTER ENTITY subsurface_rock_segment DROP SUBTYPE OF (technical_object) ADD SUBTYPE OF (rock_material); DROP identifier (*<CHANGE>Moved to Earth_feature.identifier.*); END_ENTITY; ALTER ENTITY local_rock_feature DROP SUBTYPE OF (technical_object) ADD SUBTYPE OF (rock_material); DROP identifier (*<CHANGE>Moved to Earth_feature.identifier.*); UNIQUE ALTER si ADD ref_existence_kind LAST (*<CHANGE>Currently missing.*); END_ENTITY; ALTER ENTITY rock_component DROP SUBTYPE OF (technical_object) ADD SUBTYPE OF (rock_material); DROP identifier (*<CHANGE>Moved to Earth_feature.identifier.*); END_ENTITY; ALTER ENTITY rock_in_outcrop DROP SUBTYPE OF (technical_object) ADD SUBTYPE OF (rock_material); DROP identifier (*<CHANGE>Moved to Earth_feature.identifier.*); UNIQUE ALTER si ADD outcrop LAST (*<CHANGE>Allows the material to be identified in the context of the named feature.*); END_ENTITY; ALTER ENTITY reservoir_fluid_system DROP SUBTYPE OF (business_object); DROP identifier (*<CHANGE>Moved to Earth_feature.identifier.*); END_ENTITY; ALTER ENTITY fluid_filtrate; UNIQUE DROP si (*<CHANGE>Redundant to SI in non-abstract supertype.*); END_ENTITY; ALTER ENTITY pressurized_fluid_sample; UNIQUE DROP si (*<CHANGE>Redundant to SI in non-abstract supertype.*); END_ENTITY; ALTER ENTITY pty_descriptive_text; ALTER material_sample AS material ALTER TYPE AS material; END_ENTITY; ALTER ENTITY pty_geometry_3d_face; DROP rock_sample (*<CHANGE>Replaced by Pty_geometry_3d_face.face.*); UNIQUE ALTER si DROP rock_sample; END_ENTITY; ALTER ENTITY pty_geometry_2d_face; DROP core (*<CHANGE>Replaced by Pty_geometry_2d_face.face.*); DROP rock_thin_section (*<CHANGE>Replaced by Pty_geometry_2d_face.face.*); UNIQUE ALTER si DROP core, rock_thin_section; END_ENTITY; ALTER ENTITY pty_geometry_3d_edge; DROP core (*<CHANGE>Replaced by Pty_geometry_3d_edge.edge.*); UNIQUE ALTER si DROP core; END_ENTITY; ALTER ENTITY pty_geometry_2d_edge; DROP rock_sample (*<CHANGE>Replaced by Pty_geometry_2d_edge.edge.*); UNIQUE ALTER si DROP rock_sample; END_ENTITY; ALTER ENTITY pty_geometry_1d_edge; DROP core (*<CHANGE>Replaced by Pty_geometry_1d_edge.edge.*); END_ENTITY; ALTER ENTITY pty_geometry_simple_1d_edge; UNIQUE ALTER si DROP core; END_ENTITY; ALTER ENTITY pty_geometry_complex_1d_edge; UNIQUE ALTER si DROP core; END_ENTITY; ALTER ENTITY pty_geometry_3d_shell; DROP core (*<CHANGE>Replaced by Pty_geometry_3d_shell.shell.*); UNIQUE ALTER si DROP core; END_ENTITY; ALTER ENTITY pty_geometry_3d_region; DROP core (*<CHANGE>Replaced by Pty_geometry_3d_region.region.*); UNIQUE ALTER si DROP core; END_ENTITY; ALTER ENTITY pty_geometry_3d_ring; DROP core (*<CHANGE>Replaced by Pty_geometry_3d_ring.ring.*); UNIQUE ALTER si DROP core; END_ENTITY; ALTER ENTITY pty_geometry_2d_ring; DROP core (*<CHANGE>Replaced by Pty_geometry_2d_ring.ring.*); UNIQUE ALTER si DROP core; END_ENTITY; END_CHANGE;