org.hibernate.test.annotations.embedded.many2one
Class Country

java.lang.Object
  extended by org.hibernate.test.annotations.embedded.many2one.Country
All Implemented Interfaces:
Serializable

@Entity
public class Country
extends Object
implements Serializable

THe entity target of the many-to-one from a component/embeddable.

See Also:
Serialized Form

Constructor Summary
Country()
           
Country(String iso2, String name)
           
 
Method Summary
 String getIso2()
           
 String getName()
           
 void setIso2(String iso2)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Country

public Country()

Country

public Country(String iso2,
               String name)
Method Detail

getIso2

public String getIso2()

setIso2

public void setIso2(String iso2)

getName

public String getName()

setName

public void setName(String name)


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