TextEdit, which contains the location of the change within
the JPQL query (offset) and the old and new values.
| Modifier and Type | Field and Description |
|---|---|
| private String | newValue
The new value that should replace the old value. |
| private int | offset
The location of the old value within the text. |
| private String | oldValue
The value that was found within the text that should be replaced by the new value. |
| Access | Constructor and Description |
|---|---|
| public | DefaultTextEdit(int
The location of the old value within the text offset, String the value that was found within the text that should be replaced by the new value oldValue, String The new value that should replace the old value newValue)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public int | getLength()
Implements org. |
| public String | getNewValue()
Implements org. |
| public int | getOffset()
Implements org. |
| public String | getOldValue()
Implements org. |
| public String |
| newValue | back to summary |
|---|---|
| private String newValue The new value that should replace the old value. | |
| offset | back to summary |
|---|---|
| private int offset The location of the old value within the text. | |
| oldValue | back to summary |
|---|---|
| private String oldValue The value that was found within the text that should be replaced by the new value. | |
| DefaultTextEdit | back to summary |
|---|---|
| public DefaultTextEdit(int offset, String oldValue, String newValue) Creates a new | |
| getLength | back to summary |
|---|---|
| public int getLength() Implements org. Doc from org. Returns the length of the text to replace with the new value.
| |
| getNewValue | back to summary |
|---|---|
| public String getNewValue() Implements org. Doc from org. Returns the new value that should replace the old value. | |
| getOffset | back to summary |
|---|---|
| public int getOffset() Implements org. Doc from org. Returns the location of the old value within the text.
| |
| getOldValue | back to summary |
|---|---|
| public String getOldValue() Implements org. Doc from org. Returns the value that was found within the text that should be replaced by the new value. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |