org.hibernate.test.annotations.entity
Class Address

java.lang.Object
  extended by org.hibernate.test.annotations.entity.Address

@Entity
public class Address
extends Object

Has a serializable class as a property


Constructor Summary
Address()
           
 
Method Summary
 String getCity()
           
 Country getCountry()
           
 Integer getId()
           
 void setCity(String city)
           
 void setCountry(Country country)
           
 void setId(Integer id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Address

public Address()
Method Detail

getId

public Integer getId()

setId

public void setId(Integer id)

getCity

public String getCity()

setCity

public void setCity(String city)

getCountry

public Country getCountry()

setCountry

public void setCountry(Country country)


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