Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The task service uses in-memory data structures to support storing tasks (no database required). In addition, there is no user interface for this milestone. You

The task service uses in-memory data structures to support storing tasks (no database required). In addition, there is no user interface for this milestone. You will verify the task service through JUnit tests. The task service contains a task object along with the task service. The requirements are outlined below.

Task Class Requirements

The task object shall have a required unique task ID String that cannot be longer than 10 characters. The task ID shall not be null and shall not be updatable.

The task object shall have a required name String field that cannot be longer than 20 characters. The name field shall not be null.

The task object shall have a required description String field that cannot be longer than 50 characters. The description field shall not be null.

Task Service Requirements

The task service shall be able to add tasks with a unique ID.

The task service shall be able to delete tasks per task ID.

The task service shall be able to update task fields per task ID. The following fields are updatable:

Name

Description

Please entirely new Java code!!! in Eclipse with Junit Testing.

TaskTest.java, to test, Task.java

TaskServiceTest.java, to test, TaskService.java

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

Step: 3

blur-text-image

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

Beginning C# 2005 Databases

Authors: Karli Watson

1st Edition

0470044063, 978-0470044063

More Books

Students also viewed these Databases questions

Question

Writing a Strong Introduction

Answered: 1 week ago