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:
  • Field Details

    • id

      protected String id
    • name

      protected String name
    • revision

      protected int revision
  • Constructor Details

    • TenantEntity

      public TenantEntity()
    • TenantEntity

      public TenantEntity(String id)
  • Method Details

    • 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 DbEntity
      Specified by:
      getId in interface Tenant
      Returns:
      the id of the tenant
    • setId

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

      public String getName()
      Specified by:
      getName in interface Tenant
      Returns:
      the name of the tenant
    • setName

      public void setName(String name)
      Specified by:
      setName in interface Tenant
    • 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