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) |