org.hibernate.test.ondelete
Class Person

java.lang.Object
  extended by org.hibernate.test.ondelete.Person
Direct Known Subclasses:
Employee

public class Person
extends Object


Constructor Summary
Person()
           
 
Method Summary
 Address getAddress()
           
 long getId()
           
 String getName()
           
 Salesperson getSalesperson()
           
 char getSex()
           
 void setAddress(String string)
           
 void setCountry(String string)
           
 void setId(long id)
           
 void setName(String identity)
           
 void setSalesperson(Salesperson salesperson)
           
 void setSex(char sex)
           
 void setZip(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

public Person()
Method Detail

getAddress

public Address getAddress()
Returns:
Returns the address.

setAddress

public void setAddress(String string)

setZip

public void setZip(String string)

setCountry

public void setCountry(String string)

getSex

public char getSex()
Returns:
Returns the sex.

setSex

public void setSex(char sex)
Parameters:
sex - The sex to set.

getId

public long getId()
Returns:
Returns the id.

setId

public void setId(long id)
Parameters:
id - The id to set.

getName

public String getName()
Returns:
Returns the identity.

setName

public void setName(String identity)
Parameters:
identity - The identity to set.

getSalesperson

public Salesperson getSalesperson()

setSalesperson

public void setSalesperson(Salesperson salesperson)


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