|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JarFileRef
Context model corresponding to the
XML resource model XmlJarRef,
which corresponds to the jar-file
element in the persistence.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.
| Field Summary | |
|---|---|
static java.lang.String |
FILE_NAME_PROPERTY
String constant associated with changes to the file name. |
static java.lang.String |
JAR_FILE_PROPERTY
String constant associated with changes to the JAR file. |
| Method Summary | |
|---|---|
boolean |
containsOffset(int textOffset)
Return whether the text representation of the JAR file ref contains the specified text offset. |
java.lang.String |
getFileName()
Return the file name of the jar file ref. |
JarFile |
getJarFile()
Return the JAR file ref's JAR file corresponding to the file name. |
PersistentType |
getPersistentType(java.lang.String typeName)
Return the persistent type, as listed in the JAR file, with the specified name. |
void |
setFileName(java.lang.String fileName)
Set the file name of the jar file ref. |
void |
update(XmlJarFileRef xmlJarFileRef)
Update the context JAR file ref to match the specified XML JAR file ref. |
| Methods inherited from interface org.eclipse.jpt.core.context.XmlContextNode |
|---|
getValidationTextRange, validate |
| Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate |
| Methods inherited from interface org.eclipse.jpt.core.JpaNode |
|---|
getJpaProject, getParent |
| 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 |
| Methods inherited from interface org.eclipse.jpt.core.IResourcePart |
|---|
getResource |
| Methods inherited from interface org.eclipse.jpt.core.JpaStructureNode |
|---|
dispose, getId, getResourceType, getSelectionTextRange, getStructureNode |
| Methods inherited from interface org.eclipse.jpt.core.context.persistence.PersistentTypeContainer |
|---|
getPersistentTypes |
| Field Detail |
|---|
static final java.lang.String FILE_NAME_PROPERTY
static final java.lang.String JAR_FILE_PROPERTY
| Method Detail |
|---|
java.lang.String getFileName()
void setFileName(java.lang.String fileName)
JarFile getJarFile()
void update(XmlJarFileRef xmlJarFileRef)
JpaProject.update()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 | |||||||||