public class HibernateMembership extends Object implements Serializable
This object is not for public consumption and should never escape the MembershipDao. No integrity checking is performed within the object as that would potentially confuse Hibernate, so the safest way to deal with this class is to pretend it is immutable and only ever construct it through the two factory methods provided.
Constructor and Description |
---|
HibernateMembership()
Private constructor for Hibernate
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.crowd.model.group.InternalGroup |
getGroupMember() |
Long |
getId() |
com.atlassian.crowd.model.group.InternalGroup |
getParentGroup() |
com.atlassian.crowd.model.user.InternalUser |
getUserMember() |
static HibernateMembership |
groupGroupMembership(com.atlassian.crowd.model.group.InternalGroup parent,
com.atlassian.crowd.model.group.InternalGroup member) |
static HibernateMembership |
groupUserMembership(com.atlassian.crowd.model.group.InternalGroup parent,
com.atlassian.crowd.model.user.InternalUser member) |
void |
setGroupMember(com.atlassian.crowd.model.group.InternalGroup groupMember) |
void |
setId(Long id) |
void |
setParentGroup(com.atlassian.crowd.model.group.InternalGroup parentGroup) |
void |
setUserMember(com.atlassian.crowd.model.user.InternalUser userMember) |
String |
toString() |
public HibernateMembership()
public static HibernateMembership groupUserMembership(com.atlassian.crowd.model.group.InternalGroup parent, com.atlassian.crowd.model.user.InternalUser member)
public static HibernateMembership groupGroupMembership(com.atlassian.crowd.model.group.InternalGroup parent, com.atlassian.crowd.model.group.InternalGroup member)
public com.atlassian.crowd.model.group.InternalGroup getParentGroup()
public void setParentGroup(com.atlassian.crowd.model.group.InternalGroup parentGroup)
public com.atlassian.crowd.model.user.InternalUser getUserMember()
public void setUserMember(com.atlassian.crowd.model.user.InternalUser userMember)
public com.atlassian.crowd.model.group.InternalGroup getGroupMember()
public void setGroupMember(com.atlassian.crowd.model.group.InternalGroup groupMember)
public Long getId()
public void setId(Long id)
Copyright © 2003–2016 Atlassian. All rights reserved.