RULE restrict_class_system_assignment_for_class FOR (applied_classification_assignment, class); WHERE wr1: SIZEOF ( QUERY ( c <* class | SIZEOF ( QUERY ( aca <* USEDIN ( c , 'AUTOMOTIVE_DESIGN.'+'CLASSIFICATION_ASSIGNMENT.'+ 'ASSIGNED_CLASS' ) | ( ( aca. role.name = 'class system membership' ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'APPLIED_CLASSIFICATION_ASSIGNMENT' IN TYPEOF ( aca ) ) ) ) ) >1 ) ) =0; END_RULE; -- restrict_class_system_assignment_for_class |
public class RRestrict_class_system_assignment_for_class public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |