/* * Person.java */ package travel; public class Person implements java.io.Serializable { /** Creates a new instance of Person */ public Person() { } /** * Holds value of property personId. */ private int personId; /** * Getter for property personId. * @return Value of property personId. */ public int getPersonId() { return this.personId; } /** * Setter for property personId. * @param personId New value of property personId. */ private void setPersonId(int personId) { this.personId = personId; } /** * Holds value of property name. */ private String name; /** * Getter for property name. * @return Value of property name. */ public String getName() { return this.name; } /** * Setter for property name. * @param name New value of property name. */ public void setName(String name) { this.name = name; } /** * Holds value of property jobTitle. */ private String jobTitle; /** * Getter for property jobTitle. * @return Value of property jobTitle. */ public String getJobTitle() { return this.jobTitle; } /** * Setter for property jobTitle. * @param jobTitle New value of property jobTitle. */ public void setJobTitle(String jobTitle) { this.jobTitle = jobTitle; } /** * Holds value of property frequentFlyer. */ private boolean frequentFlyer; /** * Getter for property frequentFlyer. * @return Value of property frequentFlyer. */ public boolean isFrequentFlyer() { return this.frequentFlyer; } /** * Setter for property frequentFlyer. * @param frequentFlyer New value of property frequentFlyer. */ public void setFrequentFlyer(boolean frequentFlyer) { this.frequentFlyer = frequentFlyer; } /** * Holds value of property trips. */ private java.util.Set trips; /** * Getter for property trips. * @return Value of property trips. */ public java.util.Set getTrips() { return this.trips; } /** * Setter for property trips. * @param trips New value of property trips. */ public void setTrips(java.util.Set trips) { this.trips = trips; } }