RULE restrict_properties_of_document_representation FOR (product_definition); WHERE wr1: SIZEOF ( QUERY ( pd <* product_definition | ( pd. frame_of_reference.name IN [ 'physical document definition' , 'digital document definition' , 'physical model occurrence' ] ) AND ( SIZEOF ( QUERY ( pd1 <* USEDIN ( pd , 'AUTOMOTIVE_DESIGN.'+'PROPERTY_DEFINITION.'+ 'DEFINITION' ) | pd1. name = 'document property' ) ) >1 ) ) ) =0; END_RULE; -- restrict_properties_of_document_representation |
public class RRestrict_properties_of_document_representation public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |