com.mycompany.model
Class City

java.lang.Object
  extended by com.mycompany.model.AbstractEntity
      extended by 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()
           
 
Method Summary
 java.lang.Double getLatitude()
           
 java.lang.Double getLongitude()
           
 java.lang.String getName()
           
 ProvinceState getProvinceState()
           
 void setLatitude(java.lang.Double latitude)
           
 void setLongitude(java.lang.Double longitude)
           
 void setName(java.lang.String name)
           
 void setProvinceState(ProvinceState state)
           
 
Methods inherited from class com.mycompany.model.AbstractEntity
equals, getId, getVersion, hashCode, setId, setVersion
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

City

public City()
Method Detail

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)