Class MembershipEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.MembershipEntity
-
- All Implemented Interfaces:
Serializable
,DbEntity
public class MembershipEntity extends Object implements Serializable, DbEntity
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected GroupEntity
group
protected String
id
To handle a MemberhipEntity in the cache, an id is necessary.protected UserEntity
user
-
Constructor Summary
Constructors Constructor Description MembershipEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupEntity
getGroup()
String
getGroupId()
String
getId()
Object
getPersistentState()
Returns a representation of the object, as would be stored in the database.UserEntity
getUser()
String
getUserId()
void
setGroup(GroupEntity group)
void
setId(String id)
void
setUser(UserEntity user)
String
toString()
-
-
-
Field Detail
-
user
protected UserEntity user
-
group
protected GroupEntity group
-
id
protected String id
To handle a MemberhipEntity in the cache, an id is necessary. Even though it is not going to be persisted in the database.
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
Description copied from interface:DbEntity
Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentState
in interfaceDbEntity
-
getUser
public UserEntity getUser()
-
setUser
public void setUser(UserEntity user)
-
getGroup
public GroupEntity getGroup()
-
setGroup
public void setGroup(GroupEntity group)
-
getUserId
public String getUserId()
-
getGroupId
public String getGroupId()
-
-