ENTITY entity_definition SUBTYPE OF (entity_or_view_definition); complex : BOOLEAN; instantiable : BOOLEAN; independent : BOOLEAN; abstract_entity : BOOLEAN; connotational_subtype : BOOLEAN; DERIVE supertypes : LIST [0:?] OF UNIQUE entity_definition := get_list_of_entity_definition(generic_supertypes); INVERSE attributes : SET [0:?] OF attribute FOR parent; uniqueness_rules : SET [0:?] OF uniqueness_rule FOR parent_entity; global_rules : SET [0:?] OF global_rule FOR entities; END_ENTITY; -- entity_definition |
Entity data types and their attributesdata_typename: express_id; named_type (OPT) short_name: STRING; (INV) where_rules: SET [0:?] OF where_rule FOR parent_item; entity_or_view_definition generic_supertypes: LIST [0:?] OF UNIQUE entity_or_view_definition; entity_definition complex: BOOLEAN; instantiable: BOOLEAN; independent: BOOLEAN; abstract_entity: BOOLEAN; connotational_subtype: BOOLEAN; (DER) supertypes: LIST [0:?] OF UNIQUE entity_definition; (INV) attributes: SET [0:?] OF attribute FOR parent; (INV) uniqueness_rules: SET [0:?] OF uniqueness_rule FOR parent_entity; (INV) global_rules: SET [0:?] OF global_rule FOR entities; |
Global rules for this entity data type- |
public interface EEntity_definition extends EEntity_or_view_definitioncomplex (explicit attribute)boolean testComplex(EEntity_definition type)boolean getComplex(EEntity_definition type) void setComplex(EEntity_definition type, boolean value) void unsetComplex(EEntity_definition type) instantiable (explicit attribute)boolean testInstantiable(EEntity_definition type)boolean getInstantiable(EEntity_definition type) void setInstantiable(EEntity_definition type, boolean value) void unsetInstantiable(EEntity_definition type) independent (explicit attribute)boolean testIndependent(EEntity_definition type)boolean getIndependent(EEntity_definition type) void setIndependent(EEntity_definition type, boolean value) void unsetIndependent(EEntity_definition type) abstract_entity (explicit attribute)boolean testAbstract_entity(EEntity_definition type)boolean getAbstract_entity(EEntity_definition type) void setAbstract_entity(EEntity_definition type, boolean value) void unsetAbstract_entity(EEntity_definition type) connotational_subtype (explicit attribute)boolean testConnotational_subtype(EEntity_definition type)boolean getConnotational_subtype(EEntity_definition type) void setConnotational_subtype(EEntity_definition type, boolean value) void unsetConnotational_subtype(EEntity_definition type) supertypes (derived attribute)AEntity_definition getSupertypes(EEntity_definition type)boolean testSupertypes(EEntity_definition type) attributes (inverse attribute)AAttribute getAttributes(EEntity_definition type, ASdaiModel domain)uniqueness_rules (inverse attribute)AUniqueness_rule getUniqueness_rules(EEntity_definition type, ASdaiModel domain)global_rules (inverse attribute)AGlobal_rule getGlobal_rules(EEntity_definition type, ASdaiModel domain) |
public class CEntity_definition implements EEntity_definitionstatic EAttribute attributeComplex(EEntity_definition type)static EAttribute attributeInstantiable(EEntity_definition type) static EAttribute attributeIndependent(EEntity_definition type) static EAttribute attributeAbstract_entity(EEntity_definition type) static EAttribute attributeConnotational_subtype(EEntity_definition type) static EAttribute attributeSupertypes(EEntity_definition type) static int usedinSupertypes(EEntity_definition type, EEntity_definition instance, ASdaiModel domain, AEntity_definition result) static EAttribute attributeAttributes(EEntity_definition type) static EAttribute attributeUniqueness_rules(EEntity_definition type) static EAttribute attributeGlobal_rules(EEntity_definition type) |
public class AEntity_definition extends AEntitypublic EEntity_definition getByIndex(int index)public EEntity_definition getCurrentMember(SdaiIterator it) |