FileDocCategorySizeDatePackage
User.javaAPI DocHibernate 3.2.5859Wed Jun 01 16:27:44 BST 2005org.hibernate.test.orphan

User

public class User extends Object
author
Kevin

Fields Summary
private Integer
id
private String
userid
private Set
mail
Constructors Summary
public User()


	  
	
public User(String userid)

		this.userid = userid;
	
Methods Summary
public MailaddMail(java.lang.String alias)

		Mail mail = new Mail( alias, this );
		getMail().add( mail );
		return mail;
	
public java.lang.IntegergetId()

		return id;
	
public java.util.SetgetMail()

		return mail;
	
public java.lang.StringgetUserid()

		return userid;
	
public voidremoveMail(Mail mail)

		getMail().remove( mail );
	
protected voidsetId(java.lang.Integer id)

		this.id = id;
	
private voidsetMail(java.util.Set mail)

		this.mail = mail;
	
public voidsetUserid(java.lang.String userid)

		this.userid = userid;