Class JPAUMembership
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
-
- org.apache.syncope.core.persistence.jpa.entity.user.JPAUMembership
-
- All Implemented Interfaces:
Serializable
,Entity
,Membership<User>
,Relationship<User,Group>
,UMembership
@Entity public class JPAUMembership extends AbstractGeneratedKeyEntity implements UMembership
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
TABLE
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
LOG
-
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
-
Constructor Summary
Constructors Constructor Description JPAUMembership()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
getLeftEnd()
Group
getRightEnd()
MembershipType
getType()
void
setLeftEnd(User leftEnd)
void
setRightEnd(Group rightEnd)
void
setType(RelationshipType type)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
getKey, setKey
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, toString
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public MembershipType getType()
- Specified by:
getType
in interfaceMembership<User>
- Specified by:
getType
in interfaceRelationship<User,Group>
-
setType
public void setType(RelationshipType type)
- Specified by:
setType
in interfaceRelationship<User,Group>
-
getLeftEnd
public User getLeftEnd()
- Specified by:
getLeftEnd
in interfaceRelationship<User,Group>
-
setLeftEnd
public void setLeftEnd(User leftEnd)
- Specified by:
setLeftEnd
in interfaceRelationship<User,Group>
-
getRightEnd
public Group getRightEnd()
- Specified by:
getRightEnd
in interfaceRelationship<User,Group>
-
setRightEnd
public void setRightEnd(Group rightEnd)
- Specified by:
setRightEnd
in interfaceRelationship<User,Group>
-
-