POSC Specifications: Epicentre Version 3.0 | Logical Data Model |
Move some entities which have the behavior of "codes" to be subtypes of Ref_code. Do not eliminate the inverse relationships under the assumption that all inverse relationships will be explicitly modeled.
CHANGE ERP_ref_code_new_subtypes ALTER ENTITY image_palette_type AS ref_image_palette_type DROP SUBTYPE OF (technical_object, reference_behavior) ADD SUBTYPE OF (ref_code); DROP identifier (*<CHANGE>Redundant to Ref_code.identifier*); DROP description (*<CHANGE>Redundant to Ref_data.description*); END_ENTITY; ALTER ENTITY line_style_type AS ref_line_style_type DROP SUBTYPE OF (technical_object, reference_behavior) ADD SUBTYPE OF (ref_code); DROP identifier (*<CHANGE>Redundant to Ref_code.identifier*); DROP description (*<CHANGE>Redundant to Ref_data.description*); END_ENTITY; ALTER ENTITY pattern_fill_type AS ref_pattern_fill_type DROP SUBTYPE OF (technical_object, reference_behavior) ADD SUBTYPE OF (ref_code); DROP identifier (*<CHANGE>Redundant to Ref_code.identifier*); DROP description (*<CHANGE>Redundant to Ref_data.description*); END_ENTITY; ALTER ENTITY symbol_type AS ref_symbol_type DROP SUBTYPE OF (technical_object, reference_behavior) ADD SUBTYPE OF (ref_code); DROP identifier (*<CHANGE>Redundant to Ref_code.identifier*); DROP description (*<CHANGE>Redundant to Ref_data.description*); END_ENTITY; ALTER ENTITY text_style_type AS ref_text_style_type DROP SUBTYPE OF (technical_object, reference_behavior) ADD SUBTYPE OF (ref_code); DROP identifier (*<CHANGE>Redundant to Ref_code.identifier*); DROP description (*<CHANGE>Redundant to Ref_data.description*); END_ENTITY; END_CHANGE;