CollegeApplicant Class Write a class encapsulating the concept of College Applicant. Use the class diagram above as well as the specific requirements below to develop your class: Class Members name - The name of the college applicant. college - The name of the college. CollegeApplicant() - Initializes an instance of the CollegeApplicant class where the name and college are set to "unknown". CollegeApplicant(String, String - Initializes an instance of the CollegeApplicant class where the name and college are set to the specified values. getName() : String - Returns the college applicant's name. setName(String) : void - Sets the college applicant's name. getCollege() : String - Returns the name of the college. setCollege(String) : void - Sets the name of the college. registerForProgram(String) : String - Returns a String representing the registration of a program. toString() : String - Returns a String representation of the class. toString() Format: ======================= College Applicant ======================= Name: {name} College: {college} Sample: ======================= College Applicant ======================= Name: Andrew Jones College: BIT College GraduateApplicant Class Write a class encapsulating the concept of a Graduate Applicant. Use the class diagram above as well as the specific requirements below to develop your class: Class Members collegeOfOrigin - The name of the college where the graduate applicant received their degree. GraduateApplicant(String, String, String) - Initializes an instance of the GraduateApplicant class with a specified name, college name, and college of origin. getCollegeOfOrigin() : String - Returns the college of origin. setCollegeOfOrigin(String) : void - Sets the college of origin. isInside() : boolean - Returns true when the college name and the college of origin are the same (case should not be a factor); otherwise false. registerForProgram(String) : String - Returns the String "{college_of_origin} > college_name - program_name". Example: "Red River College > Red River College - Business Administration". toString() : String - Returns a String representation of the class. Format: ======================= College Applicant ======================= Name: {name} College: {college} Origin: {collegeOfOrigin} Sample: ======================= College Applicant ======================= Name: Andrew Jones College: BIT College Origin: Yale UndergraduateApplicant Class Write a class encapsulating the concept of a Undergraduate Applicant. Use the class diagram above as well as the specific requirements below to develop your class: Class Members standardAptitudeTestScore - The score achieved on the standard aptitude test. Allowable values: 0.0 - 500.0 inclusive. If this field is set outside the allowable range, set the state to 0 (zero). gradePointAverage - The applicants grade point average. Allowable values: 0.00 - 4.50 inclusive. If this field is set outside the allowable range, set the state to 0 (zero). UndergraduateApplicant(String, String, double, double) - Initializes an instance of the UndergraduateApplicant class with the specified applicant name, college name, standard aptitude test score and grade point average. getStandardAptitudeTestScore() : double - Returns the standard aptitude test score. setStandardAptitudeTestScore(double) : void - Sets the standard aptitude test score. getGradePointAverage() : double - Returns the grade point average. setGradePointAverage(double) : void - Sets the grade point average. registerForProgram(String) : String - Returns the String "college_name - program_name [aptitude_test_score]". Example: "Red River College - Business Information Technology [465.3]". toString() : String - Returns a String representation of the class. toString() Format: ======================= College Applicant ======================= Name: {name} College: {college} SAT Score: {standardAptitudeTest} GPA: {gradePointAverage} Formatting Requirements The standard aptitude test score is formatted to one decimal place. The grade point average is formatted to two decimal places. Sample: ======================= College Applicant ======================= Name: Andrew Jones College: BIT College SAT Score: 465.3 GPA: 4.22
Folder Structure
Your project will contain two sub-directories:
- library
- test
In the library directory, create the classes in the class diagram below. In the test directory, create the test applications.
Class Diagram
CollegeApplicant Class
Write a class encapsulating the concept of College Applicant. Use the class diagram above as well as the specific requirements below to develop your class:
Class Members
- name - The name of the college applicant.
- college - The name of the college.
- CollegeApplicant() - Initializes an instance of the CollegeApplicant class where the name and college are set to "unknown".
- CollegeApplicant(String, String - Initializes an instance of the CollegeApplicant class where the name and college are set to the specified values.
- getName() : String - Returns the college applicant's name.
- setName(String) : void - Sets the college applicant's name.
- getCollege() : String - Returns the name of the college.
- setCollege(String) : void - Sets the name of the college.
- registerForProgram(String) : String - Returns a String representing the registration of a program.
- toString() : String - Returns a String representation of the class.
toString() Format:
Sample:
GraduateApplicant Class
Write a class encapsulating the concept of a Graduate Applicant. Use the class diagram above as well as the specific requirements below to develop your class:
Class Members
- collegeOfOrigin - The name of the college where the graduate applicant received their degree.
- GraduateApplicant(String, String, String) - Initializes an instance of the GraduateApplicant class with a specified name, college name, and college of origin.
- getCollegeOfOrigin() : String - Returns the college of origin.
- setCollegeOfOrigin(String) : void - Sets the college of origin.
- isInside() : boolean - Returns true when the college name and the college of origin are the same (case should not be a factor); otherwise false.
- registerForProgram(String) : String - Returns the String "{college_of_origin} > college_name - program_name". Example: "Red River College > Red River College - Business Administration".
- toString() : String - Returns a String representation of the class.
Format:
Sample:
UndergraduateApplicant Class
Write a class encapsulating the concept of a Undergraduate Applicant. Use the class diagram above as well as the specific requirements below to develop your class:
Class Members
- standardAptitudeTestScore - The score achieved on the standard aptitude test. Allowable values: 0.0 - 500.0 inclusive. If this field is set outside the allowable range, set the state to 0 (zero).
- gradePointAverage - The applicants grade point average. Allowable values: 0.00 - 4.50 inclusive. If this field is set outside the allowable range, set the state to 0 (zero).
- UndergraduateApplicant(String, String, double, double) - Initializes an instance of the UndergraduateApplicant class with the specified applicant name, college name, standard aptitude test score and grade point average.
- getStandardAptitudeTestScore() : double - Returns the standard aptitude test score.
- setStandardAptitudeTestScore(double) : void - Sets the standard aptitude test score.
- getGradePointAverage() : double - Returns the grade point average.
- setGradePointAverage(double) : void - Sets the grade point average.
- registerForProgram(String) : String - Returns the String "college_name - program_name [aptitude_test_score]". Example: "Red River College - Business Information Technology [465.3]".
- toString() : String - Returns a String representation of the class.
toString() Format:
Formatting Requirements
- The standard aptitude test score is formatted to one decimal place.
- The grade point average is formatted to two decimal places.
Sample:
Documentation
Using the javadoc program, publish the documentation for all library classes.
Directory Structure
1008_firstname_lastname_assignment_7.zip
├── library
│ └── docs
│ └── CollegeApplicant.java
│ └── GraduateApplicant.java
│ └── UndergraduateApplicant.java
└
![Class Diagram
Graduate Applicant
-name: String
-college String
-standardAptitude TestScore: double
-gradePointAverage: double
CollegeApplicant
+CollegeApplicant()
+CollegeApplicant(name: String, college : String)
+getName(): String
+setName(name: String): void
+getCollege(): String
+setCollege(college String): void
+registerForProgram(program: String): String
+toString(): String
-college OfOrigin: String
+Graduate Applicant(name: String, college String, college OfOrigin: String)
+getCollegeOfOrigin(): String
+setCollege OfOrigin(college Of Origin: String) : void
+islnside(): boolean
+registerForProgram (program: String): String
+toString0 String
Undergraduate Applicant
+UndergraduateApplicant(name: String, college String, standardAptitude Test: double, grade PointAverage: double)
+getStandardAptitude TestScore(): double
+setStandard Aptitude TestScore(score: double): void
+getGrade PointAverage(): double
+setGrade PointAverage (gradePointAverage: double): void
+registerForProgram (program: String): String
+toString(): String](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fa4bd34a9-cad0-4bb6-9739-21da21649a7b%2F54c7bdc6-bcd2-4e74-9ea8-708e5b9f67f7%2Flq3lsib_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 3 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)