POSC Specifications: Epicentre Version 3.0 | Logical Data Model |
Eliminate Technical_object as a supertype of the subtypes of Subject_of_guideline_or_privilege and then drop it.
CHANGE ERP_subject_of_guideline_or_privilege DROP ENTITY subject_of_guideline_or_privilege (*<CHANGE>No longer useful since most uses of "typical" has been moved to class.*); ALTER ENTITY guideline_or_privilege; ALTER subject_of_guideline_or_privilege ALTER INVERT ALTER TYPE AS guideline_or_privilege_subject ALTER FOR AS guideline_or_privilege (*<DESC>These are the classes for which this guideline, limitation, regulation or privilege is defined. It is intended that the objects and activities to which these classes are then assigned are subject to this guideline, etc.*); END_ENTITY; ALTER ENTITY classification_class DROP SUBTYPE OF (technical_object) ADD SUBTYPE OF (aliasable_technical_reference); DROP name (*<CHANGE>Redundant to Technical_reference.identifier.*); DROP description (*<CHANGE>Redundant to Technical_object.description.*); DROP classification_system (*<CHANGE>Redundant to Aliasable_technical_reference.naming_system.*); INVERSE ADD guideline_or_privilege : SET [0:?] OF guideline_or_privilege_subject FOR classification_class (*<DESC>These are the guidelines, limitations, regulations and privileges that are defined with respect to this class. This relationship defines the guidelines, etc., that apply to the objects or activities to which this instance is assigned.*) (*<VERB>be the subject of*); END_ENTITY; ADD ENTITY guideline_or_privilege_subject SUBTYPE OF (association); (*<DESC>This association asserts that a guideline or privilege is defined for a class.*) (*<CHANGE>Replaces subject_of_guideline_or_privilege >- be the subject of/be defined for -< guideline_or_privilege. Previously implemented as table SUBJ_GDLN_PRIV_X.*) classification_class: classification_class (*<DESC>This is a class for which the guideline, limitation, regulation or privilege is defined.*) (*<VERB>be defined for*); guideline_or_privilege : guideline_or_privilege (*<DESC>This is a guideline, limitation, regulation or privilege that is defined with respect to the class.*) (*<VERB>be the subject of*); UNIQUE si : classification_class, guideline_or_privilege; END_ENTITY; ALTER ENTITY reserves_class; UNIQUE ALTER si DROP name, classification_system ADD identifier, naming_system FIRST; END_ENTITY; ALTER ENTITY document_specification_class; UNIQUE ALTER si DROP name, classification_system ADD identifier, naming_system FIRST; END_ENTITY; ALTER ENTITY activity_class; UNIQUE ALTER si DROP name, classification_system ADD identifier, naming_system FIRST; END_ENTITY; ALTER ENTITY facility_class; UNIQUE ALTER si DROP name, classification_system ADD identifier, naming_system FIRST; END_ENTITY; ALTER ENTITY material_class; UNIQUE ALTER si DROP name, classification_system ADD identifier, naming_system FIRST; END_ENTITY; ALTER ENTITY well_log_trace_class; UNIQUE ALTER si DROP name, classification_system ADD identifier, naming_system FIRST; END_ENTITY; ALTER ENTITY typical_object ADD SUBTYPE OF (aliasable_technical_reference); END_ENTITY; ALTER ENTITY typical_activity DROP SUBTYPE OF (technical_object) ADD SUBTYPE OF (typical_object); DROP name (*<CHANGE>Redundant to Technical_reference.identifier.*); DROP description (*<CHANGE>Redundant to Technical_object.description.*); UNIQUE ALTER si DROP name ADD identifier FIRST; END_ENTITY; ALTER ENTITY typical_facility DROP SUBTYPE OF (technical_object); DROP name (*<CHANGE>Redundant to Technical_reference.identifier.*); DROP description (*<CHANGE>Redundant to Technical_object.description.*); UNIQUE ALTER si DROP name ADD identifier FIRST; END_ENTITY; ALTER ENTITY typical_document_specification DROP SUBTYPE OF (technical_object) ; DROP identifier (*<CHANGE>Redundant to Technical_reference.identifier.*); DROP description (*<CHANGE>Redundant to Technical_object.description.*); END_ENTITY; ALTER ENTITY typical_material; DROP name (*<CHANGE>Redundant to Technical_reference.identifier.*); DROP description (*<CHANGE>Redundant to Technical_object.description.*); DROP ref_naming_system (*<CHANGE>Redundant to Aliasable_technical_reference.naming_system.*); END_ENTITY; END_CHANGE;