org.openstreetmap.josm.corrector
Class TagCorrection

java.lang.Object
  extended by org.openstreetmap.josm.corrector.TagCorrection
All Implemented Interfaces:
Correction

public class TagCorrection
extends java.lang.Object
implements Correction

TagCorrection reprepresents a change of a single tag. Both key and value can be subject of this change.


Field Summary
 java.lang.String newKey
           
 java.lang.String newValue
           
 java.lang.String oldKey
           
 java.lang.String oldValue
           
 
Constructor Summary
TagCorrection(java.lang.String oldKey, java.lang.String oldValue, java.lang.String newKey, java.lang.String newValue)
           
 
Method Summary
 boolean isKeyChanged()
           
 boolean isValueChanged()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

oldKey

public final java.lang.String oldKey

newKey

public final java.lang.String newKey

oldValue

public final java.lang.String oldValue

newValue

public final java.lang.String newValue
Constructor Detail

TagCorrection

public TagCorrection(java.lang.String oldKey,
                     java.lang.String oldValue,
                     java.lang.String newKey,
                     java.lang.String newValue)
Method Detail

isKeyChanged

public boolean isKeyChanged()

isValueChanged

public boolean isValueChanged()


JOSM