Interface TextEdit
- All Known Implementing Classes:
- DefaultTextEdit
public interface TextEdit
A 
TextEdit contains the information of a change that can be made to the JPQL query
 after performing a refactoring operation.
 TextRange
 objects are stored in a RefactoringDelta.- Since:
- 2.4
- Version:
- 2.4
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the length of the text to replace with the new value.Returns the new value that should replace the old value.intReturns the location of the old value within the text.Returns the value that was found within the text that should be replaced by the new value.
- 
Method Details- 
getLengthint getLength()Returns the length of the text to replace with the new value.- Returns:
- The old value's length
 
- 
getNewValueString getNewValue()Returns the new value that should replace the old value.- Returns:
- The value to replace the old value
 
- 
getOffsetint getOffset()Returns the location of the old value within the text.- Returns:
- The location of the old value within the text
 
- 
getOldValueString getOldValue()Returns the value that was found within the text that should be replaced by the new value.- Returns:
- The value to replace
 
 
-