FileDocCategorySizeDatePackage
Person.javaAPI DocHibernate 3.2.5954Tue Dec 12 16:22:26 GMT 2006org.hibernate.test.onetoone.formula

Person

public class Person extends Object implements Serializable
author
Gavin King

Fields Summary
private String
name
private Address
address
private Address
mailingAddress
Constructors Summary
Methods Summary
public booleanequals(java.lang.Object that)

		if ( !(that instanceof Person) ) return false;
		Person person = (Person) that;
		return person.getName().equals(name);
	
public AddressgetAddress()

		return address;
	
public AddressgetMailingAddress()

		return mailingAddress;
	
public java.lang.StringgetName()

		return name;
	
public inthashCode()

		return name.hashCode();
	
public voidsetAddress(Address address)

		this.address = address;
	
public voidsetMailingAddress(Address mailingAddress)

		this.mailingAddress = mailingAddress;
	
public voidsetName(java.lang.String name)

		this.name = name;