The generator is not a service as per the 2002 NEC.
Service (Article 100). The conductors and equipment for delivering electric energy from the serving utility to the wiring system of the premises served.

This installation falls under 225.30(A)(4)

I believe as Don has stated that the exception #1 to 225.32 would make the described installation compliant with the NEC. The switch still has to follow 225.36 Suitable for Service Equipment.

Pierre


Pierre Belarge