|
RULE drawing_sheet_layout_usage FOR (mapped_item); WHERE wr1: SIZEOF ( QUERY ( dsl <* QUERY ( mi <* mapped_item | ( 'automotive_design.' + 'drawing_sheet_layout' IN TYPEOF ( mi . mapping_source . mapped_representation ) ) ) | NOT ( SIZEOF ( USEDIN ( dsl , '' ) ) = SIZEOF ( QUERY ( dsr <* USEDIN ( dsl , 'automotive_design.' + 'representation.' + 'items' ) | ( 'automotive_design.' + 'drawing_sheet_revision' IN TYPEOF ( dsr ) ) ) ) ) ) ) = 0 ; END_RULE; -- drawing_sheet_layout_usage |
|
public class RDrawing_sheet_layout_usage public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |