org.camunda.bpm.engine.impl.persistence.entity
Class MembershipEntity

java.lang.Object
  extended by 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
protected  GroupEntity group
           
protected  UserEntity user
           
 
Constructor Summary
MembershipEntity()
           
 
Method Summary
 GroupEntity getGroup()
           
 String getId()
           
 Object getPersistentState()
          Returns a representation of the object, as would be stored in the database.
 UserEntity getUser()
           
 void setGroup(GroupEntity group)
           
 void setId(String id)
           
 void setUser(UserEntity user)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

user

protected UserEntity user

group

protected GroupEntity group
Constructor Detail

MembershipEntity

public MembershipEntity()
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 interface DbEntity

getId

public String getId()
Specified by:
getId in interface DbEntity

setId

public void setId(String id)
Specified by:
setId in interface DbEntity

getUser

public UserEntity getUser()

setUser

public void setUser(UserEntity user)

getGroup

public GroupEntity getGroup()

setGroup

public void setGroup(GroupEntity group)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 camunda services GmbH. All rights reserved.