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

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, MappingFilePersistenceUnitDefaults, Model, XmlContextNode
All Known Subinterfaces:
OrmPersistenceUnitDefaults2_0

public interface OrmPersistenceUnitDefaults
extends MappingFilePersistenceUnitDefaults

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
Version:
2.1

Field Summary
static java.lang.String ACCESS_PROPERTY
           
static java.lang.String CASCADE_PERSIST_PROPERTY
           
static java.lang.String DEFAULT_CATALOG_PROPERTY
           
static java.lang.String DEFAULT_SCHEMA_PROPERTY
           
static java.lang.String SPECIFIED_CATALOG_PROPERTY
           
static java.lang.String SPECIFIED_SCHEMA_PROPERTY
           
 
Method Summary
 Catalog getDbCatalog()
           
 Schema getDbSchema()
           
 SchemaContainer getDbSchemaContainer()
           
 java.lang.String getDefaultCatalog()
           
 java.lang.String getDefaultSchema()
           
 OrmPersistenceUnitMetadata getParent()
          Covariant override.
 java.lang.String getSpecifiedCatalog()
           
 java.lang.String getSpecifiedSchema()
           
 void setAccess(AccessType value)
           
 void setCascadePersist(boolean value)
           
 void setSpecifiedCatalog(java.lang.String newSpecifiedCatalog)
           
 void setSpecifiedSchema(java.lang.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.XmlContextNode
getValidationTextRange, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, synchronizeWithResourceModel, update
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaProject, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.IResourcePart
getResource
 

Field Detail

ACCESS_PROPERTY

static final java.lang.String ACCESS_PROPERTY
See Also:
Constant Field Values

SPECIFIED_CATALOG_PROPERTY

static final java.lang.String SPECIFIED_CATALOG_PROPERTY
See Also:
Constant Field Values

DEFAULT_CATALOG_PROPERTY

static final java.lang.String DEFAULT_CATALOG_PROPERTY
See Also:
Constant Field Values

SPECIFIED_SCHEMA_PROPERTY

static final java.lang.String SPECIFIED_SCHEMA_PROPERTY
See Also:
Constant Field Values

DEFAULT_SCHEMA_PROPERTY

static final java.lang.String DEFAULT_SCHEMA_PROPERTY
See Also:
Constant Field Values

CASCADE_PERSIST_PROPERTY

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

getParent

OrmPersistenceUnitMetadata getParent()
Covariant override.

Specified by:
getParent in interface JpaNode
Specified by:
getParent in interface MappingFilePersistenceUnitDefaults

setAccess

void setAccess(AccessType value)

getDbSchemaContainer

SchemaContainer getDbSchemaContainer()

getSpecifiedCatalog

java.lang.String getSpecifiedCatalog()

setSpecifiedCatalog

void setSpecifiedCatalog(java.lang.String newSpecifiedCatalog)

getDefaultCatalog

java.lang.String getDefaultCatalog()

getDbCatalog

Catalog getDbCatalog()

getSpecifiedSchema

java.lang.String getSpecifiedSchema()

setSpecifiedSchema

void setSpecifiedSchema(java.lang.String newSpecifiedSchema)

getDefaultSchema

java.lang.String getDefaultSchema()

getDbSchema

Schema getDbSchema()

setCascadePersist

void setCascadePersist(boolean value)