@@ -0,0 +1,2484 @@
+/*%0A * Copyright 2014 Rico Antonio Felix%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage com.rico.felix.models;%0A%0A/**%0A * This class is used to model a staff member within the system.%0A *%0A * The fundamental information contained within an object of this type%0A * includes a staff member's title, first and last names along with an%0A * e-mail address and the name of the staff member's office.%0A */%0Apublic final class Staff extends Person%0A%7B%0A%09/**%0A%09 * Object used for the serialization mechanism%0A%09 */%0A%09private static final long serialVersionUID = -3968916956475875017L;%0A%0A%09// Fields for storing fundamental information for an object of this type%0A%09private String title;%0A%09private String office;%0A%0A%09/**%0A%09 * Parameterized constructor for an object of this type%0A%09 *%0A%09 * @param title     Staff member's title%0A%09 * @param firstName Staff member's first name%0A%09 * @param lastName  Staff member's last name%0A%09 * @param email     Staff member's email address%0A%09 * @param office    Name of staff member's office%0A%09 */%0A%09public Staff(final String title, final String firstName, final String lastName,%0A%09%09  final String email, final String office)%0A%09%7B%0A%09%09super(firstName, lastName, email);%0A%09%09this.title = title;%0A%09%09this.office = office;%0A%09%7D%0A%0A%09/**%0A%09 * Retrieve name of office associated with an object of this type%0A%09 *%0A%09 * @return Name of office associated with the object%0A%09 */%0A%09public String getOffice()%0A%09%7B%0A%09%09return office;%0A%09%7D%0A%0A%09/**%0A%09 * Change the name of office associated with an object of this type%0A%09 *%0A%09 * @param newOffice New name of office to associate with the object%0A%09 */%0A%09public void setOffice(final String newOffice)%0A%09%7B%0A%09%09office = newOffice;%0A%09%7D%0A%0A%09/**%0A%09 * Retrieve the string representation of an object of this type%0A%09 *%0A%09 * @return String representation for this object%0A%09 */%0A%09@Override%0A%09public String toString()%0A%09%7B%0A%09%09return String.format(%22Staff Member Name: %25s%25nE-mail Address: %25s%25n%22%0A%09%09%09%09+ %22Office: %25s%25n%25n%22, title + %22 %22 + getFirstName() + %22 %22%0A%09%09%09%09+ getLastName(), getEmail(), office);%0A%09%7D%0A%0A%7D%0A

Create Staff.java