POSC Specifications: Epicentre Version 3.0 | Logical Data Model |
This change proposes a general remark entity for business objects. Each remark is dated as an optional part, which is included in the uniqueness clause (therefore, only 1 undated remark allowed). No capability is defined to order these remarks except for the date information. Proposed instances for ref_remark_type include: 'source' = 'A comment describing the source of the remark.' 'quality' = 'A remark that relates to the quality of the business object being described.' 'history' = 'Unstructured information concerning the history of the object.'
CHANGE ESM_business_object_remark ADD ENTITY object_remark (*<desc> This is a dated remark for a business object. Each remark may have up to 2000 characters. A sequence number is assigned to each remark. Also, a date may be assigned. The type of the remark is allowed.*) SUBTYPE OF (technical_object); business_object : business_object (*<desc> This is the object that is the subject of this remark.*); sequence : ndt_pint4 (*<desc> This is the sequence number of the remark.*); text : ndt_comment (*<desc> This is the remark text.*); original_date : OPTIONAL ndt_date_tod (*<desc> This is the time and date of the remark. This represents when the remark is attributed to the object, which may be different from when the remark was recorded.*); ref_object_remark : OPTIONAL ref_object_remark (*<desc> This describes the type of the remark.*); UNIQUE si: business_object, sequence; END_ENTITY; ALTER ENTITY business_object; INVERSE ADD object_remark : SET[0:?] OF object_remark FOR business_object (*<desc> This is a sequenced set of datable remarks for this business object.*); END_ENTITY; ADD ENTITY ref_object_remark (*<population>open*) (*<desc> This defines the type of a remark for a business object.*) SUBTYPE OF (ref_code); UNIQUE si: identifier; END_ENTITY; END_CHANGE;