|
RULE restrict_properties_of_document_file FOR (document_file); WHERE wr1: SIZEOF ( QUERY ( df <* document_file | SIZEOF ( QUERY ( pd <* USEDIN ( df , 'automotive_design.' + 'property_definition.' + 'definition' ) | pd . name = 'document property' ) ) > 1 ) ) = 0 ; wr2: SIZEOF ( QUERY ( df <* document_file | SIZEOF ( QUERY ( rt <* df . representation_types | ( 'automotive_design.' + 'document_representation_type' IN TYPEOF ( rt ) ) AND ( rt . name IN [ 'digital' , 'physical' ] ) ) ) = 0 ) ) = 0 ; END_RULE; -- restrict_properties_of_document_file |
|
public class RRestrict_properties_of_document_file public int rWr2(SdaiContext _context) public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |