public static class DatabaseRegistry.DatabaseVersion
extends java.lang.Object
| Constructor and Description | 
|---|
DatabaseVersion(int version,
               java.lang.String nlsName,
               java.lang.String dbImplClassName)
Create a new database version. 
 | 
DatabaseVersion(int version,
               java.lang.String nlsName,
               java.lang.String dbImplClassName,
               boolean legacy)
Create a new database version. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getDatabaseClassName()
Gets the class name of the Database implementation that will be
 instantiated for this database version. 
 | 
java.lang.String | 
getName()
Gets the translated name for database version respresented by this
 object. 
 | 
int | 
getVersion()
Gets the api "database version" represented by this object. 
 | 
public DatabaseVersion(int version,
                       java.lang.String nlsName,
                       java.lang.String dbImplClassName)
version - the api's internal version number (must be unique to
 this DatabaseVersion against the registered database type)nlsName - the translated name to show the user for this version
 (if null this will be a legacy version)dbImplClassName - the Database implementation class that will
 represent this version in the api (does not need to be unique to this
 version)public DatabaseVersion(int version,
                       java.lang.String nlsName,
                       java.lang.String dbImplClassName,
                       boolean legacy)
version - the api's internal version number (must be unique to
 this DatabaseVersion against the registered database type)nlsName - the translated name to show the user for this version
 (if null this must be a legacy version)dbImplClassName - the Database implementation class that will
 represent this version in the api (does not need to be unique to this
 version)legacy - if true the api will consider this a legacy (i.e. no
 longer supported) version, and not offer it for new providers.public final int getVersion()
public final java.lang.String getName()
public final java.lang.String getDatabaseClassName()