public enum ServiceDatabaseSoftware extends Enum<ServiceDatabaseSoftware> implements IDatabaseSoftware
DEFAULT, SERVICE, SID| Modifier and Type | Method and Description |
|---|---|
abstract <T,E extends Exception> |
accept(IDatabaseSoftwareVisitor<T,E> visitor) |
static ServiceDatabaseSoftware |
getByUrl(String url) |
String |
getDefaultJdbcUrlPatternName() |
Driver |
getDriver() |
String |
getDriverName() |
IJdbcPattern |
getJdbcUrlPattern(String name) |
List<IJdbcPattern> |
getJdbcUrlPatterns() |
int |
getPort() |
String |
getProtocol() |
boolean |
isApplicable() |
boolean |
isGisSupportApplicable() |
static ServiceDatabaseSoftware |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceDatabaseSoftware[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceDatabaseSoftware ORACLE
public static final ServiceDatabaseSoftware POSTGRES
public static final ServiceDatabaseSoftware HANA
public static ServiceDatabaseSoftware[] values()
for (ServiceDatabaseSoftware c : ServiceDatabaseSoftware.values()) System.out.println(c);
public static ServiceDatabaseSoftware valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Driver getDriver()
getDriver in interface IDatabaseSoftwarepublic String getDriverName()
getDriverName in interface IDatabaseSoftwarepublic String getProtocol()
getProtocol in interface IDatabaseSoftwarepublic int getPort()
getPort in interface IDatabaseSoftwarepublic abstract <T,E extends Exception> T accept(IDatabaseSoftwareVisitor<T,E> visitor) throws E extends Exception
E extends Exceptionpublic boolean isApplicable()
isApplicable in interface IDatabaseSoftwarepublic boolean isGisSupportApplicable()
isGisSupportApplicable in interface IDatabaseSoftwarepublic static ServiceDatabaseSoftware getByUrl(String url)
public String getDefaultJdbcUrlPatternName()
getDefaultJdbcUrlPatternName in interface IDatabaseSoftwarepublic IJdbcPattern getJdbcUrlPattern(String name)
getJdbcUrlPattern in interface IDatabaseSoftwarepublic List<IJdbcPattern> getJdbcUrlPatterns()
getJdbcUrlPatterns in interface IDatabaseSoftwareCopyright © 2007–2018 Andreas W. Bartels. All rights reserved.