org.eclipse.jpt.core.context
Interface MappingFilePersistenceUnitDefaults

All Known Subinterfaces:
MappingFilePersistenceUnitDefaults2_0, OrmPersistenceUnitDefaults, OrmPersistenceUnitDefaults2_0

public interface MappingFilePersistenceUnitDefaults

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

Method Summary
 AccessType getAccess()
           
 java.lang.String getCatalog()
           
 java.lang.String getSchema()
           
 boolean isCascadePersist()
           
 boolean resourceExists()
          Return whether the mapping file's underlying resource exists.
 

Method Detail

getAccess

AccessType getAccess()

getCatalog

java.lang.String getCatalog()

getSchema

java.lang.String getSchema()

isCascadePersist

boolean isCascadePersist()

resourceExists

boolean resourceExists()
Return whether the mapping file's underlying resource exists. If there is a node in the orm.xml file for the persistence-unit-defaults element, return true; otherwise false.