/*
* Vige, Home of Professional Open Source
* Copyright 2010, Vige, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package it.vige.magazzino.model;
import java.io.Serializable;
/**
* <p>
* <strong>Address</strong> is the model/entity class that represents an address
* of a jar or a customer to insert and select.
* </p>
*
* @author <a href="http://www.vige.it">Luca Stancapiano</a>
*/
public class Address implements Serializable {
private static final long serialVersionUID = 5864740902799651849L;
private String address;
private String civicNumber;
private String cap;
private String town;
private String city;
private String province;
private String phone;
private String fax;
private String site;
private String email;
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getCivicNumber() {
return civicNumber;
}
public void setCivicNumber(String civicNumber) {
this.civicNumber = civicNumber;
}
public String getCap() {
return cap;
}
public void setCap(String cap) {
this.cap = cap;
}
public String getTown() {
return town;
}
public void setTown(String town) {
this.town = town;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getProvince() {
return province;
}
public void setProvince(String province) {
this.province = province;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getFax() {
return fax;
}
public void setFax(String fax) {
this.fax = fax;
}
public String getSite() {
return site;
}
public void setSite(String site) {
this.site = site;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
@Override
public String toString() {
return address + " " + civicNumber + " " + cap + " " + city;
}
}