This project is a Java application that simulates a warehouse management system. It includes classes for handling items, warehouses, addresses, and vehicles.
The project is structured into three main packages:
app
: Contains the main application logic.places
: Contains classes related to locations such asWarehouse
.Vehicle
: Contains classes related to transportation such asTruck
.
The app
package contains the Controller
class which is the entry point of the application. It includes methods for creating items and adding them to a warehouse, displaying information, and more.
public class Controller {
public static void main(String[] args) {/*...*/}
public static void createAddItemToWarehouse(Warehouse warehouse, int numberOfItemsToCreate) {/*...*/}
public static void yourInfoHeader() {/*...*/}
}
The places
package includes the Warehouse
class which represents a warehouse with an address and a list of items. It provides methods for managing the warehouse such as adding items, displaying the address, and more.
public class Warehouse {
public Warehouse(Address address) {/*...*/}
public ArrayList<Item> getItems() {/*...*/}
public Address getAddress() {/*...*/}
public void displayAddress() {/*...*/}
public void displayInfo() {/*...*/}
}
The Vehicle
package currently contains the Truck
class. More classes related to transportation can be added to this package in the future.
public class Truck {/*...*/}
To set up the project, you need to have a Java Development Kit (JDK) installed on your machine. Once you have that, you can clone the project and open it in your preferred IDE.
To run the project, navigate to the Controller
class in the app
package and run the main
method.
Contributions are welcome. Please fork the project and create a pull request with your changes.
This project is licensed under the MIT License.