RULE curve_font_usage FOR (curve_style_font, externally_defined_curve_font, pre_defined_curve_font); WHERE wr1: SIZEOF ( QUERY ( csf <* curve_style_font | ( SIZEOF ( USEDIN ( csf , 'AUTOMOTIVE_DESIGN.CURVE_STYLE.CURVE_FONT' ) ) =0 ) ) ) =0; wr2: SIZEOF ( QUERY ( pdcf <* pre_defined_curve_font | ( SIZEOF ( USEDIN ( pdcf , 'AUTOMOTIVE_DESIGN.CURVE_STYLE.CURVE_FONT' ) ) =0 ) ) ) =0; wr3: SIZEOF ( QUERY ( edcf <* externally_defined_curve_font | NOT ( SIZEOF ( USEDIN ( edcf , 'AUTOMOTIVE_DESIGN.'+'CURVE_STYLE.'+ 'CURVE_FONT' ) ) >=1 ) ) ) =0; END_RULE; -- curve_font_usage |
public class RCurve_font_usage public int rWr3(SdaiContext _context) public int rWr2(SdaiContext _context) public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |