org.hibernate.envers.test.various
Class Person

java.lang.Object
  extended by org.hibernate.envers.test.various.Person

@Entity
public class Person
extends Object


Constructor Summary
Person()
           
 
Method Summary
 boolean equals(Object o)
           
 Address getAddress()
           
 int getId()
           
 String getName()
           
 String getSurname()
           
 int hashCode()
           
 void setAddress(Address address)
           
 void setId(int id)
           
 void setName(String name)
           
 void setSurname(String surname)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

public Person()
Method Detail

getId

public int getId()

setId

public void setId(int id)

getName

public String getName()

setName

public void setName(String name)

getSurname

public String getSurname()

setSurname

public void setSurname(String surname)

getAddress

public Address getAddress()

setAddress

public void setAddress(Address address)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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