Overview Schemas Index

AUTOMOTIVE_DESIGN (jsdai.SAutomotive_design)


RULE restrict_product_definition_substitute FOR (product_definition_substitute);
 
WHERE
          wr1:  SIZEOF  ( QUERY ( pds <* product_definition_substitute | ( SIZEOF ( USEDIN ( pds , 'automotive_design.' + 'applied_effectivity_assignment.' + 'items' ) ) = 0 ) ) ) = 0 ;
          wr2:  SIZEOF ( QUERY ( pds <* product_definition_substitute | pds . substitute_definition . frame_of_reference . name <> 'part occurrence' ) ) = 0 ;
          wr3:  SIZEOF  ( QUERY ( pds <* product_definition_substitute | ( ( 'automotive_design.' + 'assembly_component_usage' IN  TYPEOF  ( pds . context_relationship ) ) AND  ( SIZEOF ( USEDIN ( pds . context_relationship , 'automotive_design.' + 'product_definition_occurrence_relationship.' + 'occurrence_usage' ) ) = 0 ) ) AND  ( ( 'automotive_design.' + 'product_definition_relationship' IN TYPEOF ( pds . context_relationship ) ) AND ( pds . context_relationship . related_product_definition . frame_of_reference . name <> 'part occurrence' ) ) ) ) = 0 ;
END_RULE; -- restrict_product_definition_substitute

public class RRestrict_product_definition_substitute
          public int rWr3(SdaiContext _context)
          public int rWr2(SdaiContext _context)
          public int rWr1(SdaiContext _context)
          public int run(SdaiContext _context, A_string violations)