Java Programming
Java Programming
SOME OF THE PROJECT’S DIRECTIO Create an Eclipse project named ManageProperties. Create a package named edu.seminolestate.manageproperties. Place the ManageProperties class described below in this package. Create a package named edu.seminolestate.properties. Put all the remaining classes described below in this package. Make the Property, House, and Apartment classes serializable. Make the Property class comparable. Create the PropertyZipComparator class. Implement the Comparator interface. Override the compare method using the zip code for the comparison. Implement the IllegalPropertyArgumentException class. Make this a checked exception. Implement the constructors shown in the UML class diagram. The following requirements are for the Property class. Make the Property class abstract. Implement the class variables shown in the UML class diagram. Implement the constructor shown in the UML class diagram. Call the set methods to update the class variables. Implement the get and set methods shown in the UML class diagram. The set methods must have the following edits: numeric parameter values must be greater than zero; String parameters values cannot be null or have a length less than one. Throw the IllegalPropertyArgumentException exception if a parameter is invalid. Instantiate the IllegalPropertyArgumentException with a descriptive error message. Override the compareTo method. Use the value for the comparison. Override the toString method. The following requirements are for the House class. Implement the class variable(s) shown in the UML class diagram. Implement the constructor shown in the UML class diagram. Call the set methods to update the class variables. Implement the get and set methods shown in the UML class diagram. The set methods must have the following edits: numeric parameter values must be greater than zero; String parameters values cannot be null or have a length less than one. Throw the IllegalPropertyArgumentException exception if a parameter is invalid. Instantiate the IllegalPropertyArgumentException with a descriptive error message.
Leave a Reply
Want to join the discussion?Feel free to contribute!