FileDocCategorySizeDatePackage
Membership.javaAPI DocHibernate 3.2.5768Wed Apr 11 09:25:14 BST 2007org.hibernate.test.insertordering

Membership

public class Membership extends Object
{@inheritDoc}
author
Steve Ebersole

Fields Summary
private Long
id
private User
user
private Group
group
private Date
activationDate
Constructors Summary
Membership()
For persistence

	
public Membership(User user, Group group)

		this( user, group, new Date() );
	
public Membership(User user, Group group, Date activationDate)

		this.user = user;
		this.group = group;
		this.activationDate = activationDate;
	
Methods Summary
public java.util.DategetActivationDate()

		return activationDate;
	
public GroupgetGroup()

		return group;
	
public java.lang.LonggetId()

		return id;
	
public UsergetUser()

		return user;