Skip to content

Extremezhazha/DPSA-Lab-2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The DB and DBTable classes remain the same, and we added an abstract class DBStorage to the project. The DB class inherits DBStorage, which works as a concrete class, and we created a DBDecorator inheriting the DBStorage as a root class of decorators. DBDecorator also have an instance field of DBStorage, which stores the DB, and DBDecorator delegates its methods. ConsoleLoggingDBDecorator and FileLoggingDBDecorator works properly to record in console or file.

About

DPSA Lab 2 Submission

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%