public interface IDatabaseDefinition
Title: IDatabaseDefinition
Description: An interface for the database definition API
| Modifier and Type | Method and Description |
|---|---|
boolean |
areCatalogsSupported(java.lang.String astrId)
Retrieve the flag for the catalogs support.
|
boolean |
areTransactionsToBeIgnored(java.lang.String astrId)
Retrieve the flag which indicates whether transactions are to be ignored.
|
java.lang.String |
findDatabaseId(java.lang.String astrDatabaseServerName)
Retrieve the Database Server ID using the database server user-friendly name (reverse lookup).
|
java.util.List<java.lang.String> |
getAuthenticationTypes(java.lang.String astrId)
Retrieve the list of authentication type strings
|
java.util.Collection<java.lang.String> |
getDatabaseIDs()
Retrieve a collection of unique database definition identifiers (IDs).
|
java.lang.String |
getDatabaseUrlTemplate(java.lang.String astrId)
Retrieve a template of the database JDBC URL.
|
java.lang.String |
getDefaultNumericIdentityStrategy(java.lang.String astrId)
Retrieve the default numeric identity strategy type.
|
java.lang.String |
getDefaultStringIdentityStrategy(java.lang.String astrId)
Retrieve the default string identity strategy.
|
java.lang.String |
getDialect(java.lang.String astrId)
Retrieve the Hibernate Dialect class name be used with a particular database.
|
java.lang.String |
getDriverClassName(java.lang.String astrId)
Retrieve the JDBC driver class name associated with a particular database.
|
java.util.Collection<java.lang.String> |
getNumericIdentityStrategies(java.lang.String astrId)
Retrieve the list of numeric identity strategies
|
java.util.Map<java.lang.String,java.lang.String> |
getReserveWordReplacements(java.lang.String astrId)
Returns a map of reserve word replacements associated with the supplied database id.
|
java.util.Collection<java.lang.String> |
getStringIdentityStrategies(java.lang.String astrId)
Retrieve the list of string identity strategies
|
java.util.List<java.lang.String> |
getSupportedSqlTypes(java.lang.String astrId,
java.lang.String astrCorticonDataTypeName)
Determine whether a given Corticon Data Type can be mapped to a given SQL type within the
specified database.
|
java.lang.String |
getUserFriendlyName(java.lang.String astrId)
Retrieve the user-friendly name of a particular database.
|
java.util.Collection<java.lang.String> |
getUserFriendlyNames()
Retrieve a collection of user-friendly database names for the Vocabulary Database Access tab.
|
java.util.Collection<java.lang.String> |
getUserFriendlyNames(boolean abIncludeDeprecated)
Retrieve a collection of user-friendly database names for the Vocabulary Database Access tab.
|
java.lang.String |
getValidationQuery(java.lang.String astrId)
Retrieve a query used to validate a database connection.
|
boolean |
hasMandatoryValueStrategy(java.lang.String astrId)
Retrieve the flag for the mandatory value strategy.
|
boolean |
isDeprecated(java.lang.String astrId)
Retrieve the depreciated flag.
|
boolean |
isGetGeneratedKeysSupported(java.lang.String astrId)
Retrieve the flag for the getGeneratedKeys support.
|
boolean |
isReadOnlyModeSupported(java.lang.String astrId)
Retrieve the flag for the read only mode support.
|
boolean |
isSchemaCreationSupported(java.lang.String astrId)
Retrieve the flag for the database schema creation support.
|
boolean |
isSupportedSqlTypeMapping(java.lang.String astrId,
java.lang.String astrCorticonDataTypeName,
java.lang.String astrSqlTypeName)
Determine whether a given Corticon Data Type can be mapped to a given SQL type within the
specified database.
|
boolean |
isVisible(java.lang.String astrId)
Retrieve the visible flag.
|
java.lang.String findDatabaseId(java.lang.String astrDatabaseServerName)
astrDatabaseServerName - Localized database server name.null.java.util.Collection<java.lang.String> getDatabaseIDs()
java.util.Collection<java.lang.String> getUserFriendlyNames()
java.util.Collection<java.lang.String> getUserFriendlyNames(boolean abIncludeDeprecated)
abIncludeDeprecated - flag to indicate if depreciated databases should be included in the list.java.lang.String getUserFriendlyName(java.lang.String astrId)
astrId - database definition identifier whose user friendly name should be returned.java.lang.String getDriverClassName(java.lang.String astrId)
astrId - database definition identifier whose JDBC driver class name should be returned;java.lang.String getDialect(java.lang.String astrId)
astrId - database definition identifier whose Hibernate Dialect class name should be returned;java.lang.String getDatabaseUrlTemplate(java.lang.String astrId)
astrId - database definition identifier whose database URL template should be returned;java.lang.String getValidationQuery(java.lang.String astrId)
astrId - database definition identifier whose validation query should be returned;boolean isSupportedSqlTypeMapping(java.lang.String astrId,
java.lang.String astrCorticonDataTypeName,
java.lang.String astrSqlTypeName)
astrId - Database definition ID.astrCorticonDataTypeName - Corticon Data Type name (e.g., Decimal).astrSqlTypeName - SQL type name (e.g., DECIMAL).true if the mapping is valid.java.util.List<java.lang.String> getSupportedSqlTypes(java.lang.String astrId,
java.lang.String astrCorticonDataTypeName)
astrId - Database definition ID.astrCorticonDataTypeName - Corticon Data Type name (e.g., Decimal).java.lang.String getDefaultStringIdentityStrategy(java.lang.String astrId)
astrId - database definition identifier whose validation query should be returned;null if not defined.java.lang.String getDefaultNumericIdentityStrategy(java.lang.String astrId)
astrId - database definition identifier whose validation query should be returned;null if not defined.boolean isSchemaCreationSupported(java.lang.String astrId)
astrId - database definition identifier whose validation query should be returned;true if database schema creation is supported.boolean areTransactionsToBeIgnored(java.lang.String astrId)
astrId - database definition identifier whose validation query should be returned;true if transactions should be ignored.boolean isReadOnlyModeSupported(java.lang.String astrId)
astrId - database definition identifier whose validation query should be returned;true if read only mode is supported.boolean isGetGeneratedKeysSupported(java.lang.String astrId)
astrId - database definition identifier whose validation query should be returned;true if getGeneratedKeys is supported.boolean hasMandatoryValueStrategy(java.lang.String astrId)
astrId - database definition identifier whose validation query should be returned;true if the value strategy is mandatory.boolean areCatalogsSupported(java.lang.String astrId)
astrId - database definition identifier whose validation query should be returned;true if catalogs are supported.java.util.Collection<java.lang.String> getNumericIdentityStrategies(java.lang.String astrId)
astrId - Database definition ID.java.util.Collection<java.lang.String> getStringIdentityStrategies(java.lang.String astrId)
astrId - Database definition ID.boolean isDeprecated(java.lang.String astrId)
astrId - database definition identifier whose depreciated flag should be returned;true if the database is depreciated.boolean isVisible(java.lang.String astrId)
astrId - database definition identifier whose visible flag should be returned;true if the database is visible.java.util.List<java.lang.String> getAuthenticationTypes(java.lang.String astrId)
astrId - Database definition ID.java.util.Map<java.lang.String,java.lang.String> getReserveWordReplacements(java.lang.String astrId)
astrId - Database definition ID.Copyright © 2005-2021 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.