org.eclipse.jpt.core.context.orm
Interface PersistenceUnitDefaults

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, JpaContextNode, JpaNode, Model, OrmJpaContextNode

public interface PersistenceUnitDefaults
extends OrmJpaContextNode

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.


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
 AccessType getAccess()
           
 java.lang.String getCatalog()
          Return the specifiedCatalog if not null, otherwise return the defaultCatalog.
 java.lang.String getDefaultCatalog()
           
 java.lang.String getDefaultSchema()
           
 java.lang.String getSchema()
          Return the specifiedSchema if not null, otherwise return the defaultSchema.
 java.lang.String getSpecifiedCatalog()
           
 java.lang.String getSpecifiedSchema()
           
 boolean isCascadePersist()
           
 void setAccess(AccessType value)
           
 void setCascadePersist(boolean value)
           
 void setSpecifiedCatalog(java.lang.String newSpecifiedCatalog)
           
 void setSpecifiedSchema(java.lang.String newSpecifiedSchema)
           
 void update(XmlEntityMappings entityMappings)
           
 
Methods inherited from interface org.eclipse.jpt.core.context.orm.OrmJpaContextNode
addToMessages, getValidationTextRange
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getEntityMappings, getOrmPersistentType, getPersistenceUnit
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent, getResource
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addCollectionChangeListener, addCollectionChangeListener, addListChangeListener, addListChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, addTreeChangeListener, removeCollectionChangeListener, removeCollectionChangeListener, removeListChangeListener, removeListChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

DEFAULT_SCHEMA_PROPERTY

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

SPECIFIED_SCHEMA_PROPERTY

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

DEFAULT_CATALOG_PROPERTY

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

SPECIFIED_CATALOG_PROPERTY

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

ACCESS_PROPERTY

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

CASCADE_PERSIST_PROPERTY

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

getSchema

java.lang.String getSchema()
Return the specifiedSchema if not null, otherwise return the defaultSchema.


getDefaultSchema

java.lang.String getDefaultSchema()

getSpecifiedSchema

java.lang.String getSpecifiedSchema()

setSpecifiedSchema

void setSpecifiedSchema(java.lang.String newSpecifiedSchema)

getCatalog

java.lang.String getCatalog()
Return the specifiedCatalog if not null, otherwise return the defaultCatalog.


getDefaultCatalog

java.lang.String getDefaultCatalog()

getSpecifiedCatalog

java.lang.String getSpecifiedCatalog()

setSpecifiedCatalog

void setSpecifiedCatalog(java.lang.String newSpecifiedCatalog)

getAccess

AccessType getAccess()

setAccess

void setAccess(AccessType value)

isCascadePersist

boolean isCascadePersist()

setCascadePersist

void setCascadePersist(boolean value)

update

void update(XmlEntityMappings entityMappings)