com.unitesk.requality.eclipse.views.documents
public class LocationToTransfer extends java.lang.Object implements java.lang.Comparable<LocationToTransfer>
Modifier and Type | Field and Description |
---|---|
protected LocationPosition |
location |
protected java.lang.String |
spanText |
protected double |
weight |
Constructor and Description |
---|
LocationToTransfer(int start,
int end,
double weight) |
LocationToTransfer(int start,
int end,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(LocationToTransfer o) |
LocationPosition |
getLocation() |
java.lang.String |
getSpanText() |
double |
getWeight() |
void |
setWeight(double weight) |
protected LocationPosition location
protected double weight
protected java.lang.String spanText
public LocationToTransfer(int start, int end, java.lang.String text)
public LocationToTransfer(int start, int end, double weight)
public LocationPosition getLocation()
public double getWeight()
public void setWeight(double weight)
public java.lang.String getSpanText()
public int compareTo(LocationToTransfer o)
compareTo
in interface java.lang.Comparable<LocationToTransfer>