ENTITY presentation_size; unit : presentation_size_assignment_select; size : planar_box; UNIQUE ur1 : unit; WHERE wr1: (('PRESENTATION_ORGANIZATION_SCHEMA.PRESENTATION_REPRESENTATION' IN TYPEOF (SELF.unit)) AND item_in_context (SELF.size, SELF.unit\representation.context_of_items) ) OR (('PRESENTATION_ORGANIZATION_SCHEMA.AREA_IN_SET' IN TYPEOF (SELF.unit)) AND (SIZEOF (QUERY ( ais <* SELF.unit\area_in_set.in_set.areas | NOT item_in_context (SELF.size, ais.area\representation. context_of_items) )) = 0)); END_ENTITY; -- presentation_size |
Entity data types and their attributespresentation_sizeunit: presentation_size_assignment_select; size: planar_box; |
Userspresentation_size |
Global rules for this entity data type- |
public interface EPresentation_size extends EEntityunit (explicit attribute)int testUnit(EPresentation_size type)case 1 EEntity getUnit(EPresentation_size type) void setUnit(EPresentation_size type, EEntity value, EEntity node1) void unsetUnit(EPresentation_size type) size (explicit attribute)boolean testSize(EPresentation_size type)EPlanar_box getSize(EPresentation_size type) void setSize(EPresentation_size type, EPlanar_box value) void unsetSize(EPresentation_size type) |
public class CPresentation_size implements EPresentation_sizestatic EAttribute attributeUnit(EPresentation_size type)static int usedinUnit(EPresentation_size type, EEntity instance, ASdaiModel domain, APresentation_size result) static EAttribute attributeSize(EPresentation_size type) static int usedinSize(EPresentation_size type, EPlanar_box instance, ASdaiModel domain, APresentation_size result) |
public class APresentation_size extends AEntitypublic EPresentation_size getByIndex(int index)public EPresentation_size getCurrentMember(SdaiIterator it) |