org.zeroexchange.model.location
Class Country

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

@Entity
public class Country
extends StringPKPersistent
implements TitlesAware<Country,CountryStrings>

Author:
black
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.zeroexchange.model.StringPKPersistent
FIELD_ID
 
Fields inherited from interface org.zeroexchange.model.i18n.TitlesAware
FIELD_TITLES
 
Constructor Summary
Country()
           
 
Method Summary
 Set<City> getCities()
           
 CountryStrings getTitles()
          Returns associated titles.
 void setCities(Set<City> cities)
           
 void setTitles(CountryStrings 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
 

Constructor Detail

Country

public Country()
Method Detail

getCities

public Set<City> getCities()

setCities

public void setCities(Set<City> cities)

getTitles

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

Specified by:
getTitles in interface TitlesAware<Country,CountryStrings>

setTitles

public void setTitles(CountryStrings titles)


Copyright © 2013. All Rights Reserved.