org.hibernate.envers.test.integration.inheritance.joined.relation
Class RightsSubject

java.lang.Object
  extended by org.hibernate.envers.test.integration.inheritance.joined.relation.RightsSubject
Direct Known Subclasses:
Person, Role

@Entity
public class RightsSubject
extends Object


Constructor Summary
RightsSubject()
           
RightsSubject(Long id, String group)
           
 
Method Summary
 boolean equals(Object o)
           
 String getGroup()
           
 Long getId()
           
 Set<Role> getRoles()
           
 int hashCode()
           
 void setGroup(String group)
           
 void setId(Long id)
           
 void setRoles(Set<Role> roles)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RightsSubject

public RightsSubject()

RightsSubject

public RightsSubject(Long id,
                     String group)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getId

public Long getId()

setId

public void setId(Long id)

getRoles

public Set<Role> getRoles()

setRoles

public void setRoles(Set<Role> roles)

getGroup

public String getGroup()

setGroup

public void setGroup(String group)


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