com.mycompany.model
Class City
java.lang.Object
com.mycompany.model.AbstractEntity
com.mycompany.model.City
- All Implemented Interfaces:
- java.io.Serializable
@Entity
public class City
- extends AbstractEntity
JPA entity class for city data.
- Author:
- Ian Hlavats (ian@tarantulaconsulting.com)
- See Also:
- Serialized Form
Constructor Summary |
City()
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
City
public City()
getLatitude
public java.lang.Double getLatitude()
getLongitude
public java.lang.Double getLongitude()
getName
public java.lang.String getName()
getProvinceState
public ProvinceState getProvinceState()
setLatitude
public void setLatitude(java.lang.Double latitude)
setLongitude
public void setLongitude(java.lang.Double longitude)
setName
public void setName(java.lang.String name)
setProvinceState
public void setProvinceState(ProvinceState state)