Question: Create Student Java Class, PartTimeStudent Java Class, FullTimeStudent Java Class based on UML DIAGRAMS AND RELATIONSHIPS Class Relationships: BirthDate Person Comparable 4 Student Registration Date

Create Student Java Class, PartTimeStudent Java Class, FullTimeStudent Java Class based on UML DIAGRAMS AND RELATIONSHIPS

Create Student Java Class, PartTimeStudent Java Class, FullTimeStudent Java Class based onUML DIAGRAMS AND RELATIONSHIPS Class Relationships: BirthDate Person Comparable 4 Student RegistrationDate Part Time Student Full Time Student Person lastName: String firstName: Stringmiddlelnit: char birth Date: Date + Person) + Person( lastName : String,fisrtName : String, middlelnit : char, birth Date : Date) + getLastName): String + getFirstNamel): String + getMiddlelnit(): Char + getBirth Datel): Date

Class Relationships: BirthDate Person Comparable 4 Student Registration Date Part Time Student Full Time Student Person lastName: String firstName: String middlelnit: char birth Date: Date + Person) + Person( lastName : String, fisrtName : String, middlelnit : char, birth Date : Date) + getLastName) : String + getFirstNamel): String + getMiddlelnit(): Char + getBirth Datel): Date + setLastName(String lastName) + setFirstName(String firstName) + setMiddlelnit(char middlelnit) + setBirth Date Date birth Date) + getFullNamel): String //Returns name in lastName, firstName middle init format: eg: Smith, John T. Date year: int month : int day: int + Date(the Year: int, the Month : int, the Day:int) + setYear(int the Year) : void + set Month(int the Month) : void + setDay( int theDay): void + getYear(): int + getMonth(): int + getDay(): int + toString(): String Student student Number : int email : String registrationDate_: Date + Student () + Student (lastName String, firstName : String, middleInit : char, birthDate : Date, student Number:int, email:String, registrationDate:Date) + getStudentNumber():int + setStudent Number (studentNumber:int) //Non negative studentNumber only + getEmaill): String + setEmail (emait:String) + getRegistrationDate) : Date + setRegistrationDate (registrationDate:Date) + compare to (Object o):int //If this student has a larger studentNumber return 1 //If they are the same return 0 //If o has a larger studentNumber return -1 + getTuition ) :float //Abstract method PartTime Student numberofCourses: int + PartTime Student () + PartTimeStudent IlastName:String, fisktName:String, middle Initi chaf, birthDate: Date, student Number:int, email:String, registrationDate: Date numberofcourses:int) + getNumberOfCourses 1): int + set Numberofcourses (numberofcourses int) + getTuition (): float /* This method calculates tuition at $540 / course for students who registered in 2007 or earlier, $630 per course for students who registered in 2008 or later. */ FullTimeStudent insuranceoptout : boolean studentCentreOptout: boolean + FullTimeStudents!) + FullTimeStudents (lastName: String, fisrtName: String, middleInit:char, birthDate: Date, student Number:int, email:String, registration Date: Date insuranceoptout : Boolean, studentCentreOptOut: boolean) + getInsuranceoptout(): boolean + setInsuranceOptOut (insuranceOptout;boolean) + getstudentcentreoptout?): boolean + setStudentCentreOptOut (studentCentreOptout; boolean) + getTuition(): float /* This method calculates tuition at $3650. If the student opts out of the Insurance plan they receive a $300 discount. A $200 discount is received by students who opt out of student centre membership */

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!