FileDocCategorySizeDatePackage
Email.javaAPI DocHibernate 3.2.5648Tue May 08 22:52:56 BST 2007org.hibernate.test.usercollection.basic

Email

public class Email extends Object
author
Gavin King

Fields Summary
private Long
id
private String
address
Constructors Summary
Email()

public Email(String type)

		this.address = type;
	
Methods Summary
public booleanequals(java.lang.Object that)

		if ( !(that instanceof Email) ) return false;
		Email p = (Email) that;
		return this.address.equals(p.address);
	
public java.lang.StringgetAddress()

		return address;
	
public java.lang.LonggetId()

		return id;
	
public inthashCode()

		return address.hashCode();
	
public voidsetAddress(java.lang.String type)

		this.address = type;
	
private voidsetId(java.lang.Long id)

		this.id = id;