/*
 * Created on Aug 19, 2003
 *
 * To change the template for this generated file go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
package DataClasses;

/**
 * @author student
 *
 * This class is being used for storing the address data pertaining to the user.
 * 
 */
public class UserAddress_Data {

	private String email;
	private String street;
	private String suburb;
	private String city;
	private String country;
	private String phone;

	/**
	 * This is the constructor for UserAddress_Data.java
	 */
	public UserAddress_Data() {
	}

	/**
	 * This is the constructor for UserAddress_Data.java
	 */
	public UserAddress_Data(
		String eMail,
		String street,
		String suburb,
		String city,
		String country,
		String phone) {
		this.email = eMail;
		this.street = street;
		this.suburb = suburb;
		this.city = city;
		this.country = country;
		this.phone = phone;
	}

	/**
	 * This method is being used for setting email address of the user.
	 * @param eMail The email address of the user.
	 * @return void
	 */
	public void setEmail(String eMail) {
		this.email = eMail;
	}

	/**
	 * This method is being used for setting the street address of the user.
	 * @param street The street. 
	 * @return void
	 */
	public void setStreet(String street) {
		this.street = street;
	}

	/**
	 * This method is being used for setting the city address of the user.
	 * @param city The city. 
	 * @return void
	 */
	public void setCity(String city) {
		this.city = city;
	}
	/**
	 * This method is being used for setting the suburb address of the user.
	 * @param sub The suburb. 
	 * @return void
	 */
	public void setSuburb(String sub) {
		this.suburb = sub;
	}
	
	/**
	 * This method is being used for setting the country address of the user.
	 * @param country The country. 
	 * @return void
	 */
	public void setCountry(String country) {
		this.country = country;
	}
	
	/**
	 * This method is being used for setting the phone number of the user.
	 * @param phone Phone number.
	 * @return void
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}
	/**
	 * This method is being used for getting the email address of the user.
	 * @return String Email address.
	 */
	public String getEmail() {
		return this.email;
	}

	/**
	 * This method is being used for getting the street address of the user.
	 * @return String Street address.
	 */
	public String getStreet() {
		return this.street;
	}
	/**
	 * This method is being used for getting the city address of the user.
	 * @return String City address.
	 */
	public String getCity() {
		return this.city;
	}

	/**
	 * This method is being used for getting the suburb address of the user.
	 * @return String Suburb address.
	 */
	public String getSuburb() {
		return this.suburb;
	}
	/**
	 * This method is being used for getting the country address of the user.
	 * @return String Country address.
	 */
	public String getCountry() {
		return this.country;
	}
	/**
	 * This method is being used for getting the phone number of the user.
	 * @return String Phone number.
	 */
	public String getPhone() {
		return this.phone;
	}
}