Question

In: Computer Science

the code base you will be working with involves an Android application. (Android Studio) application name...

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

  • whole things should be drawn to the left of the part
  • there should be few crossing edges
  • boxes should not overlap other boxes or edges
  • diagram should flow from top to bottom and left to right

Solutions

Expert Solution

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.


Related Solutions

Android Studio Code: Provide a working android studio code i.e java and xml code for the...
Android Studio Code: Provide a working android studio code i.e java and xml code for the activity below: Develop an application that is capable to turn pages back and forth. Detailed Instructions: For the main activity, create a layout that represents a fictitious title and author. The activity should include a clickable button on the bottom right that allows you to go forward to the next activity. The next activity will simply be an image above simple text that can...
Create a mobile application using Android studio, for cinema tickets reservation. The application will be used...
Create a mobile application using Android studio, for cinema tickets reservation. The application will be used by the customers to book cinema tickets. Only users of 15 years old and above are allowed to book cinema tickets for a particular film. The user can book more than one ticket where ticket prices vary between 20 and 50 AED. Your app contains tree Activities. The first activity is a launching activity containing a logo and a button start. When the user...
Android Studio. Java. Please create an application that -> An activity that allows user to enter...
Android Studio. Java. Please create an application that -> An activity that allows user to enter name, gender, date of birth, state of residence (selected from a pre-defined list: CA, AZ, NV, OR), email address and favorite website. This activity has a button "Show Data" that displays detail entered
Write a code in order to make an android application of LZ77 compression algorithm for text...
Write a code in order to make an android application of LZ77 compression algorithm for text compression.
android studio Reproduce the same action as this using a ListView. <resources> <string-array name="pizzas"> <item>Ham and...
android studio Reproduce the same action as this using a ListView. <resources> <string-array name="pizzas"> <item>Ham and Pineapple</item> <item>Supreme</item> <item>Seafood</item> <item>Italian</item> <item>Meat Lovers</item> </string-array> </resources> Following is the layout XML File <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <Spinner android:id="@+id/spinner" android:layout_width="368dp" android:layout_height="wrap_content" tools:layout_editor_absoluteX="8dp" tools:layout_editor_absoluteY="42dp" /> <TextView android:id="@+id/textView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="TextView" tools:layout_editor_absoluteX="163dp" tools:layout_editor_absoluteY="145dp" /> </android.support.constraint.ConstraintLayout> Following is the JAVA main File. package com.example.wincrap.myapplication; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Spinner; import android.widget.TextView; public class...
IN ANDROID STUDIO, you will create a mortgage calculator appthat allows the user to enter...
IN ANDROID STUDIO, you will create a mortgage calculator app that allows the user to enter a purchase price, down-payment amount, and an interest rate.Based on these values, the app should calculate the loan amount (purchase price minus down payment) and display the monthly payment for 10, 20, and 30-year loans.Allow the user to select a custom loan duration (in years) by using a SeekBar and display the monthly payment for that custom loan duration.Assignment deliverables (all in a ZIP...
For this IP, you will create a very simple drawing app using Android Studio. The purpose...
For this IP, you will create a very simple drawing app using Android Studio. The purpose of this assignment is to give you more building blocks to use when programming apps. For full credit for this assignment, you should complete the following: Create a menu and display menu items on the app bar Detect when the user touches the screen and moves a finger Be able to change the color and width of a line Be able to save an...
On Android Studio, create a 4 function calculator. The only buttons you need are 0-9, *,...
On Android Studio, create a 4 function calculator. The only buttons you need are 0-9, *, /, +, -, a clear, and enter button. Use StringTokenizer or String.split for the calculator code.
I need the code for following in C++ working for Visual studio please. Thanks Use a...
I need the code for following in C++ working for Visual studio please. Thanks Use a Struct to create a structure for a Player. The Player will have the following data that it needs maintain: Struct Player int health int level string playerName double gameComplete bool isGodMode Create the 2 functions that will do the following: 1) initialize(string aPlayerName) which takes in a playername string and creates a Player struct health= 100 level= 1 playerName = aPlayerName gameComplete = 0...
How to get the vote count to display in another activity? This is for android studio...
How to get the vote count to display in another activity? This is for android studio with Java codes. private int yesVoteCount = 0;     private int noVoteCount = 0;     private int resetVotes = 0;     @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);         // Use res ID to retrieve inflated objects and assign to variables         mYesButton = findViewById(R.id.yes_button);         mNoButton = findViewById(R.id.no_button);         mResetButton = findViewById(R.id.reset_button);         mSurveyQuestion = findViewById(R.id.survey_question);         mYesCount =...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT