org.zeroexchange.model.location
Class City

java.lang.Object
  extended by org.zeroexchange.model.Persistent
      extended by org.zeroexchange.model.StringPKPersistent
          extended by org.zeroexchange.model.location.City
All Implemented Interfaces:
Serializable, TitlesAware<City,CityStrings>, Identifiable<String>

@Entity
public class City
extends StringPKPersistent
implements TitlesAware<City,CityStrings>

Author:
black
See Also:
Serialized Form

Field Summary
static String FIELD_COUNTRY
           
 
Fields inherited from class org.zeroexchange.model.StringPKPersistent
FIELD_ID
 
Fields inherited from interface org.zeroexchange.model.i18n.TitlesAware
FIELD_TITLES
 
Constructor Summary
City()
           
 
Method Summary
 Country getCountry()
           
 CityStrings getTitles()
          Returns associated titles.
 void setCountry(Country country)
           
 void setTitles(CityStrings titles)
           
 
Methods inherited from class org.zeroexchange.model.StringPKPersistent
equals, getId, hashCode, setId
 
Methods inherited from class org.zeroexchange.model.Persistent
getTransientValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_COUNTRY

public static final String FIELD_COUNTRY
See Also:
Constant Field Values
Constructor Detail

City

public City()
Method Detail

getCountry

public Country getCountry()

setCountry

public void setCountry(Country country)

getTitles

public CityStrings getTitles()
Description copied from interface: TitlesAware
Returns associated titles.

Specified by:
getTitles in interface TitlesAware<City,CityStrings>

setTitles

public void setTitles(CityStrings titles)


Copyright © 2013. All Rights Reserved.