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()
DbEntity
getPersistentState
in interface DbEntity
public int getRevisionNext()
getRevisionNext
in interface HasDbRevision
public String getId()
public void setId(String id)
public String getName()
public int getRevision()
getRevision
in interface HasDbRevision
public void setRevision(int revision)
setRevision
in interface HasDbRevision
Copyright © 2020. All rights reserved.