Class TenantEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.TenantEntity
-
- All Implemented Interfaces:
Serializable,Tenant,DbEntity,HasDbRevision
public class TenantEntity extends Object implements Tenant, Serializable, DbEntity, HasDbRevision
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TenantEntity()TenantEntity(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()StringgetName()ObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.intgetRevision()intgetRevisionNext()voidsetId(String id)voidsetName(String name)voidsetRevision(int revision)StringtoString()
-
-
-
Constructor Detail
-
TenantEntity
public TenantEntity()
-
TenantEntity
public TenantEntity(String id)
-
-
Method Detail
-
getPersistentState
public Object getPersistentState()
Description copied from interface:DbEntityReturns 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:
getPersistentStatein interfaceDbEntity
-
getRevisionNext
public int getRevisionNext()
- Specified by:
getRevisionNextin interfaceHasDbRevision
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
getRevision
public int getRevision()
- Specified by:
getRevisionin interfaceHasDbRevision
-
setRevision
public void setRevision(int revision)
- Specified by:
setRevisionin interfaceHasDbRevision
-
-