Draw on the right, write (Umple) model code on the left. Analyse models and generate code. This tool stores your data in cookies and on a server. I understand. Click to learn about privacy. Download Donate For help: User manual Ask questions Report issue
// In this example, the "Status" enumeration // is shared by the "GradStudent" // and "UndergradStudent" class // The "Semester" enumeration is only defined // for the "UndergradStudent" class enum Status { FullTime, PartTime } class GradStudent { Status status; } class UndergradStudent { enum Semester { Spring, Summer, Fall, Winter } Status status; Semester semester; }