@Entity public class Zipcodes extends hbm.entity.BaseEntity<Integer> implements Cloneable
Zipcodes is keeping the information for the
cities and the corresponding zipcodes.| Constructor and Description |
|---|
Zipcodes()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCity()
Return the value associated with the column: city
|
Countries |
getCountry()
Return the value associated with the column: country
|
String |
getZipcode()
Return the value associated with the column: zipcode
|
void |
setCity(String city)
Set the value related to the column: city
|
void |
setCountry(Countries country)
Set the value related to the column: country
|
void |
setZipcode(String zipcode)
Set the value related to the column: zipcode
|
public String getCity()
public String getZipcode()
public Countries getCountry()
public void setCountry(Countries country)
country - the country value you wish to setpublic void setCity(String city)
city - the city value you wish to setpublic void setZipcode(String zipcode)
zipcode - the zipcode value you wish to setCopyright © 2015. All rights reserved.