In: Computer Science
the code base you will be working with involves an Android application. (Android Studio)
application name " SharingApp"
In the application’s current state:
A user of the app is able to create and edit a profile with a unique username and an email address.
A user of the app is able to login and logout.
An owner is able to record the items they own and wish to share.
A bidder is able to place bids on items they wish to borrow from other owners, which changes the status of the item to “Bidded”.
An owner is able to accept a bid and lend the item to the bidder, which changes the status of the item to “Borrowed”.
An owner may change the status of an item they own from “Borrowed” to “Available” when the item is no longer being borrowed.
An owner may view: all of their items; their “Available” items; their “Bidded” items; or, their “Borrowed” items.
A borrower may view a list of items they are borrowing.
A user of the app is able to search a list of all “Available” and “Bidded” items by keywords.
An owner is able to view the profile of a borrower who is borrowing one of their items.
Once you have identified what needs to be stored, create a small UML Class Diagram to show which data should be stored. You only have to include the classes and corresponding attributes that will have data stored remotely. You shouldn’t have to include every class in the app. It is okay to leave methods out of the diagram
Style guidelines for UML class diagram
Let’s turn to this diagram this class diagram contains six classes.they are Department, Owner, Bidder, product, bidding, and seller.
Department contains two attributes, that is Deptno, Deptname.
next class Owner contains the attributes are adminNo,adminusername,adminpassword,and email.
owner class operations are manage product(),manage department(),manage user(),manage bidder(),return report(),return product(),request(),view request().
Similarly, all classes contain class name, class attributes, class operations are represented.