Proyecto Final POO
Proyecto Final POO
Professor’s names:
Daniel Edahi Urueta Hinojosa
Brenda L. Godínez Hernández
Student’s names:
Efraín Galván Rabadán
Giovanny Sixto Martínez
Víctor Ángel Bahena Guzmán
2) Codes, images of the codes by which the project was developed will be shown
in a detailed yet understandable manner. Testing and images are provided to
prove that the work was done successfully. Lastly, documentation.
This project was carried out by the following persons: Efraín Galván Rabadán, Víctor
Ángel Bahena Guzmán and Giovanny Sixto Martínez, students of the Polytechnic
University of the State of Guerrero, under the course of Networks and
Telecommunications. We taken into account the requirements of warehouse storage
and inventory, intending to solve the problem of the movement of items and providing
sales transactions. To achieve this, items will be categorized based on
characteristics such as quantity, price and name.
Our case study covers the need for a motorcycle parts store. Its premise is located
on a highway in the city of Iguala de la Independencia where there is high traffic. We
observed that the traffic frequency of motorcycles is higher than cars. This results in
a customer base consisting of mostly bikers. Hence the business is aimed at
motorcycle parts. However, that does not mean they do not sell other automotive
products such as oils, brake fluids, antifreeze, etc..
This generates a need to have a very well accounted inventory management system.
The high flow of motorcyclists in search of spare parts makes it very complicated to
keep track of what comes in and out of the warehouse.
Business context.
Bajaj" is a enterprise specializing in selling all types of original and generic spare
parts for any motorcycle. It has competent storage for parts, being considered as
one of the best in the area. It plans to expand both nationally and internationally to
generate more income. The company has become the preferred destination for
motorcycle owners looking for reliable parts because they have high quality
personnel and experts. Their passionate team not only offers top-notch products, but
also personalized advice to ensure that each customer finds the right solution for
their specific needs. Whether for sport, adventure or sport bikes, naked sport or
custom made, Bajaj is committed to keeping motorcyclists on the move in safety and
style. This case study also cover factors such as rider trends in the area, regulations
and requirements for a dealership to operate.
Requerements gathering process
Listed are the requirements highlighted as necessary when conducting a survey of
the refurbishing shop, from most to least important.
To begin with, we have our program suitable for the specifications and needs of the
owner of the company (sale of spare parts for motorcycles) so we rely on everything
he told us he needed, since he has problems in his inventory so his priority of this
project is to eliminate that problem, we start with our page with an option to register
and have more security once registered this is our menu of
Makeup site
To start at the time of opening the program it will take us to a window where we can
enter and register users as well as their password to be able to access as shown in
the following image:
Once entering we can do different tasks such as adding purchased products to put
on sale and thus be able to take a much more effective control. Below is a menu
with several options and a registration table.
The set and get methods were implemented to request and give information about
the boxes of each of the product characteristics
Here the database was connected with MySQL and Java
In this part we make a table to be able to add the products that we want to add to
our store
Development
First we started to design the view of the graphical interface with buttons and text
boxes
Once we have the above done, we create the variables of the texts with their
respective constructor by declaring the data type along with their set and get
methods and we also implement the total method to make the sum of the total
Then we create a new package that we call connection within that we create a java
class in which we implement a "connection" method, for this we occupy 2 variables
that are connection and drivermanager
We create our registration class, within this class we send to call our connection
class which is the main one, that is to say that connects us to the database well once
having called the connection class we proceed to indicate to the program that it has
to insert products in our table what it receives from our get method and assigns it
with our set method and so once functional the records will be shown in
Once knowing that our connection and data saving are correctly we proceed to show
that in our interface table within this in the same way we send to call our connection
and we create our show table method, well within this we already begin to shape it
internally what is done is to call the class of the table that is given by default and we
begin to add columns that bear the name "ID, BRAND, NAME, QUANTITY, PRICE,
TOTAL" successively from that we begin to cite the data that comes from our
products table and what we do is create an object along with all the positions in which
we want them to be inserted in the table once this happened we proceeded to show
the finished model of the table