ENTITY presentation_style_assignment SUBTYPE OF (founded_item); styles : SET [1:?] OF presentation_style_select; WHERE wr1: SIZEOF (QUERY (style1 <* SELF.styles | NOT (SIZEOF (QUERY (style2 <* (SELF.styles - style1) | NOT ((TYPEOF (style1) <> TYPEOF (style2)) OR (SIZEOF (['PRESENTATION_APPEARANCE_SCHEMA.' + 'SURFACE_STYLE_USAGE', 'PRESENTATION_APPEARANCE_SCHEMA.'+ 'EXTERNALLY_DEFINED_STYLE'] * TYPEOF (style1)) = 1) ))) = 0 ))) = 0; wr2: SIZEOF (QUERY (style1 <* SELF.styles | 'PRESENTATION_APPEARANCE_SCHEMA.SURFACE_STYLE_USAGE' IN TYPEOF(style1) )) <= 2; wr3: SIZEOF (QUERY (style1 <* SELF.styles | ('PRESENTATION_APPEARANCE_SCHEMA.SURFACE_STYLE_USAGE' IN TYPEOF (style1)) AND (SIZEOF (QUERY (style2 <* (SELF.styles - style1) | ('PRESENTATION_APPEARANCE_SCHEMA.SURFACE_STYLE_USAGE' IN TYPEOF (style2)) AND ((style1\surface_style_usage.side = both) OR (style2\surface_style_usage.side = both) OR (style1\surface_style_usage.side = style2\surface_style_usage.side)) )) > 0))) = 0; END_ENTITY; -- presentation_style_assignment |
Entity data types and their attributesfounded_item(DER) users: SET [0:?] OF founded_item_select; presentation_style_assignment styles: SET [1:?] OF presentation_style_select; |
presentation_style_by_context (PRESENTATION_APPEARANCE_SCHEMA) |
Global rules for this entity data type- |
public interface EPresentation_style_assignment extends EFounded_itemstyles (explicit attribute)boolean testStyles(EPresentation_style_assignment type)APresentation_style_select getStyles(EPresentation_style_assignment type) APresentation_style_select createStyles(EPresentation_style_assignment type) void unsetStyles(EPresentation_style_assignment type) |
public class CPresentation_style_assignment implements EPresentation_style_assignmentstatic EAttribute attributeStyles(EPresentation_style_assignment type)static int usedinStyles(EPresentation_style_assignment type, EEntity instance, ASdaiModel domain, APresentation_style_assignment result) |
public class APresentation_style_assignment extends AEntitypublic EPresentation_style_assignment getByIndex(int index)public EPresentation_style_assignment getCurrentMember(SdaiIterator it) |