|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.data.HashStructureAdapter
oracle.jdeveloper.offlinedb.model.OfflineDBProjectSettings
public class OfflineDBProjectSettings
Object to encapsulate offline database settings in a project's configuration. This object is added to the common data of a project when it is first given an OfflineDBObjectProvider. Provides access to offline database information such as the database path under which the offline objects' .xml files are stored.
Field Summary | |
---|---|
static java.lang.String |
CONTENT_SET_KEY |
static java.lang.String |
CONTENT_SET_LOCAL_KEY |
static java.lang.String |
DATABASE_PATH Deprecated. - use CONTENT_SET_KEY |
static java.lang.String |
DATABASE_SETTINGS_KEY Key to use for storage of the modeler project specific settings |
static java.lang.String |
DATATYPE_SETTINGS_KEY |
static java.lang.String |
DEFAULT_SCHEMA_NAME |
static java.lang.String |
SCHEMA_KEY |
Fields inherited from class oracle.javatools.data.HashStructureAdapter |
---|
_hash |
Method Summary | |
---|---|
OfflineDBProjectSettings |
createCopy() Returns a copy of this project settings object. |
static OfflineDBProjectSettings |
createDatabaseSettings(Project proj) Create default settings on the given project. |
static OfflineDBProjectSettings |
createDatabaseSettings(Project proj, boolean userSettings, boolean defaultProject) Creates offline database settings for the given project and sets them in the common data appropriately. |
static void |
ensureContentSetDefaults(ContentSet contentSet, Project proj) |
ContentSet |
getContentSet() Returns the ContentSet for these OfflineDBProjectSettings. |
static OfflineDBProjectSettings |
getDatabaseSettings(Project project) Given a project, returns the offline database settings stored for that project. |
static OfflineDBProjectSettings |
getDatabaseSettings(Project proj, HashStructure props) Given a PropertyStorage object, returns the offline database settings. |
DataTypeSettings |
getDataTypeSettings() Deprecated. - moved to ProviderSettings |
static java.lang.String |
getDefaultDatabasePath() Returns the default database path settings for the IDE. |
static java.net.URL |
getDefaultDatabasePath(Locatable proj) Given a project this creates a default database path relative the project's base URL and returns the URL of the new directory. |
java.lang.String |
getDefaultSchemaName() Deprecated. - moved to ProviderSettings |
java.lang.String |
getDefaultSchemaName(boolean defaultIfNone) Deprecated. - moved to ProviderSettings |
void |
setDefaultSchemaName(java.lang.String name) Deprecated. - moved to ProviderSettings |
void |
setDefaultSchemaName(java.lang.String name, boolean overwrite) Deprecated. - moved to ProviderSettings |
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 |
Field Detail |
---|
public static final java.lang.String DATABASE_SETTINGS_KEY
public static final java.lang.String CONTENT_SET_LOCAL_KEY
public static final java.lang.String CONTENT_SET_KEY
public static final java.lang.String DATATYPE_SETTINGS_KEY
public static final java.lang.String SCHEMA_KEY
public static final java.lang.String DEFAULT_SCHEMA_NAME
@Deprecated
public static final java.lang.String DATABASE_PATH
Method Detail |
---|
public OfflineDBProjectSettings createCopy()
public ContentSet getContentSet()
@Deprecated
public DataTypeSettings getDataTypeSettings()
@Deprecated
public java.lang.String getDefaultSchemaName(boolean defaultIfNone)
@Deprecated
public java.lang.String getDefaultSchemaName()
@Deprecated
public void setDefaultSchemaName(java.lang.String name)
@Deprecated
public void setDefaultSchemaName(java.lang.String name,
boolean overwrite)
public static OfflineDBProjectSettings getDatabaseSettings(Project project)
public static OfflineDBProjectSettings getDatabaseSettings(Project proj, HashStructure props)
null
if the object contains no offline db settings.public static java.net.URL getDefaultDatabasePath(Locatable proj)
public static java.lang.String getDefaultDatabasePath()
public static OfflineDBProjectSettings createDatabaseSettings(Project proj)
public static OfflineDBProjectSettings createDatabaseSettings(Project proj, boolean userSettings, boolean defaultProject)
proj
- the project to create the settings forpropertydata
- the data container for the settingsuserSettings
- whether this is the user specific settingsdefaultProject
- whether this is the default projectpublic static void ensureContentSetDefaults(ContentSet contentSet, Project proj)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |