0% found this document useful (0 votes)
5 views1 page

Data Access Methods Overview

This document contains class diagrams for different data access classes including BookDataAccess, StationeryDataAccess, and a base DataAccess interface. BookDataAccess and StationeryDataAccess both implement the DataAccess interface and contain methods for inserting, updating, deleting, and getting data, while delegating the database operations to private methods specific to books or stationery. A Demo class contains methods matching the DataAccess interface to test the classes.

Uploaded by

joey_benson
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Data Access Methods Overview

This document contains class diagrams for different data access classes including BookDataAccess, StationeryDataAccess, and a base DataAccess interface. BookDataAccess and StationeryDataAccess both implement the DataAccess interface and contain methods for inserting, updating, deleting, and getting data, while delegating the database operations to private methods specific to books or stationery. A Demo class contains methods matching the DataAccess interface to test the classes.

Uploaded by

joey_benson
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

+insertData() : bool

+updateData() : bool
+deleteData() : bool
+getItem() : void
-insertDbItem() : bool
-insertDbBook() : bool
-insertDbCategory() : bool
-insertDbGenre() : bool
-updateDbBook() : bool
-deleteDbItem() : bool
BookDataAccess
+insertData() : bool
+updateData() : bool
+deleteData() : bool
+getItem() : void
-insertDbStationery() : bool
-insertDbItem() : bool
-updateDbStationery() : bool
-deleteDbItem() : bool
StationeryDataAccess
+getItem() : void
Book
+getItem() : void
Stationery
+Main()
Demo
+insertData() : bool
+updateData() : bool
+deleteData() : bool
+getItem() : void
interface
DataAccess

You might also like