ENTITY group_assignment; ABSTRACT SUPERTYPE; assigned_group : group; DERIVE role : object_role := get_role(SELF); WHERE wr1: SIZEOF(USEDIN(SELF, 'BASIC_ATTRIBUTE_SCHEMA.' + 'ROLE_ASSOCIATION.ITEM_WITH_ROLE')) <= 1; END_ENTITY; -- group_assignment |
Entity data types and their attributesgroup_assignmentassigned_group: group; (DER) role: object_role; |
Usersgroup_assignmentrole_association.item_with_role role_select |
Global rules for this entity data typesubtype_exclusiveness_group_assignment (AUTOMOTIVE_DESIGN)subtype_exclusiveness_group_assignment (CATALOG_DATA_INFORMATION_MIM) |
public interface EGroup_assignment extends EEntityassigned_group (explicit attribute)boolean testAssigned_group(EGroup_assignment type)EGroup getAssigned_group(EGroup_assignment type) void setAssigned_group(EGroup_assignment type, EGroup value) void unsetAssigned_group(EGroup_assignment type) role (derived attribute)EObject_role getRole(EGroup_assignment type)boolean testRole(EGroup_assignment type) |
public class CGroup_assignment implements EGroup_assignmentstatic EAttribute attributeAssigned_group(EGroup_assignment type)static int usedinAssigned_group(EGroup_assignment type, EGroup instance, ASdaiModel domain, AGroup_assignment result) static EAttribute attributeRole(EGroup_assignment type) static int usedinRole(EGroup_assignment type, EObject_role instance, ASdaiModel domain, AGroup_assignment result) |
public class AGroup_assignment extends AEntitypublic EGroup_assignment getByIndex(int index)public EGroup_assignment getCurrentMember(SdaiIterator it) |