org.hibernate.test.annotations.onetomany
Class Politician

java.lang.Object
  extended by org.hibernate.test.annotations.onetomany.Politician

@Entity
public class Politician
extends Object


Constructor Summary
Politician()
           
 
Method Summary
 String getName()
           
 PoliticalParty getParty()
           
 void setName(String name)
           
 void setParty(PoliticalParty party)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Politician

public Politician()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getParty

public PoliticalParty getParty()

setParty

public void setParty(PoliticalParty party)


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