org.hibernate.test.onetoone.formula
Class Person

java.lang.Object
  extended by org.hibernate.test.onetoone.formula.Person
All Implemented Interfaces:
Serializable

public class Person
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Person()
           
 
Method Summary
 boolean equals(Object that)
           
 Address getAddress()
           
 Address getMailingAddress()
           
 String getName()
           
 int hashCode()
           
 void setAddress(Address address)
           
 void setMailingAddress(Address mailingAddress)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

public Person()
Method Detail

getAddress

public Address getAddress()

setAddress

public void setAddress(Address address)

getMailingAddress

public Address getMailingAddress()

setMailingAddress

public void setMailingAddress(Address mailingAddress)

getName

public String getName()

setName

public void setName(String name)

equals

public boolean equals(Object that)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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