Skip to content

ChibiKev/Library-Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Database

Project for CSC 221 - Software Design Lab at the City College of New York.

About The Project

  • Consider the management and maintenance of a "library database" in a certain school. It holds the information of material resources in use for students in that school. This information is recorded based on the object-oriented design. The skeleton of the database structure is shown using the Unified Modeling Language (UML) diagramming method illustrated below.
  • UML's standard notion is still being finalized for global use, and so annotations such as (has-a) to express object composition and (implements) to express inheritance are added to the diagram: image
  • The above structure shows object variables and constructors only. Plus sign (+) indicates public visibility whereas minus sign (-) sets out private scope.
  • The Database may use ArrayList instead of Array to hold the collection of Item's references. Add an appropriate set of overloading/overriding methods to support the object hierarchy assumed in this context.
  • Implement the hierarchy, populate Database with at least two items per non-abstract class, and show the "unsorted" and "sorted" list of the set of those instances.
  • The minimal requirement of this assignment is to realize the database sort based on the lexicographical order of id as well as any combination of data variables. For instance, database records are shown based on the lexicographical order of "title," followed by"addedOn," and followed by "director."

Additional Information

  • There are comments in the code that illustrates the thought process and exactly what each line of code is doing.

Ask me about anything

If there are any questions, feel free to ask them here.

About

Used Java to create a library database, following a UML diagram

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages