|
RULE plib_class_reference_requires_version FOR (externally_defined_class); WHERE wr1: SIZEOF ( QUERY ( edc <* externally_defined_class | ( 'automotive_design.' + 'known_source' IN TYPEOF ( edc . source ) ) AND ( SIZEOF ( QUERY ( aei <* USEDIN ( edc , 'automotive_design.applied_external_identification_assignment.items' ) | aei . role . name = 'version' ) ) <> 1 ) ) ) = 0 ; wr2: SIZEOF ( QUERY ( edc <* externally_defined_class | ( 'automotive_design.' + 'known_source' IN TYPEOF ( edc . source ) ) AND ( SIZEOF ( QUERY ( aei <* USEDIN ( edc , 'automotive_design.applied_identification_assignment.items' ) | aei . role . name = 'version' ) ) > 0 ) ) ) = 0 ; END_RULE; -- plib_class_reference_requires_version |
|
public class RPlib_class_reference_requires_version public int rWr2(SdaiContext _context) public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |