Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.context.persistence
Interface MappingFileRefactoringParticipant

All Known Subinterfaces:
MappingFileRef, PersistenceUnit, PersistenceUnit2_0
All Known Implementing Classes:
org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit, EclipseLinkPersistenceUnit

public interface MappingFileRefactoringParticipant


Nested Class Summary
static class MappingFileRefactoringParticipant.DeleteMappingFileEditsTransformer
           
static class MappingFileRefactoringParticipant.MoveFolderEditsTransformer
           
static class MappingFileRefactoringParticipant.MoveMappingFileEditsTransformer
           
static class MappingFileRefactoringParticipant.RenameFolderEditsTransformer
           
static class MappingFileRefactoringParticipant.RenameMappingFileEditsTransformer
           
 
Method Summary
 Iterable<DeleteEdit> createDeleteMappingFileEdits(IFile file)
          Create delete edits for deleting any references to the specified file Return an empty collection if there are no references to the specified file.
 Iterable<ReplaceEdit> createMoveFolderEdits(IFolder originalFolder, IPath destination)
          Create replace edits for moving any references to the specified original folder to the specified destination.
 Iterable<ReplaceEdit> createMoveMappingFileEdits(IFile originalFile, IPath destination)
          Create replace edits for moving any references to the specified original file to the specified destination.
 Iterable<ReplaceEdit> createRenameFolderEdits(IFolder originalFolder, String newName)
          Create replace edits for renaming any references to the specified original folder to the specified new name.
 Iterable<ReplaceEdit> createRenameMappingFileEdits(IFile originalFile, String newName)
          Create replace edits for renaming any references to the specifie original file to the specified new name.
 

Method Detail

createDeleteMappingFileEdits

Iterable<DeleteEdit> createDeleteMappingFileEdits(IFile file)
Create delete edits for deleting any references to the specified file Return an empty collection if there are no references to the specified file.


createRenameFolderEdits

Iterable<ReplaceEdit> createRenameFolderEdits(IFolder originalFolder,
                                              String newName)
Create replace edits for renaming any references to the specified original folder to the specified new name. The specified original folder has not yet been renamed.


createRenameMappingFileEdits

Iterable<ReplaceEdit> createRenameMappingFileEdits(IFile originalFile,
                                                   String newName)
Create replace edits for renaming any references to the specifie original file to the specified new name. Return an empty collection if there are not any references. The specified original file has not yet been renamed; and the specified new name is a "simple" (unqualified) name.


createMoveMappingFileEdits

Iterable<ReplaceEdit> createMoveMappingFileEdits(IFile originalFile,
                                                 IPath destination)
Create replace edits for moving any references to the specified original file to the specified destination. Return an empty collection if there are not any references. The specified original file has not yet been moved.


createMoveFolderEdits

Iterable<ReplaceEdit> createMoveFolderEdits(IFolder originalFolder,
                                            IPath destination)
Create replace edits for moving any references to the specified original folder to the specified destination. The specified destination already includes the original folder name.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.