|
ENTITY Substance SUPERTYPE OF (ONEOF (Chemical_element, Chemical_compound, Physical_particle)) SUBTYPE OF (Product); UNIQUE UR1 : id; WHERE WR1: SIZEOF([ 'substance' ] * types_of_product(SELF))= 1; END_ENTITY; -- Substance |
Entity data types and their attributesProductid: STRING; (OPT) name: STRING; (OPT) description: STRING; Substance - |
| Chemical_compound (Chemical_substance_arm) |
| Chemical_element (Chemical_substance_arm) |
| Physical_particle (Chemical_substance_arm) |
Global rules for this entity data type- |