POSC Specifications: Epicentre Version 3.0 | Logical Data Model |
Add subtypes of material composition to allow for composition of types. This change represents and adjustment to change ERP_equipment.
CHANGE ERP_add_material_type_composition ALTER ENTITY material_composition ADD ABSTRACT; (*<DESC>Specification of a material which is composed of components.*) DROP incorporate (*<CHANGE>Move to subtype.*); ALTER composition_type ALTER TYPE AS ref_composition_type (*<DESC>Defines the type of composition such as assembly, linear assembly or collection.*) (*<VERB>have a type of*); INVERSE DROP pty_mole_fraction (*<CHANGE>Move to subtype.*); DROP pty_mass_fraction (*<CHANGE>Move to subtype.*); DROP pty_volume_fraction (*<CHANGE>Move to subtype.*); UNIQUE DROP si (*<CHANGE>Moved to subtypes.*); END_ENTITY; DROP TYPE ndt_composition_type (*<CHANGE>Moved to ref_composition_type.*); ADD ENTITY ref_composition_type SUBTYPE OF (ref_code); (*<POPULATION>OPEN*) (*<DESC>These are the types of composition such as assembly, linear assembly or collection.*) INVERSE material_composition : SET[0:?] OF material_composition FOR composition_type (*<DESC>These are the instances which utilize the semantics of this instance.*) (*<VERB>be referenced by*); UNIQUE si: identifier; END_ENTITY; ADD ENTITY material_specific_composition SUBTYPE OF (material_composition); (*<DESC>Specification of a material which is composed of a specific component.*) component_material : material (*<DESC>This is a specific material that is a component of the material whose composition is being described.*); UNIQUE si: end_time, start_time, characterize, component_material; END_ENTITY; ALTER ENTITY material; INVERSE ALTER material_composition AS component_of ALTER TYPE AS material_specific_composition ALTER FOR AS component_material; END_ENTITY; ADD ENTITY material_type_composition SUBTYPE OF (material_composition); (*<DESC>Specification of a material which is composed of a type of component.*) component_class : material_class (*<DESC>This is a type of material that is a component of the material whose composition is being described.*); count : OPTIONAL ndt_pint4 (*<DESC>This is a repetition count component of the component class. The material is composed of this number of specifics which are a member of the class.*); INVERSE pty_mole_fraction : SET [0:?] OF pty_mole_fraction FOR material_composition (*<VERB>have a property of*); pty_mass_fraction : SET [0:?] OF pty_mass_fraction FOR material_composition (*<VERB>have a property of*); pty_volume_fraction : SET [0:?] OF pty_volume_fraction FOR material_composition (*<VERB>have a property of*); UNIQUE si: end_time, start_time, characterize, component_class; END_ENTITY; ALTER ENTITY pty_mole_fraction; ALTER material_composition AS material_type_composition ALTER TYPE AS material_type_composition; END_ENTITY; ALTER ENTITY pty_mass_fraction ; ALTER material_composition AS material_type_composition ALTER TYPE AS material_type_composition; END_ENTITY; ALTER ENTITY pty_volume_fraction; ALTER material_composition AS material_type_composition ALTER TYPE AS material_type_composition; END_ENTITY; END_CHANGE;