Java assignment 6 with class diagram and junit test.



The University has a need to develop an Object-Oriented Parking System. Each assignment will build towards creating the parking system.

· The University has several parking lots and the parking fees are different for each parking lot.

· Customers must have registered with the University parking office in order to use any parking lot. Customers can use any parking lot. Each parking transaction will incur a charge to their account.

· Customers can have more than one car, and so they may request more than one parking permit for each car.

· The University provides a 20% discount to compact cars compare to SUV cars.

· For simplicity, assume that the Parking Office sends a monthly bill to customer and customer pays it outside of the parking system.

· Each week you will need to submit an updated Class Diagram along with the other deliverables for the assignment.

The goal of this assignment is to create ParkingOffice and ParkingLot classes that demonstrate the use of Java Generics and Collections. You will also need to lookup the Java Enum type and use it to describe the type of the car.


Develop Java code for the ParkingOffice, ParkingLot and Money classes, and the CarType enum, shown in the diagram below. The data attributes and methods are provided as a guide, please feel free to add more as you feel necessary. Explain your choices in the write-up. Note that the ParkingLot and Money classes should be immutable; once created with values they cannot be modified.

Class: Money 

· Data Attributes

o amount : long

o currency : String

Enum: CarType 

· Values



Class: ParkingLot 

· Data Attributes

o id : String

o name : String

o address : Address

· Behaviors

o getDailyRate(CarType) : Money

Class: ParkingOffice 

· Data Attributes

o parkingOfficeName : String

o listOfCustomers : List<Customer>

o listOfParkingLots : List<ParkingLot>

o parkingOfficeAddress : Address

· Behaviors

o getParkingOfficeName() : String

o register(Customer) : void

Create a 500-word write-up that explains your assignment. You may address some of the below questions.

1. What did you find difficult or easy?

2. What helped you?

3. What you wish you knew before?

4. Outline any implementation decisions and the reasoning behind those.

5. Include screenshots of the successful code compilation and test execution.

Submit a zip file that includes Class diagrams, write-up, Source java files, and Unit Test java files. In your write-up include screen shots of successful unit tests.


· Write-ups should be between 400 and 500 words.

· Where applicable, refer to the UCOL Format and Style Requirements (Links to an external site.) on the Course Homepage, and be sure to properly cite your sources using Turabian Author-Date style citations (Links to an external site.).








Programming Rubric


Programming    Rubric






This criterion is linked to a   Learning OutcomeCode Functionality and   Efficiency 

The class(es) created meet the design specification and   therefore accomplishes the task at hand. It/they are written with proper OOP   techniques applied. The class(es) are set up with proper interfaces so they   can collaborate with other classes and execute the necessary tasks. The code   compiles without errors.

60.0 pts


This criterion is linked to a   Learning OutcomeCode Testing 

The test code is written to test the class(es) and is   designed and implemented properly.

20.0 pts


This criterion is linked to a   Learning OutcomeCode Quality 

The code contains only the necessary variables. Variable   names are meaningful. The code is well-formatted, easy to read and   appropriately commented. The code includes proper error and exception   handling.

10.0 pts


This criterion is linked to a   Learning OutcomeWrite-Up 

The write-up summarizes lessons learned and any difficulty   the student may have encountered. It also outlines any implementation   decision and reasoning behind those. Screenshots of the successful code   compilation and test execution are included.

10.0 pts


Total   Points: 100.0

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
The price is based on these factors:
Academic level
Number of pages
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more