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
interface RegisterCapable { depend school.util.*; boolean registerForCourse(Course aCourse); } class Person { name; } class CorporateClient { isA RegisterCapable; boolean registerForCourse(Course aCourse) { // write code here } 0..1 <- * Person employees; } class IndividualStudent { isA Person, RegisterCapable; boolean registerForCourse(Course aCourse) { // write code here } } class Course { name; description; * -- * Person registrants; }//$?[End_of_model]$? class Course { position 337 19 149 80; position.association Course__Person 0,24 124,15; } class CorporateClient { position 77 199 121 45; position.association CorporateClient__Person:Employees 30,0 25,63; position.association CorporateClient__Person:employees 30,0 28,63; } class IndividualStudent { position 223 204 152 45; } class Person { position 46 25 124 63; } // @@@skipcompile - There is actually no package school.util.* - this is a demo