ENTITY picture_representation SUBTYPE OF (presentation_view); SELF\representation.items : SET [2:?] OF picture_representation_item_select; INVERSE size : presentation_size FOR unit; WHERE wr1: SIZEOF(QUERY(items <* SELF\representation.items | 'PICTURE_REPRESENTATION_MIM.PICTURE_REPRESENTATION_ITEM' IN TYPEOF(items))) = 1; END_ENTITY; -- picture_representation |
Entity data types and their attributesrepresentationname: label; items: SET [1:?] OF representation_item; context_of_items: representation_context; (DER) id: identifier; (DER) description: text; presentation_representation (RT) context_of_items: geometric_representation_context; presentation_view - picture_representation (RT) items: SET [2:?] OF picture_representation_item_select; (INV) size: presentation_size FOR unit; |
Global rules for this entity data type- |
public interface EPicture_representation extends EPresentation_viewsize (inverse attribute)APresentation_size getSize(EPicture_representation type, ASdaiModel domain) |
public class CPicture_representation implements EPicture_representationstatic EAttribute attributeSize(EPicture_representation type) |
public class APicture_representation extends AEntitypublic EPicture_representation getByIndex(int index)public EPicture_representation getCurrentMember(SdaiIterator it) |