org.openstreetmap.josm.data.validation.tests
Class DeprecatedTags.DeprecationError

java.lang.Object
  extended by org.openstreetmap.josm.data.validation.TestError
      extended by org.openstreetmap.josm.data.validation.tests.DeprecatedTags.DeprecationError
Enclosing class:
DeprecatedTags

private class DeprecatedTags.DeprecationError
extends TestError


Field Summary
(package private)  DeprecatedTags.DeprecationCheck check
           
(package private)  OsmPrimitive p
           
 
Constructor Summary
DeprecatedTags.DeprecationError(OsmPrimitive p, DeprecatedTags.DeprecationCheck check)
           
 
Method Summary
 Command getFix()
          Fixes the error with the appropriate command
 boolean isFixable()
          Returns true if the error can be fixed automatically
 
Methods inherited from class org.openstreetmap.josm.data.validation.TestError
getCode, getDescription, getIgnored, getIgnoreGroup, getIgnoreState, getIgnoreSubGroup, getMessage, getPrimitives, getSelectablePrimitives, getSeverity, getTester, paint, setIgnored, setMessage, setPrimitives, setSelected, setSeverity, visitHighlighted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

p

OsmPrimitive p

check

DeprecatedTags.DeprecationCheck check
Constructor Detail

DeprecatedTags.DeprecationError

DeprecatedTags.DeprecationError(OsmPrimitive p,
                                DeprecatedTags.DeprecationCheck check)
Method Detail

isFixable

public boolean isFixable()
Description copied from class: TestError
Returns true if the error can be fixed automatically

Overrides:
isFixable in class TestError
Returns:
true if the error can be fixed

getFix

public Command getFix()
Description copied from class: TestError
Fixes the error with the appropriate command

Overrides:
getFix in class TestError
Returns:
The command to fix the error


JOSM