org.hibernate.test.cuk
Class Person

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

public class Person
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Person()
           
 
Method Summary
 boolean equals(Object other)
           
 Set getAccounts()
           
 Address getAddress()
           
 Long getId()
           
 String getName()
           
 String getUserId()
           
 int hashCode()
           
 boolean isDeleted()
           
 void setAccounts(Set accounts)
           
 void setAddress(Address address)
           
 void setDeleted(boolean deleted)
           
 void setId(Long id)
           
 void setName(String name)
           
 void setUserId(String userId)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Person

public Person()
Method Detail

getUserId

public String getUserId()
Returns:
Returns the userId.

setUserId

public void setUserId(String userId)
Parameters:
userId - The userId to set.

getAddress

public Address getAddress()
Returns:
Returns the address.

setAddress

public void setAddress(Address address)
Parameters:
address - The address 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 name.

setName

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

getAccounts

public Set getAccounts()
Returns:
Returns the accounts.

setAccounts

public void setAccounts(Set accounts)
Parameters:
accounts - The accounts to set.

isDeleted

public boolean isDeleted()

setDeleted

public void setDeleted(boolean deleted)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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