| Package | Description |
|---|---|
| org.tentackle.persist |
Persistence layer implementation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractIdSource
Base implementation for IdSources.
|
class |
ObjectId
An
IdSource to create unique object IDs. |
class |
ObjectSequenceId
An
IdSource to create unique object IDs from a database sequence. |
| Modifier and Type | Field and Description |
|---|---|
IdSource |
DbObjectClassVariables.idSource
the source for obtaining a new ID.
|
| Modifier and Type | Method and Description |
|---|---|
IdSource |
DefaultIdSourceConfigurator.configure(Db db,
String idConfig) |
IdSource |
IdSourceConfigurator.configure(Db db,
String idConfig)
Connect to the ID-Source.
|
IdSource |
Db.getDefaultIdSource()
Gets the default
IdSource. |
IdSource |
AbstractDbObject.getIdSource()
Get the IdSource.
|
IdSource |
DbObjectClassVariables.getIdSource(Db db)
Get the IdSource.
If the IdSource is null, the method will look for a property file which is the classname + ".properties". |
| Modifier and Type | Method and Description |
|---|---|
void |
Db.setDefaultIdSource(IdSource idSource)
Set the default
IdSource.This is the source that is used to generate unique object IDs if classes did not configure their own source. |
Copyright © 2016 Krake Softwaretechnik. All rights reserved.