|
RULE presentation_view_presented_once FOR (presentation_view); WHERE wr1: SIZEOF ( QUERY ( pv <* presentation_view | ( SIZEOF ( QUERY ( rm <* USEDIN ( pv , 'automotive_design.representation_map.' + 'mapped_representation' ) | ( SIZEOF ( USEDIN ( rm , 'automotive_design.mapped_item.mapping_source' ) ) <> 1 ) OR ( SIZEOF ( QUERY ( mi <* USEDIN ( rm , 'automotive_design.mapped_item.mapping_source' ) | ( SIZEOF ( USEDIN ( mi , 'automotive_design.representation.items' ) ) <> 1 ) OR ( SIZEOF ( QUERY ( r <* USEDIN ( mi , 'automotive_design.representation.items' ) | NOT ( 'automotive_design.' + 'presentation_area' IN TYPEOF ( r ) ) ) ) <> 0 ) ) ) <> 0 ) ) ) <> 0 ) ) ) = 0 ; END_RULE; -- presentation_view_presented_once |
|
public class RPresentation_view_presented_once public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |