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 String
getId()
String
getName()
Object
getPersistentState()
Returns a representation of the object, as would be stored in the database.int
getRevision()
int
getRevisionNext()
void
setId(String id)
void
setName(String name)
void
setRevision(int revision)
String
toString()
-
-
-
Constructor Detail
-
TenantEntity
public TenantEntity()
-
TenantEntity
public TenantEntity(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 interfaceDbEntity
-
getRevisionNext
public int getRevisionNext()
- Specified by:
getRevisionNext
in interfaceHasDbRevision
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
getRevision
public int getRevision()
- Specified by:
getRevision
in interfaceHasDbRevision
-
setRevision
public void setRevision(int revision)
- Specified by:
setRevision
in interfaceHasDbRevision
-
-