pkg utilities - yshehab/SchoolRoomBooking GitHub Wiki

Utilities

Classes

Overview

Potentially re-usable classes that will be needed for the project.

Discussion

Address

  • Unique
  • Immutable
  • Don_t override equals() or hashCode()
  • No natural comparison

Name

  • Unique -- changed this neo
  • Mutable
  • Don_t override equals() or hashCode()
  • No natural comparison -- changed this, sort by surname, first name neo

(Youssef 02/11)
I think the Name should be immutable just like address, and we have a use case for change name to create a new Name and assign it to member. I think we also need the same for Address.

Email

  • Immutable (unsure about this? - Ben) -- immutable neo
  • Don_t override equals() or hashCode() (unsure about this? - Ben) -- not done neo
  • No natural comparison
  • Needs some form of verification to check it_s a valid email address? -- done simon
⚠️ **GitHub.com Fallback** ⚠️