|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DatabaseIdentifierAdapter
This interface allows clients of the Dali db package to plug in a custom strategy for converting a database identifier to a database name and vice versa.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Nested Class Summary | |
|---|---|
static class |
DatabaseIdentifierAdapter.Default
This adapter simply uses the passed in default callback. |
static interface |
DatabaseIdentifierAdapter.DefaultCallback
The client-provided finder is passed a "default" callback that can be used if appropriate. |
| Method Summary | |
|---|---|
java.lang.String |
convertIdentifierToName(java.lang.String identifier,
DatabaseIdentifierAdapter.DefaultCallback defaultCallback)
Convert the specified "identifier" to a "name". |
java.lang.String |
convertNameToIdentifier(java.lang.String name,
DatabaseIdentifierAdapter.DefaultCallback defaultCallback)
Convert the specified "name" to an "identifier". |
| Method Detail |
|---|
java.lang.String convertIdentifierToName(java.lang.String identifier,
DatabaseIdentifierAdapter.DefaultCallback defaultCallback)
java.lang.String convertNameToIdentifier(java.lang.String name,
DatabaseIdentifierAdapter.DefaultCallback defaultCallback)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||