public class EcodFactory
extends java.lang.Object
CathDatabases
being used.
Implements a multiton pattern through #getCathDatabase(String)
,
and a singleton pattern through #getCathDatabase()
.ScopFactory
,
CathInstallation
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_VERSION |
Modifier and Type | Method and Description |
---|---|
static EcodDatabase |
getEcodDatabase()
Returns the (singleton) database for the current default version
|
static EcodDatabase |
getEcodDatabase(java.lang.String version) |
static void |
setEcodDatabase(java.lang.String version)
Updates the default version
|
public static EcodDatabase getEcodDatabase()
public static EcodDatabase getEcodDatabase(java.lang.String version)
public static void setEcodDatabase(java.lang.String version)
version
-