Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.context.orm
Interface OrmPersistenceUnitDefaults

All Superinterfaces:
AccessReference, IAdaptable, JpaContextModel, JpaModel, JptResourceTypeReference, MappingFilePersistenceUnitDefaults, Model, SpecifiedAccessReference
All Known Subinterfaces:
EclipseLinkPersistenceUnitDefaults, OrmPersistenceUnitDefaults2_0

public interface OrmPersistenceUnitDefaults
extends MappingFilePersistenceUnitDefaults, SpecifiedAccessReference

Context model corresponding to the XML resource model XmlPersistenceUnitDefaults, which corresponds to the persistence-unit-defaults element in the orm.xml file.

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
2.1

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel
JpaModel.JpaVersionIsCompatibleWith
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
static String CASCADE_PERSIST_PROPERTY
           
static String DEFAULT_CATALOG_PROPERTY
           
static String DEFAULT_SCHEMA_PROPERTY
           
static String SPECIFIED_CATALOG_PROPERTY
           
static String SPECIFIED_SCHEMA_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.SpecifiedAccessReference
DEFAULT_ACCESS_PROPERTY, SPECIFIED_ACCESS_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Method Summary
 Catalog getDbCatalog()
           
 Schema getDbSchema()
           
 SchemaContainer getDbSchemaContainer()
           
 String getDefaultCatalog()
           
 String getDefaultSchema()
           
 OrmPersistenceUnitMetadata getParent()
          Covariant override.
 String getSpecifiedCatalog()
           
 String getSpecifiedSchema()
           
 void setCascadePersist(boolean value)
           
 void setSpecifiedCatalog(String newSpecifiedCatalog)
           
 void setSpecifiedSchema(String newSpecifiedSchema)
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.MappingFilePersistenceUnitDefaults
getAccess, getCatalog, getSchema, isCascadePersist
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.SpecifiedAccessReference
getDefaultAccess, getSpecifiedAccess, setSpecifiedAccess
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.AccessReference
getAccess
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
getResourceType
 

Field Detail

SPECIFIED_CATALOG_PROPERTY

static final String SPECIFIED_CATALOG_PROPERTY
See Also:
Constant Field Values

DEFAULT_CATALOG_PROPERTY

static final String DEFAULT_CATALOG_PROPERTY
See Also:
Constant Field Values

SPECIFIED_SCHEMA_PROPERTY

static final String SPECIFIED_SCHEMA_PROPERTY
See Also:
Constant Field Values

DEFAULT_SCHEMA_PROPERTY

static final String DEFAULT_SCHEMA_PROPERTY
See Also:
Constant Field Values

CASCADE_PERSIST_PROPERTY

static final String CASCADE_PERSIST_PROPERTY
See Also:
Constant Field Values
Method Detail

getParent

OrmPersistenceUnitMetadata getParent()
Covariant override.

Specified by:
getParent in interface JpaContextModel
Specified by:
getParent in interface JpaModel
Specified by:
getParent in interface MappingFilePersistenceUnitDefaults

getDbSchemaContainer

SchemaContainer getDbSchemaContainer()

getSpecifiedCatalog

String getSpecifiedCatalog()

setSpecifiedCatalog

void setSpecifiedCatalog(String newSpecifiedCatalog)

getDefaultCatalog

String getDefaultCatalog()

getDbCatalog

Catalog getDbCatalog()

getSpecifiedSchema

String getSpecifiedSchema()

setSpecifiedSchema

void setSpecifiedSchema(String newSpecifiedSchema)

getDefaultSchema

String getDefaultSchema()

getDbSchema

Schema getDbSchema()

setCascadePersist

void setCascadePersist(boolean value)

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.