When importing code from a class, an enum defined inside de class declaration appears as class by itself in class diagram. When generating the code for the classes in tthe class diagram, includes for all native types added to the include section of the class. J N Hinckel