ENTITY type_of_person SUBTYPE OF (person_type); has : OPTIONAL SET [1:?] OF person_type_definition; END_ENTITY; -- type_of_person |
Entity data types and their attributesperson_typeid: identifier; name: label; (OPT) description: text; type_of_person (OPT) has: SET [1:?] OF person_type_definition; |
Global rules for this entity data type- |
public interface EType_of_person extends EPerson_typehas (explicit attribute)boolean testHas(EType_of_person type)APerson_type_definition getHas(EType_of_person type) APerson_type_definition createHas(EType_of_person type) void unsetHas(EType_of_person type) |
public class CType_of_person implements EType_of_personstatic EAttribute attributeHas(EType_of_person type)static int usedinHas(EType_of_person type, EPerson_type_definition instance, ASdaiModel domain, AType_of_person result) |
public class AType_of_person extends AEntitypublic EType_of_person getByIndex(int index)public EType_of_person getCurrentMember(SdaiIterator it) |