org.hibernate.test.stats
Class Locality

java.lang.Object
  extended by org.hibernate.test.stats.Locality
Direct Known Subclasses:
Province, State

public class Locality
extends Object


Constructor Summary
Locality()
           
Locality(String name, Country country)
           
 
Method Summary
 Country getCountry()
           
 Long getId()
           
 String getName()
           
 void setCountry(Country country)
           
 void setId(Long id)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Locality

public Locality()

Locality

public Locality(String name,
                Country country)
Method Detail

getId

public Long getId()

setId

public void setId(Long id)

getName

public String getName()

setName

public void setName(String name)

getCountry

public Country getCountry()

setCountry

public void setCountry(Country country)


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.