Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this assignment, the first part is to build up a Java Predicate object using criteria chosen by the user. In the second part, you

image text in transcribed

For this assignment, the first part is to build up a Java Predicate object using criteria chosen by the user. In the second part, you use this Predicate to filter a file of Task's Define a Task class that includes: o The project name this task is associated with (technically, unique over all projects, but you are not required to check this) o The task ID, a string that is unique for all tasks within a project o The task type, one of a set of valid task types It's ok to use an int or String or (probably best) an Enum The task description: a String The userid (a String) assigned to do this task o The deadline for this Task: use a java.time LocalDate Time o When the task was completed: use another LocalDateTime . Your program should ask the user for essentially search critfor Task's o You need to represent the composition of all search criteria as a Predicate o All of the fields other than task ID and description should be covered ?The criteria for a field should be field specific, so the date fields should allow the user to specify a range of values, while the project name can be Just the name of the project ofinterest o One specific requirement is to allow the user to choose to look for unassigned tasks Test your Predicate by applying it to a List of Tasks. Output the information (including task ID and description) for all relevant Task's, one Task to a line. For this assignment, the first part is to build up a Java Predicate object using criteria chosen by the user. In the second part, you use this Predicate to filter a file of Task's Define a Task class that includes: o The project name this task is associated with (technically, unique over all projects, but you are not required to check this) o The task ID, a string that is unique for all tasks within a project o The task type, one of a set of valid task types It's ok to use an int or String or (probably best) an Enum The task description: a String The userid (a String) assigned to do this task o The deadline for this Task: use a java.time LocalDate Time o When the task was completed: use another LocalDateTime . Your program should ask the user for essentially search critfor Task's o You need to represent the composition of all search criteria as a Predicate o All of the fields other than task ID and description should be covered ?The criteria for a field should be field specific, so the date fields should allow the user to specify a range of values, while the project name can be Just the name of the project ofinterest o One specific requirement is to allow the user to choose to look for unassigned tasks Test your Predicate by applying it to a List of Tasks. Output the information (including task ID and description) for all relevant Task's, one Task to a line

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

3rd Edition

978-1119907466

More Books

Students also viewed these Databases questions

Question

Why are histone modifying enzymes important?

Answered: 1 week ago

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago