POSC Specifications: Epicentre Version 3.0 | Logical Data Model |
Add new subtypes of pty_generic_property. Add a reciprocal relationship on Property which asserts that one property is an equivalent representation of another property. Move the existing relationships up to material and facility.
CHANGE ERP2_generic_property (*<REMARK> CHANGE ERP2_generic_property *) (*<DESC> Add new subtypes of pty_generic_property. Add a reciprocal relationship on Property which asserts that one property is an equivalent representation of another property. Move the existing relationships up to material and facility. *) ALTER ENTITY property; ADD represent : OPTIONAL property (*<DESC>This is the property that is the original for which this representation is an equivalent representation.*) (*<VERB>be an equivalent representation of*); INVERSE ADD representations : SET[0:?] OF property FOR represent (*<DESC>This designates other properties that are stated to be equivalent representations of this property representation, such as the same geometry using another coordinate system.*) (*<VERB>have as equivalent representations*); END_ENTITY; ALTER ENTITY grid_geometry_behavior; DROP represent (*<CHANGE>Moved to property.*); INVERSE DROP representations (*<CHANGE>Moved to property.*); END_ENTITY; ALTER ENTITY pty_generic_property (*<DESC>A generic property characteristic. The characteristic is defined by a property kind, a value representation, and a time defining when the property is associated with the object.*); DROP equipment_item (*<CHANGE>Redundant to material.*); ALTER general_facility AS facility ALTER TYPE AS facility; ALTER other_material AS material ALTER TYPE AS material; UNIQUE ALTER si DROP equipment_item; END_ENTITY; ALTER ENTITY facility; INVERSE ADD pty_generic_property : SET[0:?] OF pty_generic_property FOR facility (*<VERB>have a property of*); END_ENTITY; ALTER ENTITY material; INVERSE ADD pty_generic_property : SET[0:?] OF pty_generic_property FOR material (*<VERB>have a property of*); END_ENTITY; ALTER ENTITY general_facility; INVERSE DROP pty_generic_property (*<CHANGE>Moved to facility.*); END_ENTITY; ALTER ENTITY equipment_item; INVERSE DROP pty_generic_property (*<CHANGE>Moved to material.*); END_ENTITY; ALTER ENTITY other_material; INVERSE DROP pty_generic_property (*<CHANGE>Moved to material.*); END_ENTITY; --- subtypes ADD ENTITY pty_generic_integer SUBTYPE OF (pty_generic_property) (*<DESC>A property whose value is represented by an integer value. The meaning or role of the value is given by the property kind.*); data_value : ndt_int4 (*<DESC>An integer representation of a property value.*); END_ENTITY; ADD ENTITY pty_generic_binary SUBTYPE OF (pty_generic_property) (*<DESC>A property whose value is represented by a binary value. The meaning or role of the value is given by the property kind.*); data_value : ndt_binary (*<DESC>A binary representation of a property value.*); END_ENTITY; ADD ENTITY pty_generic_logical SUBTYPE OF (pty_generic_property) (*<DESC>A property whose value is represented by a logical value. The meaning or role of the date value is given by the property kind.*); data_value : ndt_logical (*<DESC>A logical representation of a property value.*); END_ENTITY; ADD ENTITY pty_generic_boolean SUBTYPE OF (pty_generic_property) (*<DESC>A property whose value is represented by a boolean value. The meaning or role of the date value is given by the property kind.*); data_value : ndt_boolean (*<DESC>A boolean representation of a property value.*); END_ENTITY; ADD ENTITY pty_generic_real SUBTYPE OF (pty_generic_property) (*<DESC>A property whose value is represented by a real value. The meaning or role of the date value is given by the property kind.*); data_value : ndt_real8 (*<DESC>A real representation of a property value.*); END_ENTITY; ADD ENTITY pty_generic_enumeration SUBTYPE OF (pty_generic_property) (*<DESC>A property whose value is represented by an enumeration value. The enumeration values are captured as standard instance data. The meaning or role of the date value is given by the property kind.*); data_value : generic_enumeration (*<DESC>A real representation of a property value.*) (*<VERB>represent a value of*); END_ENTITY; ADD ENTITY generic_enumeration SUBTYPE OF (aliasable_technical_reference) (*<DESC>These are enumeration values for use by generic properties. Each enumeration value is defined within the context of a naming system.*); INVERSE pty_generic_enumeration : SET [0:?] OF pty_generic_enumeration FOR data_value (*<DESC>These are the generic properties which asserted this enumeration value.*) (*<VERB>represent*); UNIQUE si : identifier, naming_system; END_ENTITY; ADD ENTITY pty_generic_ratio SUBTYPE OF (pty_generic_property) (*<DESC>A property whose value is represented by a ratio value. The meaning or role of the date value is given by the property kind.*); data_value : ndt_ratio (*<DESC>A ratio representation of a property value.*); END_ENTITY; ADD ENTITY pty_generic_money SUBTYPE OF (pty_generic_property) (*<DESC>A property whose value is represented by a pty_money value. The meaning or role of the date value is given by the property kind.*); data_value : ndt_money (*<DESC>A pty_money representation of a property value.*); END_ENTITY; ADD ENTITY pty_generic_rational SUBTYPE OF (pty_generic_property) (*<DESC>A property whose value is represented by a rational value. The meaning or role of the date value is given by the property kind.*); data_value : ndt_rational (*<DESC>A rational representation of a property value.*); END_ENTITY; ADD ENTITY pty_generic_angle SUBTYPE OF (pty_generic_property) (*<DESC>A property whose value is represented by a angle value. The meaning or role of the date value is given by the property kind.*); data_value : ndt_earth_angle (*<DESC>A angle representation of a property value.*); END_ENTITY; ADD ENTITY pty_generic_daytimeinterval SUBTYPE OF (pty_generic_property) (*<DESC>A property whose value is represented by a daytimeinterval value. The meaning or role of the date value is given by the property kind.*); data_value : ndt_day_interval (*<DESC>A daytimeinterval representation of a property value.*); END_ENTITY; ADD ENTITY pty_generic_time SUBTYPE OF (pty_generic_property) (*<DESC>A property whose value is represented by a time value. The meaning or role of the date value is given by the property kind.*); data_value : ndt_time (*<DESC>A time representation of a property value.*); END_ENTITY; ADD ENTITY pty_generic_volume SUBTYPE OF (pty_generic_property, grid_geometry_behavior) (*<DESC>A property whose value is represented by a volume value. The meaning or role of the date value is given by the property kind.*); data_value : ndt_generic_volume (*<DESC>A volume representation of a property value.*); END_ENTITY; ADD TYPE ndt_generic_volume = volume('', '', 6) (*<DESC>Defines the domain for the geometry of a region. The choice of coordinate system is unconstrained.*); END_TYPE; ADD ENTITY pty_generic_surface SUBTYPE OF (pty_generic_property, grid_geometry_behavior) (*<DESC>A property whose value is represented by a surface value. The meaning or role of the date value is given by the property kind.*); data_value : ndt_generic_surface (*<DESC>A surface representation of a property value.*); END_ENTITY; ADD TYPE ndt_generic_surface = surface('', '', 6) (*<DESC>Defines the domain for the geometry of a surface. The choice of coordinate system is unconstrained.*); END_TYPE; ADD ENTITY pty_generic_location SUBTYPE OF (pty_generic_property) (*<DESC>A property whose value is represented by a location value. The meaning or role of the date value is given by the property kind.*); data_value : ndt_location (*<DESC>A location representation of a property value.*); END_ENTITY; ADD ENTITY pty_generic_probability SUBTYPE OF (pty_generic_quantity) (*<DESC>A property whose value is represented by a quantity value and also specifies the associated probability information. The meaning or role of the date value is given by the property kind.*); distribution : OPTIONAL ndt_line (*<desc> This is the description of the value of this property as a function of probability. The conventional representation of this property is recorded in the data value attribute.*); distribution_type : OPTIONAL ndt_probability_distribution_type (*<desc> This describes the shape of the probability distribution. This shape should be used to interpolate between values.*); standard_deviation : OPTIONAL ndt_real4 (*<desc> The standard deviation of the probability distribution.*); minimum_value : OPTIONAL ndt_real4 (*<desc> The minimum value of the probability distribution. This value is in the same units of measure as the data_value.*); mode_value : OPTIONAL ndt_real4 (*<desc> The mode value of the probability distribution. This value is in the same units of measure as the data_value.*); maximum_value : OPTIONAL ndt_real4 (*<desc> The maximum value of the probability distribution. This value is in the same units of measure as the data_value.*); END_ENTITY; ALTER ENTITY pty_date AS pty_generic_date; ALTER date_value AS data_value; END_ENTITY; ALTER ENTITY pty_string AS pty_generic_string; ALTER string_value AS data_value ALTER TYPE AS ndt_string_255; END_ENTITY; ALTER ENTITY pty_line AS pty_generic_line; ALTER line_value AS data_value; END_ENTITY; ALTER ENTITY pty_point AS pty_generic_point; ALTER point_value AS data_value; END_ENTITY; ALTER ENTITY pty_quantity AS pty_generic_quantity; ALTER quantity_value AS data_value; END_ENTITY; ALTER ENTITY pty_element_value AS pty_generic_element DROP SUBTYPE OF (property) ADD SUBTYPE OF (pty_generic_property); DROP locatable_object; DROP typical_facility; DROP typical_material; UNIQUE ALTER si DROP locatable_object, typical_facility, typical_material; END_ENTITY; ALTER ENTITY locatable_object; INVERSE DROP pty_element_value (*<CHANGE>Moved to material and facility generic property.*); END_ENTITY; ALTER ENTITY typical_facility; INVERSE DROP pty_element_value (*<CHANGE>Redundant to generic property.*); END_ENTITY; ALTER ENTITY typical_material; INVERSE DROP pty_element_value (*<CHANGE>Redundant to generic property.*); END_ENTITY; --- descriptive text ALTER ENTITY pty_descriptive_text; DROP material (*<CHANGE>Redundant to generic property.*); DROP wellbore_interval (*<CHANGE>Redundant to generic property.*); DROP wellbore_point (*<CHANGE>Redundant to generic property.*); UNIQUE ALTER si DROP material, wellbore_interval, wellbore_point; END_ENTITY; ALTER ENTITY material; INVERSE DROP descriptive_text (*<CHANGE>Redundant to generic property.*); END_ENTITY; ALTER ENTITY wellbore_interval; INVERSE DROP descriptive_text (*<CHANGE>Redundant to generic property.*); END_ENTITY; ALTER ENTITY wellbore_point; INVERSE DROP descriptive_text (*<CHANGE>Redundant to generic property.*); END_ENTITY; END_CHANGE;