RULE restrict_product_definition_context_for_external_properties FOR (general_property_association, product_definition); WHERE wr1: SIZEOF ( QUERY (pd <* product_definition | ( SIZEOF ( QUERY ( propd <* USEDIN ( pd , 'AUTOMOTIVE_DESIGN.' + 'PROPERTY_DEFINITION.DEFINITION' ) | SIZEOF ( QUERY ( gpa <* USEDIN ( propd , 'AUTOMOTIVE_DESIGN.' + 'GENERAL_PROPERTY_ASSOCIATION.DERIVED_DEFINITION' ) | 'AUTOMOTIVE_DESIGN.' + 'EXTERNALLY_DEFINED_GENERAL_PROPERTY' IN TYPEOF ( gpa.base_definition ) ) ) > 0 ) ) > 0 ) AND ( SIZEOF ( QUERY ( pdca <* USEDIN ( pd, 'AUTOMOTIVE_DESIGN.' + 'PRODUCT_DEFINITION_CONTEXT_ASSOCIATION.DEFINITION' ) | (pdca.frame_of_reference.name = 'external') AND (pdca.role.name = 'external') ) ) = 0 ) ) ) = 0; END_RULE; -- restrict_product_definition_context_for_external_properties |
public class RRestrict_product_definition_context_for_external_properties public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |