Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.context
Interface TypeRefactoringParticipant

All Known Subinterfaces:
Caching, ClassRef, Connection, Connection2_0, Customization, EclipseLinkEntityMappings, EclipseLinkOrmPersistentType, EclipseLinkOrmTypeMapping, EntityMappings, GeneralProperties, JpaConnection2_0, JpaOptions2_0, Logging, Logging2_0, Logging2_4, MappingFile, MappingFileRef, Options, Options2_0, OrmAttributeMapping, OrmBaseEmbeddedMapping, OrmBasicMapping, OrmCollectionMapping2_0, OrmColumnMapping, OrmConvertibleKeyMapping2_0, OrmConvertibleMapping, OrmEclipseLinkConverterContainer, OrmEclipseLinkEmbeddable, OrmEclipseLinkEntity, OrmEclipseLinkMappedSuperclass, OrmEclipseLinkNonEmbeddableTypeMapping, OrmElementCollectionMapping2_0, OrmEmbeddable, OrmEmbeddedIdMapping, OrmEmbeddedMapping, OrmEmbeddedMapping2_0, OrmEntity, OrmEntity2_0, OrmIdClassReference, OrmIdMapping, OrmIdTypeMapping, OrmManagedType, OrmManyToManyMapping, OrmManyToOneMapping, OrmMappedSuperclass, OrmMultiRelationshipMapping, OrmOneToManyMapping, OrmOneToOneMapping, OrmPersistentAttribute, OrmPersistentType, OrmRelationshipMapping, OrmSingleRelationshipMapping, OrmSingleRelationshipMapping2_0, OrmTransientMapping, OrmTypeMapping, OrmVersionMapping, OrmXml, PersistenceUnit, PersistenceUnit.Property, PersistenceUnit2_0, PersistenceUnitProperties, SchemaGeneration
All Known Implementing Classes:
org.eclipse.jpt.jpa.core.internal.context.persistence.AbstractPersistenceUnit, EclipseLinkPersistenceUnit

public interface TypeRefactoringParticipant


Nested Class Summary
static class TypeRefactoringParticipant.MoveTypeEditsTransformer
           
static class TypeRefactoringParticipant.RenamePackageEditsTransformer
           
static class TypeRefactoringParticipant.RenameTypeEditsTransformer
           
 
Method Summary
 Iterable<ReplaceEdit> createMoveTypeEdits(IType originalType, IPackageFragment newPackage)
          Create replace edits for moving any references to the specified original type to the specified new package.
 Iterable<ReplaceEdit> createRenamePackageEdits(IPackageFragment originalPackage, String newName)
          Create replace edits for renaming any references to the specified original package to the specified new name.
 Iterable<ReplaceEdit> createRenameTypeEdits(IType originalType, String newName)
          Create replace edits for renaming any references to the specified original type to the specified new name.
 

Method Detail

createRenameTypeEdits

Iterable<ReplaceEdit> createRenameTypeEdits(IType originalType,
                                            String newName)
Create replace edits for renaming any references to the specified original type to the specified new name. The specified original type has not yet been renamed; and the specified new name is a "simple" (unqualified) name.


createMoveTypeEdits

Iterable<ReplaceEdit> createMoveTypeEdits(IType originalType,
                                          IPackageFragment newPackage)
Create replace edits for moving any references to the specified original type to the specified new package. The specified original type has not yet been moved.


createRenamePackageEdits

Iterable<ReplaceEdit> createRenamePackageEdits(IPackageFragment originalPackage,
                                               String newName)
Create replace edits for renaming any references to the specified original package to the specified new name. The specified original package has not yet been renamed.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.