RULE subtype_mandatory_annotation_occurrence FOR (annotation_occurrence); WHERE wr1: SIZEOF ( QUERY ( ao <* annotation_occurrence | NOT ( type_check_function ( ao , ['AUTOMOTIVE_DESIGN.'+ 'ANNOTATION_CURVE_OCCURRENCE' , 'AUTOMOTIVE_DESIGN.'+ 'ANNOTATION_FILL_AREA_OCCURRENCE' , 'AUTOMOTIVE_DESIGN.'+ 'ANNOTATION_SYMBOL_OCCURRENCE' , 'AUTOMOTIVE_DESIGN.'+ 'ANNOTATION_TEXT_OCCURRENCE' , 'AUTOMOTIVE_DESIGN.'+ 'DRAUGHTING_ANNOTATION_OCCURRENCE'] , 0 ) ) ) ) =0; END_RULE; -- subtype_mandatory_annotation_occurrence |
public class RSubtype_mandatory_annotation_occurrence public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |