RULE plib_property_reference_requires_name_scope FOR (externally_defined_general_property); WHERE wr1: SIZEOF ( QUERY ( edgp <* externally_defined_general_property | ( 'AUTOMOTIVE_DESIGN.'+ 'KNOWN_SOURCE' IN TYPEOF ( edgp. source ) ) AND ( SIZEOF ( QUERY ( edir <* USEDIN ( edgp , 'AUTOMOTIVE_DESIGN.'+'EXTERNALLY_DEFINED_ITEM_RELATIONSHIP.'+ 'RELATING_ITEM' ) | ( edir. name = 'name scope' ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'EXTERNALLY_DEFINED_CLASS' IN TYPEOF ( edir. related_item ) ) AND ( 'AUTOMOTIVE_DESIGN.'+ 'KNOWN_SOURCE' IN TYPEOF ( edir. related_item.source ) ) ) ) <>1 ) ) ) =0; END_RULE; -- plib_property_reference_requires_name_scope |
public class RPlib_property_reference_requires_name_scope public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |