|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MappingFileRef
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 |
FILE_NAME_PROPERTY
String constant associated with changes to the file name |
static java.lang.String |
MAPPING_FILE_PROPERTY
|
| Method Summary | |
|---|---|
boolean |
containsOffset(int textOffset)
Return whether the text representation of this persistence unit contains the given text offset |
java.lang.String |
getFileName()
Return the file name of the mapping file ref. |
MappingFile |
getMappingFile()
|
MappingFilePersistenceUnitDefaults |
getPersistenceUnitDefaults()
|
PersistentType |
getPersistentType(java.lang.String typeName)
Return the PersistentType listed in this mapping file with the given name. |
boolean |
isVirtual()
Return whether this mapping file ref is represented by an entry in the persistence.xml (false) or if it is instead virtual |
void |
setFileName(java.lang.String fileName)
Set the file name of the mapping file ref. |
void |
update(XmlMappingFileRef mappingFileRef)
Update the MappingFileRef context model object to match the XmlMappingFileRef resource model object. |
| Methods inherited from interface org.eclipse.jpt.core.context.XmlContextNode |
|---|
getEResource, getValidationTextRange, validate |
| Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit |
| Methods inherited from interface org.eclipse.jpt.core.JpaNode |
|---|
getJpaProject, getParent |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Methods inherited from interface org.eclipse.jpt.core.IResourcePart |
|---|
getResource |
| Methods inherited from interface org.eclipse.jpt.core.JpaStructureNode |
|---|
dispose, getId, getSelectionTextRange, getStructureNode |
| Field Detail |
|---|
static final java.lang.String FILE_NAME_PROPERTY
static final java.lang.String MAPPING_FILE_PROPERTY
| Method Detail |
|---|
boolean isVirtual()
java.lang.String getFileName()
void setFileName(java.lang.String fileName)
MappingFile getMappingFile()
void update(XmlMappingFileRef mappingFileRef)
JpaProject.update()
MappingFilePersistenceUnitDefaults getPersistenceUnitDefaults()
PersistentType getPersistentType(java.lang.String typeName)
boolean containsOffset(int textOffset)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||