|
RULE ap239_prdi_restrict_product_category_for_product FOR (product); WHERE wr1: SIZEOF ( QUERY ( p <* product | SIZEOF ( QUERY ( prpc <* USEDIN ( p , 'ap239_product_definition_information_mim.' + 'product_related_product_category.products' ) | prpc . name IN [ 'assembly' , 'attachment slot' , 'breakdown' , 'breakdown element' , 'conceptual product' , 'detail' , 'document' , 'envelope' , 'functional breakdown' , 'functionality' , 'hybrid breakdown' , 'hybrid element' , 'interface connector' , 'interface specification' , 'justification' , 'message' , 'part' , 'physical breakdown' , 'physically realized product' , 'prototype part' , 'raw material' , 'requirement' , 'spare part' , 'standard' , 'system breakdown' , 'system element' , 'tool' , 'zone breakdown' , 'zone element' ] ) ) <> 1 ) ) = 0 ; END_RULE; -- ap239_prdi_restrict_product_category_for_product |
|
public class RAp239_prdi_restrict_product_category_for_product public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |