Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.jdeveloper.offlinedb.model
Class DataTypeSettings

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.jdeveloper.offlinedb.model.DataTypeSettings


public class DataTypeSettings
extends HashStructureAdapter

Settings class for storing the datatype settings for a given offline provider.


Field Summary

 

Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash

 

Method Summary
 ComplexType findBuiltInComplexType(java.lang.String name, java.lang.String schemaName)
          Not final API - do not use yet.
 DataType getDataType(java.lang.String typeName)
          Gets a DataType with the given type name.
static java.lang.Class getDefaultSourceClass()
           
 java.lang.Class<? extends Database> getSource()
          Gets the source database class whose DataTypes we are supporting in this provider.
static java.lang.Class[] getSourceClasses()
           
 java.lang.String getSourceName()
          Gets the dispayable/translated name for the current emulation type returned by getSource().
static java.lang.String getSourceName(java.lang.Class<? extends Database> clz)
           
static java.lang.Class<? extends Database> getSupportedClass(java.lang.Class<? extends Database> clz)
          Gets the supported emulation class for the given Database class.
static java.util.Collection<java.lang.Class<? extends Database>> getUpgradePaths(java.lang.Class<? extends Database> dbClass)
          Returns the possible classes that the source property can be upgraded to when changing the project property from the given value.
 ComplexType[] listComplexTypes(java.lang.String schemaName)
          Not final API - do not use yet.
 java.lang.String[] listComplexTypeSchemas()
          Not final API - do not use yet.
 DataType[] listDataTypes()
          Lists the DataTypes appropriate to the current settings.
 void setSource(java.lang.Class<? extends Database> clz)
          Sets the source database class whose DataTypes we are supporting in this provider.

 

Methods inherited from class oracle.javatools.data.HashStructureAdapter
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getSource

public java.lang.Class<? extends Database> getSource()
Gets the source database class whose DataTypes we are supporting in this provider. If not set will return a default source (latest version of Oracle).

getSourceName

public java.lang.String getSourceName()
Gets the dispayable/translated name for the current emulation type returned by getSource().
See Also:
getSource(), getSourceName(Class)

setSource

public void setSource(java.lang.Class<? extends Database> clz)
Sets the source database class whose DataTypes we are supporting in this provider.

getSupportedClass

public static java.lang.Class<? extends Database> getSupportedClass(java.lang.Class<? extends Database> clz)
Gets the supported emulation class for the given Database class. Some database implementations aren't explictly supported, but fit into a more generic category (e.g. "Generic JDBC").

getDataType

public DataType getDataType(java.lang.String typeName)
Gets a DataType with the given type name.

listDataTypes

public DataType[] listDataTypes()
Lists the DataTypes appropriate to the current settings.

listComplexTypeSchemas

public java.lang.String[] listComplexTypeSchemas()
Not final API - do not use yet.

listComplexTypes

public ComplexType[] listComplexTypes(java.lang.String schemaName)
Not final API - do not use yet.

findBuiltInComplexType

public ComplexType findBuiltInComplexType(java.lang.String name,
                                          java.lang.String schemaName)
Not final API - do not use yet.

getSourceClasses

public static java.lang.Class[] getSourceClasses()

getDefaultSourceClass

public static java.lang.Class getDefaultSourceClass()

getSourceName

public static java.lang.String getSourceName(java.lang.Class<? extends Database> clz)

getUpgradePaths

public static final java.util.Collection<java.lang.Class<? extends Database>> getUpgradePaths(java.lang.Class<? extends Database> dbClass)
Returns the possible classes that the source property can be upgraded to when changing the project property from the given value.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.