|
RULE restrict_assembly_category FOR (product_definition); LOCAL assembly_definitions : SET OF product_definition := [ ] ; END_LOCAL ; assembly_definitions := QUERY ( pd <* product_definition | SIZEOF ( QUERY ( pdca <* USEDIN ( pd , 'item_definition_structure_mim.product_definition_context_association.definition' ) | pdca . frame_of_reference . name = 'assembly definition' ) ) > 0 ) ; WHERE wr1: SIZEOF ( QUERY ( pd <* assembly_definitions | NOT ( 'assembly' IN categories_of_product ( pd . formation . of_product ) ) ) ) = 0 ; END_RULE; -- restrict_assembly_category |
|
public class RRestrict_assembly_category public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |