public class TenantEntity extends Object implements Tenant, Serializable, DbEntity, HasDbRevision
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected String |
name |
protected int |
revision |
| Constructor and Description |
|---|
TenantEntity() |
TenantEntity(String id) |
| Modifier and Type | Method and 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() |
public TenantEntity()
public TenantEntity(String id)
public Object getPersistentState()
DbEntitygetPersistentState in interface DbEntitypublic int getRevisionNext()
getRevisionNext in interface HasDbRevisionpublic String getId()
public void setId(String id)
public String getName()
public int getRevision()
getRevision in interface HasDbRevisionpublic void setRevision(int revision)
setRevision in interface HasDbRevisionCopyright © 2022. All rights reserved.