|
RULE versioned_action_request_requires_date_and_person_or_organization FOR (versioned_action_request); WHERE wr1: SIZEOF ( QUERY ( va <* versioned_action_request | ( SIZEOF ( QUERY ( adapaoa <* USEDIN ( va , 'automotive_design.' + 'applied_person_and_organization_assignment.' + 'items' ) | adapaoa . role . name = 'requestor' ) ) + SIZEOF ( QUERY ( adaoa <* USEDIN ( va , 'automotive_design.' + 'applied_organization_assignment.' + 'items' ) | adaoa . role . name = 'requestor' ) ) ) = 0 ) ) = 0 ; wr2: SIZEOF ( QUERY ( va <* versioned_action_request | ( SIZEOF ( QUERY ( adapaoa <* USEDIN ( va , 'automotive_design.' + 'applied_person_and_organization_assignment.' + 'items' ) | adapaoa . role . name = 'notified person or organization' ) ) + SIZEOF ( QUERY ( adaoa <* USEDIN ( va , 'automotive_design.' + 'applied_organization_assignment.' + 'items' ) | adaoa . role . name = 'notified person or organization' ) ) ) = 0 ) ) = 0 ; END_RULE; -- versioned_action_request_requires_date_and_person_or_organization |
|
public class RVersioned_action_request_requires_date_and_person_or_organization public int rWr2(SdaiContext _context) public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |