org.hibernate.envers.test.integration.inheritance.joined.relation
Class RightsSubject
java.lang.Object
org.hibernate.envers.test.integration.inheritance.joined.relation.RightsSubject
- Direct Known Subclasses:
- Person, Role
@Entity
public class RightsSubject
- extends Object
RightsSubject
public RightsSubject()
RightsSubject
public RightsSubject(Long id,
String group)
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.