org.eclipse.datatools.connectivity.sqm.core.definition
Class DefaultDatabaseDefinition
java.lang.Object
   org.eclipse.datatools.connectivity.sqm.core.definition.DefaultDatabaseDefinition
org.eclipse.datatools.connectivity.sqm.core.definition.DefaultDatabaseDefinition
- All Implemented Interfaces: 
- DatabaseDefinition
- public class DefaultDatabaseDefinition 
- extends java.lang.Object- implements DatabaseDefinition
This class lets implementors of DatabaseDefinition choose which APIs
 to implement and buffers against compilation problems when new APIs are 
 added.
- Author:
- Thomas Sharp, sharpt@us.ibm.com
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DefaultDatabaseDefinition
public DefaultDatabaseDefinition()
getActionElementClasses
public java.util.List getActionElementClasses(org.eclipse.emf.ecore.EClass privilegedElementClass,
                                              java.lang.String action)
- 
- Specified by:
- getActionElementClassesin interface- DatabaseDefinition
 
- 
 
getCheckConstraintMaximumIdentifierLength
public int getCheckConstraintMaximumIdentifierLength()
- 
- Specified by:
- getCheckConstraintMaximumIdentifierLengthin interface- DatabaseDefinition
 
- 
 
getColumnMaximumIdentifierLength
public int getColumnMaximumIdentifierLength()
- 
- Specified by:
- getColumnMaximumIdentifierLengthin interface- DatabaseDefinition
 
- 
 
getDDLGenerator
public DDLGenerator getDDLGenerator()
- 
- Specified by:
- getDDLGeneratorin interface- DatabaseDefinition
 
- 
 
getDataModelElementFactory
public DataModelElementFactory getDataModelElementFactory()
- 
- Specified by:
- getDataModelElementFactoryin interface- DatabaseDefinition
 
- 
 
getDatabaseCatalogProvider
public ICatalogProvider getDatabaseCatalogProvider()
- 
- Specified by:
- getDatabaseCatalogProviderin interface- DatabaseDefinition
 
- 
 
getDatabaseMaximumIdentifierLength
public int getDatabaseMaximumIdentifierLength()
- 
- Specified by:
- getDatabaseMaximumIdentifierLengthin interface- DatabaseDefinition
 
- 
 
getDdlParser
public org.eclipse.datatools.connectivity.sqm.internal.core.rte.DDLParser getDdlParser()
- 
- Specified by:
- getDdlParserin interface- DatabaseDefinition
 
- 
 
getDebuggerDefinition
public org.eclipse.datatools.modelbase.dbdefinition.DebuggerDefinition getDebuggerDefinition()
- 
- Specified by:
- getDebuggerDefinitionin interface- DatabaseDefinition
 
- 
 
getDeltaDDLGenerator
public org.eclipse.datatools.connectivity.sqm.internal.core.rte.DeltaDDLGenerator getDeltaDDLGenerator()
- 
- Specified by:
- getDeltaDDLGeneratorin interface- DatabaseDefinition
 
- 
 
getDescription
public java.lang.String getDescription()
- 
- Specified by:
- getDescriptionin interface- DatabaseDefinition
 
- 
 
getForeignKeyMaximumIdentifierLength
public int getForeignKeyMaximumIdentifierLength()
- 
- Specified by:
- getForeignKeyMaximumIdentifierLengthin interface- DatabaseDefinition
 
- 
 
getFunctionLanguageType
public java.util.List getFunctionLanguageType()
- 
- Specified by:
- getFunctionLanguageTypein interface- DatabaseDefinition
 
- 
 
getHostVariableMarker
public java.lang.String getHostVariableMarker()
- 
- Specified by:
- getHostVariableMarkerin interface- DatabaseDefinition
 
- 
 
getIdentifierQuoteString
public java.lang.String getIdentifierQuoteString()
- 
- Specified by:
- getIdentifierQuoteStringin interface- DatabaseDefinition
 
- 
 
getIdentityColumnSupportedPredefinedDataTypes
public java.util.Iterator getIdentityColumnSupportedPredefinedDataTypes()
- 
- Specified by:
- getIdentityColumnSupportedPredefinedDataTypesin interface- DatabaseDefinition
 
- 
 
getLenghtSemantic
public java.lang.String getLenghtSemantic(CharacterStringDataType characterStringDataType)
- 
- Specified by:
- getLenghtSemanticin interface- DatabaseDefinition
 
- 
 
getMaximumIdentifierLength
public int getMaximumIdentifierLength()
- 
- Specified by:
- getMaximumIdentifierLengthin interface- DatabaseDefinition
 
- 
 
getMaximumIdentifierLength
public int getMaximumIdentifierLength(SQLObject sqlObject)
- 
- Specified by:
- getMaximumIdentifierLengthin interface- DatabaseDefinition
 
- 
 
getNicknameMaximumIdentifierLength
public int getNicknameMaximumIdentifierLength()
- 
- Specified by:
- getNicknameMaximumIdentifierLengthin interface- DatabaseDefinition
 
- 
 
getParentDeleteDRIRules
public java.util.List getParentDeleteDRIRules()
- 
- Specified by:
- getParentDeleteDRIRulesin interface- DatabaseDefinition
 
- 
 
getParentUpdateDRIRules
public java.util.List getParentUpdateDRIRules()
- 
- Specified by:
- getParentUpdateDRIRulesin interface- DatabaseDefinition
 
- 
 
getPredefinedDataType
public PredefinedDataType getPredefinedDataType(java.lang.String dataTypeName)
- 
- Specified by:
- getPredefinedDataTypein interface- DatabaseDefinition
 
- 
 
getPredefinedDataType
public PredefinedDataType getPredefinedDataType(org.eclipse.datatools.modelbase.dbdefinition.PredefinedDataTypeDefinition predefinedDataTypeDefinition)
- 
- Specified by:
- getPredefinedDataTypein interface- DatabaseDefinition
 
- 
 
getPredefinedDataTypeByNameAndJDBCEnumType
public PredefinedDataType getPredefinedDataTypeByNameAndJDBCEnumType(java.lang.String dataTypeName,
                                                                     int jdbcEnumType)
- 
- Specified by:
- getPredefinedDataTypeByNameAndJDBCEnumTypein interface- DatabaseDefinition
 
- 
 
getPredefinedDataTypeDefinition
public org.eclipse.datatools.modelbase.dbdefinition.PredefinedDataTypeDefinition getPredefinedDataTypeDefinition(java.lang.String dataTypeName)
- 
- Specified by:
- getPredefinedDataTypeDefinitionin interface- DatabaseDefinition
 
- 
 
getPredefinedDataTypeDefinitionByNameAndJDBCEnumType
public org.eclipse.datatools.modelbase.dbdefinition.PredefinedDataTypeDefinition getPredefinedDataTypeDefinitionByNameAndJDBCEnumType(java.lang.String dataTypeName,
                                                                                                                                      int jdbcEnumType)
- 
- Specified by:
- getPredefinedDataTypeDefinitionByNameAndJDBCEnumTypein interface- DatabaseDefinition
 
- 
 
getPredefinedDataTypeDefinitionsByJDBCEnumType
public java.util.List getPredefinedDataTypeDefinitionsByJDBCEnumType(int jdbcEnumType)
- 
- Specified by:
- getPredefinedDataTypeDefinitionsByJDBCEnumTypein interface- DatabaseDefinition
 
- 
 
getPredefinedDataTypeFormattedName
public java.lang.String getPredefinedDataTypeFormattedName(PredefinedDataType predefinedDataType)
- 
- Specified by:
- getPredefinedDataTypeFormattedNamein interface- DatabaseDefinition
 
- 
 
getPredefinedDataTypes
public java.util.Iterator getPredefinedDataTypes()
- 
- Specified by:
- getPredefinedDataTypesin interface- DatabaseDefinition
 
- 
 
getPredefinedDataTypesByJDBCEnumType
public java.util.List getPredefinedDataTypesByJDBCEnumType(int jdbcEnumType)
- 
- Specified by:
- getPredefinedDataTypesByJDBCEnumTypein interface- DatabaseDefinition
 
- 
 
getPrimarykeyIdentifierLength
public int getPrimarykeyIdentifierLength()
- 
- Specified by:
- getPrimarykeyIdentifierLengthin interface- DatabaseDefinition
 
- 
 
getPrivilegeActions
public java.util.List getPrivilegeActions(org.eclipse.emf.ecore.EClass privilegedElementClass)
- 
- Specified by:
- getPrivilegeActionsin interface- DatabaseDefinition
 
- 
 
getPrivilegedElementClasses
public java.util.List getPrivilegedElementClasses()
- 
- Specified by:
- getPrivilegedElementClassesin interface- DatabaseDefinition
 
- 
 
getProcedureLanguageType
public java.util.List getProcedureLanguageType()
- 
- Specified by:
- getProcedureLanguageTypein interface- DatabaseDefinition
 
- 
 
getProduct
public java.lang.String getProduct()
- 
- Specified by:
- getProductin interface- DatabaseDefinition
 
- 
 
getProductDisplayString
public java.lang.String getProductDisplayString()
- 
- Specified by:
- getProductDisplayStringin interface- DatabaseDefinition
 
- 
 
getRoutineParameterPredefinedDataTypeDefinitions
public java.util.Iterator getRoutineParameterPredefinedDataTypeDefinitions()
- 
- Specified by:
- getRoutineParameterPredefinedDataTypeDefinitionsin interface- DatabaseDefinition
 
- 
 
getRoutineParameterPredefinedDataTypeDefinitions
public java.util.Iterator getRoutineParameterPredefinedDataTypeDefinitions(org.eclipse.datatools.modelbase.dbdefinition.LanguageType languageType)
- 
- Specified by:
- getRoutineParameterPredefinedDataTypeDefinitionsin interface- DatabaseDefinition
 
- 
 
getSQLKeywords
public java.util.List getSQLKeywords()
- 
- Specified by:
- getSQLKeywordsin interface- DatabaseDefinition
 
- 
 
getSQLOperators
public java.util.List getSQLOperators()
- 
- Specified by:
- getSQLOperatorsin interface- DatabaseDefinition
 
- 
 
getSQLTerminationCharacter
public java.lang.String getSQLTerminationCharacter()
- 
- Specified by:
- getSQLTerminationCharacterin interface- DatabaseDefinition
 
- 
 
getSchemaMaximumIdentifierLength
public int getSchemaMaximumIdentifierLength()
- 
- Specified by:
- getSchemaMaximumIdentifierLengthin interface- DatabaseDefinition
 
- 
 
getSequenceSupportedPredefinedDataTypes
public java.util.Iterator getSequenceSupportedPredefinedDataTypes()
- 
- Specified by:
- getSequenceSupportedPredefinedDataTypesin interface- DatabaseDefinition
 
- 
 
getTableMaximumIdentifierLength
public int getTableMaximumIdentifierLength()
- 
- Specified by:
- getTableMaximumIdentifierLengthin interface- DatabaseDefinition
 
- 
 
getTablespaceMaximumIdentifierLength
public int getTablespaceMaximumIdentifierLength()
- 
- Specified by:
- getTablespaceMaximumIdentifierLengthin interface- DatabaseDefinition
 
- 
 
getTriggerMaximumIdentifierLength
public int getTriggerMaximumIdentifierLength()
- 
- Specified by:
- getTriggerMaximumIdentifierLengthin interface- DatabaseDefinition
 
- 
 
getUserDefinedTypeMaximumIdentifierLength
public int getUserDefinedTypeMaximumIdentifierLength()
- 
- Specified by:
- getUserDefinedTypeMaximumIdentifierLengthin interface- DatabaseDefinition
 
- 
 
getVersion
public java.lang.String getVersion()
- 
- Specified by:
- getVersionin interface- DatabaseDefinition
 
- 
 
getVersionDisplayString
public java.lang.String getVersionDisplayString()
- 
- Specified by:
- getVersionDisplayStringin interface- DatabaseDefinition
 
- 
 
getViewCheckOptionLevels
public java.util.List getViewCheckOptionLevels()
- 
- Specified by:
- getViewCheckOptionLevelsin interface- DatabaseDefinition
 
- 
 
getViewMaximumIdentifierLength
public int getViewMaximumIdentifierLength()
- 
- Specified by:
- getViewMaximumIdentifierLengthin interface- DatabaseDefinition
 
- 
 
isAuthorizationIdentifierSupported
public boolean isAuthorizationIdentifierSupported()
- 
- Specified by:
- isAuthorizationIdentifierSupportedin interface- DatabaseDefinition
 
- 
 
isGroupSupported
public boolean isGroupSupported()
- 
- Specified by:
- isGroupSupportedin interface- DatabaseDefinition
 
- 
 
isKeyConstraintSupported
public boolean isKeyConstraintSupported(DataType dataType)
- 
- Specified by:
- isKeyConstraintSupportedin interface- DatabaseDefinition
 
- 
 
isPrivilegedElementClass
public boolean isPrivilegedElementClass(org.eclipse.emf.ecore.EClass clss)
- 
- Specified by:
- isPrivilegedElementClassin interface- DatabaseDefinition
 
- 
 
isRoleAuthorizationSupported
public boolean isRoleAuthorizationSupported()
- 
- Specified by:
- isRoleAuthorizationSupportedin interface- DatabaseDefinition
 
- 
 
isRoleSupported
public boolean isRoleSupported()
- 
- Specified by:
- isRoleSupportedin interface- DatabaseDefinition
 
- 
 
isSQLKeyword
public boolean isSQLKeyword(java.lang.String word)
- 
- Specified by:
- isSQLKeywordin interface- DatabaseDefinition
 
- 
 
isSQLOperator
public boolean isSQLOperator(java.lang.String word)
- 
- Specified by:
- isSQLOperatorin interface- DatabaseDefinition
 
- 
 
isUniqueKeyNullable
public boolean isUniqueKeyNullable()
- 
- Specified by:
- isUniqueKeyNullablein interface- DatabaseDefinition
 
- 
 
isUserSupported
public boolean isUserSupported()
- 
- Specified by:
- isUserSupportedin interface- DatabaseDefinition
 
- 
 
queryMaxCheckExpression
public int queryMaxCheckExpression()
- 
- Specified by:
- queryMaxCheckExpressionin interface- DatabaseDefinition
 
- 
 
queryMaxCommentLength
public int queryMaxCommentLength()
- 
- Specified by:
- queryMaxCommentLengthin interface- DatabaseDefinition
 
- 
 
queryMaxIdentifierLength
public int queryMaxIdentifierLength()
- 
- Specified by:
- queryMaxIdentifierLengthin interface- DatabaseDefinition
 
- 
 
queryStoredProcedureMaxActionBodyLength
public int queryStoredProcedureMaxActionBodyLength()
- 
- Specified by:
- queryStoredProcedureMaxActionBodyLengthin interface- DatabaseDefinition
 
- 
 
queryTriggerMaxActionBodyLength
public int queryTriggerMaxActionBodyLength()
- 
- Specified by:
- queryTriggerMaxActionBodyLengthin interface- DatabaseDefinition
 
- 
 
queryTriggerMaxReferencePartLength
public int queryTriggerMaxReferencePartLength()
- 
- Specified by:
- queryTriggerMaxReferencePartLengthin interface- DatabaseDefinition
 
- 
 
setLenghtSemantic
public void setLenghtSemantic(CharacterStringDataType characterStringDataType,
                              java.lang.String value)
- 
- Specified by:
- setLenghtSemanticin interface- DatabaseDefinition
 
- 
 
supportTriggerWhenClause
public boolean supportTriggerWhenClause()
- 
- Specified by:
- supportTriggerWhenClausein interface- DatabaseDefinition
 
- 
 
supportsAlias
public boolean supportsAlias()
- 
- Specified by:
- supportsAliasin interface- DatabaseDefinition
 
- 
 
supportsArrayDataType
public boolean supportsArrayDataType()
- 
- Specified by:
- supportsArrayDataTypein interface- DatabaseDefinition
 
- 
 
supportsCastExpression
public boolean supportsCastExpression()
- 
- Specified by:
- supportsCastExpressionin interface- DatabaseDefinition
 
- 
 
supportsClusteredIndexes
public boolean supportsClusteredIndexes()
- 
- Specified by:
- supportsClusteredIndexesin interface- DatabaseDefinition
 
- 
 
