View the step-by-step solution to:

Clock : Design Specication We want to design a simple alarm clock. Functionality: Set the time of day Set the alarm time Turn alarm on Turn alarm off...

For this assignment you implement a system in Java that faithfully realizes a set of UML class and sequence diagrams. You will be provided a set of Java files that reflect the static structure contained in the class diagrams. Some of the classes will be fully implemented and require only commenting. Some classes will be partially implemented and will require you to complete the implementation and provide comments. Others will require you implement the entire class.

The system design is contained in the Clock Design Specification document. Each class is described by a class diagram (using the methodology discussed in previous lessons) and written descriptions of each attribute and operation. For many of the operations there is an associated sequence diagram that illustrates the interactions that result from an invocation. Some of the simple operations, like gets and sets, do not have a corresponding sequence diagram as their implementations should be obvious.

The Java source code is zip file with the necessary set of .java files. The files will be one of the following types:

Fully implemented. These files require no editing and will indicate so at the top of the file.
Partially implemented. These classes will have defined methods for one or more of the operations. Each is labeled as implemented and require no comments. Operations which require implementation contain a comment with a "TODO". These you are required to implement and provide a description of the operation as well as comment the method code. You will also need to comment each of the attributes as well as complete the header for the file.
Not implemented. These classes will contain no implemented operations and you will need to supply all code. You need to provide a description of the operation as well as comment the method code. You will also need to comment each of the attributes as well as complete the header for the file.

For each class you may add attributes as this may well be necessary. You are permitted to add operations but it shouldn't be necessary. You may not create any other classes.
Clock : Design Specifcation
Background image of page 01
We want to design a simple alarm clock. Functionality: Set the time of day Set the alarm time Turn alarm on Turn alarm off Snooze
Background image of page 02
Show entire document
Sign up to view the entire interaction

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question