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

java.lang.Object
  extended by org.camunda.bpm.engine.impl.persistence.entity.GroupEntity
All Implemented Interfaces:
Serializable, Group, DbEntity, HasDbRevision

public class GroupEntity
extends Object
implements Group, Serializable, DbEntity, HasDbRevision

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  String id
           
protected  String name
           
protected  int revision
           
protected  String type
           
 
Constructor Summary
GroupEntity()
           
GroupEntity(String id)
           
 
Method Summary
 String getId()
           
 String getName()
           
 Object getPersistentState()
          Returns a representation of the object, as would be stored in the database.
 int getRevision()
           
 int getRevisionNext()
           
 String getType()
           
 void setId(String id)
           
 void setName(String name)
           
 void setRevision(int revision)
           
 void setType(String type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected String id

revision

protected int revision

name

protected String name

type

protected String type
Constructor Detail

GroupEntity

public GroupEntity()

GroupEntity

public GroupEntity(String id)
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

getRevisionNext

public int getRevisionNext()
Specified by:
getRevisionNext in interface HasDbRevision

getId

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

setId

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

getName

public String getName()
Specified by:
getName in interface Group

setName

public void setName(String name)
Specified by:
setName in interface Group

getType

public String getType()
Specified by:
getType in interface Group

setType

public void setType(String type)
Specified by:
setType in interface Group

getRevision

public int getRevision()
Specified by:
getRevision in interface HasDbRevision

setRevision

public void setRevision(int revision)
Specified by:
setRevision in interface HasDbRevision

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2017 camunda services GmbH. All rights reserved.