package cse308.swift.shared.beans; import java.util.Date; /** * The User Account Bean. Store and Provides all the Data for the User * @author Ray */ public class ClientAccountData { private int clientID; /** * The First Name of the User */ private String firstName; /** * The Last Name of the User */ private String lastName; /** * The Address of the User */ private String address; /** * The State where the User Resides */ private String state; /** * The ZipCode of the User */ private int zipcode; /** * The Company of the User */ private String company; /** * The Date Object of the User's DOB */ private Date dateOfBirth; /** * The Email Address of the User */ private String emailAddress; /** * The Secondary Email Address of the User * - Not to be confused with the Login Address */ private String secondaryEmailAddress; /** * The Phone Number of the User */ private String cellularPhoneNumber; /** * The Password of the User */ private String password; /** * The City of the User */ private String city; /** * Whether the User would like Text Alerts; */ private boolean textAlerts; /** * Whether the User would like Email Alerts; */ private boolean emailAlerts; private String cellularProvider; /** * Returns the First Name of the User * @return The First Name of the User: String */ public String getFirstName() { return firstName; } /** * Sets the First Name of the User * @param firstName The First Name of the User: String */ public void setFirstName(String firstName) { this.firstName = firstName; } /** * Returns the Last Name of the User * @return The Last Name of the User: String */ public String getLastName() { return lastName; } /** * Sets the Last Name of the User * @param lastName The Last Name of the User: String */ public void setLastName(String lastName) { this.lastName = lastName; } /** * Returns the Address of the User * @return The Address of the User: String */ public String getAddress() { return address; } /** * Sets the Address of the User * @param address The Address of the User: String */ public void setAddress(String address) { this.address = address; } /** * Returns the Location State of the User * @return The Location State of the User: String */ public String getState() { return state; } /** * Sets the Location State of the User * @param state The Location State of the User: String */ public void setState(String state) { this.state = state; } /** * Returns the Zip Code of the User * @return The Zip Code of the User: Int */ public int getZipcode() { return zipcode; } /** * Sets the Zip Code of the User * @param zipcode The Zip Code of the User: Int */ public void setZipcode(int zipcode) { this.zipcode = zipcode; } /** * Returns the Company of the User * @return The Company of the User: String */ public String getCompany() { return company; } /** * Sets the Company of the User * @param company The Company of the User: String */ public void setCompany(String company) { this.company = company; } /** * Returns the Date Object of the User's Date of Birth * @return The Date Object of the User's Date of Birth: Date */ public Date getDateOfBirth() { return dateOfBirth; } /** * Sets the Date Object of the User's Date of Birth * @param dateOfBirth The Date Object of the User's Date of Birth: String */ public void setDateOfBirth(Date dateOfBirth) { this.dateOfBirth = dateOfBirth; } /** * Returns the Email Address of the User * @return The Email Address of the User: String */ public String getEmailAddress() { return emailAddress; } /** * Sets the Email Address of the User * Should NEVER be called since the User's Email Address is also the Login Account * @param emailAddress The Email Address of the User: String */ public void setEmailAddress(String emailAddress) { this.emailAddress = emailAddress; } /** * Returns the Secondary Email Address of the User * @return The Secondary Email Address of the User: String */ public String getSecondaryEmailAddress() { return secondaryEmailAddress; } /** * Sets the Secondary Email Address of the User * @param secondaryEmailAddress The Secondary Email Address of the User: String */ public void setSecondaryEmailAddress(String secondaryEmailAddress) { this.secondaryEmailAddress = secondaryEmailAddress; } /** * Returns the Phone Number of the User * @return The Phone Number of the User: String */ public String getCellularPhoneNumber() { return cellularPhoneNumber; } /** * Sets the Phone Number of the User * @param phoneNumber The Phone Number of the User: String */ public void setCellularPhoneNumber(String cellularPhoneNumber) { this.cellularPhoneNumber = cellularPhoneNumber; } /** * Returns the Password of the User * @return The Password of the User: String */ public String getPassword() { return password; } /** * Sets the Password of the User * @param password The Password of the User: String */ public void setPassword(String password) { this.password = password; } /** * Sets the City of the User * @param city The City of the User: String */ public void setCity(String city) { this.city = city; } /** * Returns the City of the User * @return The City of the User: String: String */ public String getCity() { return city; } /** * Returns the Cellular Provider for the user * @return The cellular provider for the user: String */ public String getCellularProvider() { return cellularProvider; } /** * Sets the Cellular Provider for the user * @param cellularProvider The Cellular Provider for the user: String */ public void setCellularProvider(String cellularProvider) { this.cellularProvider = cellularProvider; } /** * Sets Whether the User would like Text Alerts * @param textAlerts The boolean value if the User would like Text Alerts: String */ public void setTextAlerts(boolean textAlerts) { this.textAlerts = textAlerts; } /** * Returns Whether the User would like Text Alerts * @return The boolean value on whether the User would like Text Alerts: String */ public boolean isTextAlerts() { return textAlerts; } /** * Sets Whether the User would like Email Alerts * @param emailAlerts The boolean value on whether the User would like Email Alerts: String */ public void setEmailAlerts(boolean emailAlerts) { this.emailAlerts = emailAlerts; } /** * Returns Whether the User would like Email Alerts * @return The boolean value on whether the User would like Email Alerts: String */ public boolean isEmailAlerts() { return emailAlerts; } /** * Sets the client ID for this account. * @param clientID The client ID for this account: Int */ public void setClientID(int clientID) { this.clientID = clientID; } /** * Returns the client ID for this account * @return The client ID for this account: Int */ public int getClientID() { return clientID; } }