Submission and Bonus Missions
Sanity Check
Before submitting, make sure that your application:
- Prints each field of a job when using search functionality, and when listing all columns. If there are no search results, a descriptive message is displayed.
- Allows the user to search for a string across all columns.
- Returns case-insensitive results.
- Run the auto-grading tests to ensure that the tests pass.
Solution Demo
Watch a demo of a working solution.
How to Submit
To turn in your assignment and get credit, follow the submission instructions .
Bonus Missions
If you want to take your learning a few steps further, here are some additional problems you can try to solve. We’re not providing you much guidance here, but we have confidence that you can figure these problems out!
- Sorting list results: When a user asks for a list of employers, locations, position types, etc., it would be nice if results were sorted alphabetically. Make this happen.
- Returning a copy of allJobs: Look at
JobData.findAll()
. Notice that it’s returning theallJobs
property, which is a static property of theJobData
class. In general, this is not a great thing to do, since the person calling ourfindAll
method could then mess with the data thatallJobs
contains. Fix this by creating a copy ofallJobs
. Hint: Look at the constructors in the OracleArrayList
documentation.