org.hibernate.test.manytomanyassociationclass.compositeid
Class MembershipWithCompositeId

java.lang.Object
  extended by org.hibernate.test.manytomanyassociationclass.Membership
      extended by org.hibernate.test.manytomanyassociationclass.compositeid.MembershipWithCompositeId

public class MembershipWithCompositeId
extends Membership

Models a user's membership in a group.


Nested Class Summary
static class MembershipWithCompositeId.Id
           
 
Constructor Summary
MembershipWithCompositeId()
           
MembershipWithCompositeId(String name)
           
 
Method Summary
 void setGroup(Group group)
           
 void setUser(User user)
           
 
Methods inherited from class org.hibernate.test.manytomanyassociationclass.Membership
equals, getGroup, getId, getName, getUser, hashCode, setId, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MembershipWithCompositeId

public MembershipWithCompositeId()

MembershipWithCompositeId

public MembershipWithCompositeId(String name)
Method Detail

setGroup

public void setGroup(Group group)
Overrides:
setGroup in class Membership

setUser

public void setUser(User user)
Overrides:
setUser in class Membership


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