Reference no: EM132297193
Project - Network Asset Register Project
Write a GUI program in Java to satisfy the following:
1. Create a class to store information on Network infrastructure assets. The name of the class is: NetworkInfrastructureAsset.
2. The class must store the serial number, device brand, model number, date of manufacture, date of purchase, date of install, date of last maintenance.
3. Every instance of NetworkInfrastructureAsset should be maintained every 6 months.
4. Network Infrastructure Asset may include PCs, Monitors, Routers and UPSs. These assets inherit the NetworkInfrastructureAsset class.
The student should declare these four sub-classes, and add additional attributes to each sub-class. For example, in the PC sub-class, the student can add the attributes int screenWidth, and in the sub-class, the student can add the attribute Date batteryReplacementDate for the UPS sub-class).
5. Use an appropriate Java Container class to store instances of the NetworkInfrastructureAsset class. Ensure that the container can store and retrieve instances of the class.
6. Validate all user data to ensure consistency, reduce errors and that mandatory data is present. Test for missing data, non-numbers or dates, or out of range numbers.
7. Place all input and output operations into try catch handlers.
8. Provide methods to report the following: count of items and items with overdue maintenance.
9. Use Java Swing classes for implementing a Graphical User Interface. Use a JTab, a JRadioButton, or any other way to allow you to display the relevant form for each of the asset type. An example is provided below.
Additional 50 Marks will be awarded for:
1. Validating the bounds of data entered and not storing invalid data. Return negative result codes for invalid data and test for these in your test.
2. Prompt the user to repair or re-enter invalid data and program must not crash
3. Add a search method to find the index of an asset, and display the asset data on a JLabel component.
Attachment:- Network Asset Register Project.rar