|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OrmConverter
orm.xml converter
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.
| Nested Class Summary | |
|---|---|
static interface |
OrmConverter.Adapter
This interface allows a convertible mapping to interact with various orm.xml converters via the same protocol. |
| Method Summary | |
|---|---|
java.lang.Iterable<org.eclipse.text.edits.ReplaceEdit> |
createMoveTypeEdits(org.eclipse.jdt.core.IType originalType,
org.eclipse.jdt.core.IPackageFragment newPackage)
Create ReplaceEdits for moving any references to the originalType to the newPackage. |
java.lang.Iterable<org.eclipse.text.edits.ReplaceEdit> |
createRenamePackageEdits(org.eclipse.jdt.core.IPackageFragment originalPackage,
java.lang.String newName)
Create ReplaceEdits for renaming any references to the originalPackage to the newName. |
java.lang.Iterable<org.eclipse.text.edits.ReplaceEdit> |
createRenameTypeEdits(org.eclipse.jdt.core.IType originalType,
java.lang.String newName)
Create ReplaceEdits for renaming any references to the originalType to the newName. |
OrmAttributeMapping |
getParent()
Return the JPA node's parent. |
void |
initialize()
We need this "hack" because we can't build the resource converter before we build the context converter. |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.Converter |
|---|
getType |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.XmlContextNode |
|---|
getValidationTextRange, validate |
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode |
|---|
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, synchronizeWithResourceModel, update |
| Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode |
|---|
getJpaProject, stateChanged |
| Methods inherited from interface org.eclipse.jpt.common.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.common.core.IResourcePart |
|---|
getResource |
| Method Detail |
|---|
OrmAttributeMapping getParent()
JpaNode
getParent in interface ConvertergetParent in interface JpaNodevoid initialize()
java.lang.Iterable<org.eclipse.text.edits.ReplaceEdit> createRenameTypeEdits(org.eclipse.jdt.core.IType originalType,
java.lang.String newName)
java.lang.Iterable<org.eclipse.text.edits.ReplaceEdit> createMoveTypeEdits(org.eclipse.jdt.core.IType originalType,
org.eclipse.jdt.core.IPackageFragment newPackage)
java.lang.Iterable<org.eclipse.text.edits.ReplaceEdit> createRenamePackageEdits(org.eclipse.jdt.core.IPackageFragment originalPackage,
java.lang.String newName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||