org.eclipse.jpt.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 XmlContextNode, MappingFilePersistenceUnitDefaults
Context orm.xml persistence unit defaults.
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
| Methods inherited from interface org.eclipse.jpt.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 |
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
getAccess
AccessType getAccess()
- Specified by:
getAccess in interface MappingFilePersistenceUnitDefaults
setAccess
void setAccess(AccessType value)
getDbSchemaContainer
SchemaContainer getDbSchemaContainer()
getCatalog
java.lang.String getCatalog()
- Return the specified catalog if present, otherwise return the default catalog.
- Specified by:
getCatalog in interface MappingFilePersistenceUnitDefaults
getSpecifiedCatalog
java.lang.String getSpecifiedCatalog()
setSpecifiedCatalog
void setSpecifiedCatalog(java.lang.String newSpecifiedCatalog)
getDefaultCatalog
java.lang.String getDefaultCatalog()
getDbCatalog
Catalog getDbCatalog()
getSchema
java.lang.String getSchema()
- Return the specified schema if present, otherwise return the default schema.
- Specified by:
getSchema in interface MappingFilePersistenceUnitDefaults
getSpecifiedSchema
java.lang.String getSpecifiedSchema()
setSpecifiedSchema
void setSpecifiedSchema(java.lang.String newSpecifiedSchema)
getDefaultSchema
java.lang.String getDefaultSchema()
getDbSchema
Schema getDbSchema()
isCascadePersist
boolean isCascadePersist()
- Specified by:
isCascadePersist in interface MappingFilePersistenceUnitDefaults
setCascadePersist
void setCascadePersist(boolean value)
update
void update()
- Update the ORM persistence unit defaults context model to match the resource model.
- See Also:
JpaProject.update()