supportsComputedColumns
public boolean supportsComputedColumns()
- 
- Specified by:
- supportsComputedColumnsin interface- DatabaseDefinition
 
- 
 
supportsConstraints
public boolean supportsConstraints()
- 
- Specified by:
- supportsConstraintsin interface- DatabaseDefinition
 
- 
 
supportsConstructedDataType
public boolean supportsConstructedDataType()
- 
- Specified by:
- supportsConstructedDataTypein interface- DatabaseDefinition
 
- 
 
supportsDefaultKeywordForInsertValue
public boolean supportsDefaultKeywordForInsertValue()
- 
- Specified by:
- supportsDefaultKeywordForInsertValuein interface- DatabaseDefinition
 
- 
 
supportsDeferrableConstraints
public boolean supportsDeferrableConstraints()
- 
- Specified by:
- supportsDeferrableConstraintsin interface- DatabaseDefinition
 
- 
 
supportsDistinctUserDefinedType
public boolean supportsDistinctUserDefinedType()
- 
- Specified by:
- supportsDistinctUserDefinedTypein interface- DatabaseDefinition
 
- 
 
supportsEvents
public boolean supportsEvents()
- 
- Specified by:
- supportsEventsin interface- DatabaseDefinition
 
- 
 
supportsExtendedGrouping
public boolean supportsExtendedGrouping()
- 
- Specified by:
- supportsExtendedGroupingin interface- DatabaseDefinition
 
- 
 
supportsHostVariableMarker
public boolean supportsHostVariableMarker()
- 
- Specified by:
- supportsHostVariableMarkerin interface- DatabaseDefinition
 
- 
 
supportsIdentityColumns
public boolean supportsIdentityColumns()
- 
- Specified by:
- supportsIdentityColumnsin interface- DatabaseDefinition
 
- 
 
supportsInformationalConstraints
public boolean supportsInformationalConstraints()
- 
- Specified by:
- supportsInformationalConstraintsin interface- DatabaseDefinition
 
- 
 
supportsInsteadOfTrigger
public boolean supportsInsteadOfTrigger()
- 
- Specified by:
- supportsInsteadOfTriggerin interface- DatabaseDefinition
 
- 
 
supportsMQT
public boolean supportsMQT()
- 
- Specified by:
- supportsMQTin interface- DatabaseDefinition
 
- 
 
supportsMQTIndex
public boolean supportsMQTIndex()
- 
- Specified by:
- supportsMQTIndexin interface- DatabaseDefinition
 
- 
 
supportsMultiSetDataType
public boolean supportsMultiSetDataType()
- 
- Specified by:
- supportsMultiSetDataTypein interface- DatabaseDefinition
 
- 
 
supportsNicknameConstraints
public boolean supportsNicknameConstraints()
- 
- Specified by:
- supportsNicknameConstraintsin interface- DatabaseDefinition
 
- 
 
supportsNicknameIndex
public boolean supportsNicknameIndex()
- 
- Specified by:
- supportsNicknameIndexin interface- DatabaseDefinition
 
- 
 
supportsNicknames
public boolean supportsNicknames()
- 
- Specified by:
- supportsNicknamesin interface- DatabaseDefinition
 
- 
 
supportsPackage
public boolean supportsPackage()
- 
- Specified by:
- supportsPackagein interface- DatabaseDefinition
 
- 
 
supportsPerColumnUpdateTrigger
public boolean supportsPerColumnUpdateTrigger()
- 
- Specified by:
- supportsPerColumnUpdateTriggerin interface- DatabaseDefinition
 
- 
 
supportsQuotedDDL
public boolean supportsQuotedDDL()
- 
- Specified by:
- supportsQuotedDDLin interface- DatabaseDefinition
 
- 
 
supportsQuotedDML
public boolean supportsQuotedDML()
- 
- Specified by:
- supportsQuotedDMLin interface- DatabaseDefinition
 
- 
 
supportsReferenceDataType
public boolean supportsReferenceDataType()
- 
- Specified by:
- supportsReferenceDataTypein interface- DatabaseDefinition
 
- 
 
supportsRowDataType
public boolean supportsRowDataType()
- 
- Specified by:
- supportsRowDataTypein interface- DatabaseDefinition
 
- 
 
supportsCursorDataType
public boolean supportsCursorDataType()
- 
- Specified by:
- supportsCursorDataTypein interface- DatabaseDefinition
 
- 
 
supportsRowTriggerReference
public boolean supportsRowTriggerReference()
- 
- Specified by:
- supportsRowTriggerReferencein interface- DatabaseDefinition
 
- 
 
supportsSQLStatement
public boolean supportsSQLStatement()
- 
- Specified by:
- supportsSQLStatementin interface- DatabaseDefinition
 
- 
 
supportsSQLUDFs
public boolean supportsSQLUDFs()
- 
- Specified by:
- supportsSQLUDFsin interface- DatabaseDefinition
 
- 
 
supportsUDF
public boolean supportsUDF()
- 
- Specified by:
- supportsUDFin interface- DatabaseDefinition
 
- 
 
supportsSchema
public boolean supportsSchema()
- 
- Specified by:
- supportsSchemain interface- DatabaseDefinition
 
- 
 
supportsSequence
public boolean supportsSequence()
- 
- Specified by:
- supportsSequencein interface- DatabaseDefinition
 
- 
 
supportsSnapshotViews
public boolean supportsSnapshotViews()
- 
- Specified by:
- supportsSnapshotViewsin interface- DatabaseDefinition
 
- 
 
supportsStoredProcedureNullInputAction
public boolean supportsStoredProcedureNullInputAction()
- 
- Specified by:
- supportsStoredProcedureNullInputActionin interface- DatabaseDefinition
 
- 
 
supportsStoredProcedures
public boolean supportsStoredProcedures()
- 
- Specified by:
- supportsStoredProceduresin interface- DatabaseDefinition
 
- 
 
supportsStructuredUserDefinedType
public boolean supportsStructuredUserDefinedType()
- 
- Specified by:
- supportsStructuredUserDefinedTypein interface- DatabaseDefinition
 
- 
 
supportsSynonym
public boolean supportsSynonym()
- 
- Specified by:
- supportsSynonymin interface- DatabaseDefinition
 
- 
 
supportsTableAliasInDelete
public boolean supportsTableAliasInDelete()
- 
- Specified by:
- supportsTableAliasInDeletein interface- DatabaseDefinition
 
- 
 
supportsTableTriggerReference
public boolean supportsTableTriggerReference()
- 
- Specified by:
- supportsTableTriggerReferencein interface- DatabaseDefinition
 
- 
 
supportsTriggerGranularity
public boolean supportsTriggerGranularity()
- 
- Specified by:
- supportsTriggerGranularityin interface- DatabaseDefinition
 
- 
 
supportsTriggerReferencesClause
public boolean supportsTriggerReferencesClause()
- 
- Specified by:
- supportsTriggerReferencesClausein interface- DatabaseDefinition
 
- 
 
supportsTriggerTypes
public boolean supportsTriggerTypes()
- 
- Specified by:
- supportsTriggerTypesin interface- DatabaseDefinition
 
- 
 
supportsTriggers
public boolean supportsTriggers()
- 
- Specified by:
- supportsTriggersin interface- DatabaseDefinition
 
- 
 
supportsUserDefinedType
public boolean supportsUserDefinedType()
- 
- Specified by:
- supportsUserDefinedTypein interface- DatabaseDefinition
 
- 
 
supportsViewCheckOption
public boolean supportsViewCheckOption()
- 
- Specified by:
- supportsViewCheckOptionin interface- DatabaseDefinition
 
- 
 
supportsViewCheckOptionLevels
public boolean supportsViewCheckOptionLevels()
- 
- Specified by:
- supportsViewCheckOptionLevelsin interface- DatabaseDefinition
 
- 
 
supportsViewIndex
public boolean supportsViewIndex()
- 
- Specified by:
- supportsViewIndexin interface- DatabaseDefinition
 
- 
 
supportsViewTriggers
public boolean supportsViewTriggers()
- 
- Specified by:
- supportsViewTriggersin interface- DatabaseDefinition
 
- 
 
supportsXML
public boolean supportsXML()
- 
- Specified by:
- supportsXMLin interface- DatabaseDefinition
 
-