JavaScript is disabled so the dynamic features of this page will not work. To use UmpleOnline, turn Javascript on. Otherwise you can download the command-line Umple compiler or use Eclipse.
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
Restore Earlier Version
UmpleOnline saves versions of this model on the
server while you edit it. Select a version to see what it contained, then restore
it if you want it back.