public abstract class EntityWithId extends java.lang.Object implements LocalIdentifiable, java.io.Serializable
LocalIdentifiable| Modifier and Type | Field and Description |
|---|---|
protected long |
_id |
INVALID_ID| Constructor and Description |
|---|
EntityWithId() |
EntityWithId(long id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
existInDatabase() |
long |
getDatabaseId() |
void |
setDatabaseId(long id) |
public boolean existInDatabase()
public void setDatabaseId(long id)
setDatabaseId in interface LocalIdentifiablepublic long getDatabaseId()
getDatabaseId in interface LocalIdentifiable