@Entity public class JPAUMembership extends AbstractGeneratedKeyEntity implements UMembership
Modifier and Type | Field and Description |
---|---|
static String |
TABLE |
LOG
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
Constructor and Description |
---|
JPAUMembership() |
Modifier and Type | Method and Description |
---|---|
User |
getLeftEnd() |
Group |
getRightEnd() |
MembershipType |
getType() |
void |
setLeftEnd(User leftEnd) |
void |
setRightEnd(Group rightEnd) |
void |
setType(RelationshipType type) |
getKey, setKey
checkImplementationType, checkType, equals, hashCode, toString
public static final String TABLE
public MembershipType getType()
getType
in interface Membership<User>
getType
in interface Relationship<User,Group>
public void setType(RelationshipType type)
setType
in interface Relationship<User,Group>
public User getLeftEnd()
getLeftEnd
in interface Relationship<User,Group>
public void setLeftEnd(User leftEnd)
setLeftEnd
in interface Relationship<User,Group>
public Group getRightEnd()
getRightEnd
in interface Relationship<User,Group>
public void setRightEnd(Group rightEnd)
setRightEnd
in interface Relationship<User,Group>
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.