POSC Specifications: Epicentre Version 3.0 | Logical Data Model |
Add Objective as a subtype of Guideline_or_privilege and Objective_set as a subtype of Document_specification. Create Ref_guideline_or_priviledge as the supertype of all "types" of guidelines and privilege and move the "subject of" relationship from Guideline_or_privilege to Ref_guideline_or_priviledge. That is, classes may be related to types rather than specifics. Rename Ref_guideline_compliance_stat to Ref_guideline_compliance so that compliance characterizations other than status may be defined.
CHANGE ERP2_add_objective (*<REMARK>CHANGE ERP2_add_objective*) (*<DESC>Add Objective as a subtype of Guideline_or_privilege and Objective_set as a subtype of Document_specification. Create Ref_guideline_or_privilege as the supertype of all "types" of guidelines and privilege and move the "subject of" relationship from Guideline_or_privilege to Ref_guideline_or_privilege. That is, classes may be related to types rather than specifics. Rename Ref_guideline_compliance_stat to Ref_guideline_compliance so that compliance characterizations other than status may be defined. *) ADD ENTITY objective SUBTYPE OF (guideline_or_privilege); (*<DESC>A statement of an objective.*) objective_set : OPTIONAL objective_set (*<DESC>Specifies a group of objectives containing this one.*) (*<VERB>be a part of*); text: OPTIONAL ndt_text (*<DESC>The full text of the objective.*); ref_objective : ref_objective (*<DESC>The type of objective.*) (*<VERB>be a type of*); UNIQUE si : identifier, objective_set; END_ENTITY; ADD ENTITY objective_set SUBTYPE OF (document_specification); (*<DESC>A collection of objectives that may be applied to activities or business objects.*) INVERSE objective : SET [0:?] OF objective FOR objective_set (*<DESC>Indicates various objectives comprising this set.*) (*<VERB>be composed of*); UNIQUE si : identifier; END_ENTITY; ADD ENTITY ref_guideline_or_privilege ABSTRACT SUPERTYPE OF (ONEOF(ref_limitation, ref_regulation, ref_business_assoc_privilege, ref_guideline, ref_objective)) SUBTYPE OF (ref_code); (*<DESC>The abstract supertype of all types of guideline or privilege.*) INVERSE common_guideline_or_privilege : SET [0:?] OF common_guideline_or_privilege FOR guideline_or_privilege_type (*<DESC>These are the instances which utilize the semantics of this instance.*) (*<VERB>be referenced by*); END_ENTITY; ALTER ENTITY guideline_or_privilege; INVERSE DROP guideline_or_privilege_subject (*<CHANGE>Moved to Ref_guideline_or_privilege.*); END_ENTITY; ALTER ENTITY guideline_or_privilege_subject AS common_guideline_or_privilege DROP SUBTYPE OF (association) ADD SUBTYPE OF (association_reference) (*<POPULATION>LOCAL*) (*<DESC>This association asserts that a member of a class may commonly be subject to a guideline or privilege of a specified type.*); ALTER classification_class (*<DESC>This is the class whose members may be subject to a guideline or privilege which is of the specified type.*); ALTER guideline_or_privilege AS guideline_or_privilege_type ALTER TYPE AS ref_guideline_or_privilege (*<DESC>This is the type of guideline or privilege.*) (*<VERB>be the subject of*); END_ENTITY; ALTER ENTITY classification_class; INVERSE ALTER guideline_or_privilege AS common_guideline_or_privilege (*<DESC>These are the types of guideline or privilege that a member of this class may commonly be expected to be a subject of.*) (*<VERB>commonly have*); END_ENTITY; ADD ENTITY ref_objective SUBTYPE OF (ref_guideline_or_privilege); (*<DESC>The reference entity that describes the types of objectives.*) (*<POPULATION>LOCAL*) INVERSE objective : SET [0:?] OF objective FOR ref_objective (*<DESC>These are the instances which utilize the semantics of this instance.*) (*<VERB>be referenced by*); UNIQUE si : identifier; END_ENTITY; ALTER ENTITY ref_limitation DROP SUBTYPE OF (ref_code) ; END_ENTITY; ALTER ENTITY ref_regulation DROP SUBTYPE OF (ref_code) ; END_ENTITY; ALTER ENTITY ref_business_assoc_privilege DROP SUBTYPE OF (ref_code); END_ENTITY; ALTER ENTITY ref_guideline DROP SUBTYPE OF (ref_code) ; END_ENTITY; ALTER ENTITY ref_guideline_compliance_stat AS ref_guideline_compliance; (*<DESC>The reference entity that describes the available characterizations of compliance for guidelines, limitations, regulations, privileges, etc.*) END_ENTITY; ALTER ENTITY guideline_compliance; ALTER ref_guideline_compliance_stat AS ref_guideline_compliance (*<DESC>This characterizes the compliance statement. This will usually convey degree of compliance or noncompliance.*) (*<VERB>be characterized by*); END_ENTITY; END_CHANGE;