public class InputCorrections.InputCorrection
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private InputCorrections.CreationType |
creationType |
private java.lang.String |
label |
private double |
originalDistance |
private Unit |
sourceUnit |
private Unit |
targetUnit |
Constructor and Description |
---|
InputCorrection(Unit sourceUnit,
Unit targetUnit,
java.lang.String label,
double originalDistance,
InputCorrections.CreationType creationType) |
Modifier and Type | Method and Description |
---|---|
InputCorrections.CreationType |
getCreationType() |
java.lang.String |
getLabel() |
double |
getOriginalDistance() |
java.lang.String |
getPrintString() |
Unit |
getSourceUnit() |
Unit |
getTargetUnit() |
java.lang.String |
toString() |
private Unit sourceUnit
private Unit targetUnit
private java.lang.String label
private double originalDistance
private InputCorrections.CreationType creationType
public InputCorrection(Unit sourceUnit, Unit targetUnit, java.lang.String label, double originalDistance, InputCorrections.CreationType creationType)
public Unit getSourceUnit()
public java.lang.String getLabel()
public Unit getTargetUnit()
public double getOriginalDistance()
public InputCorrections.CreationType getCreationType()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getPrintString()