public class TermVariation extends java.lang.Object implements java.lang.Comparable<TermVariation>
Constructor and Description |
---|
TermVariation(VariationType variationType,
Term base,
Term variant,
java.lang.Object info) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TermVariation tv) |
boolean |
equals(java.lang.Object obj) |
Term |
getBase() |
java.lang.Object |
getInfo() |
java.lang.String |
getLabel() |
double |
getScore() |
Term |
getVariant() |
VariationType |
getVariationType() |
int |
hashCode() |
boolean |
isIncludedIn() |
boolean |
isPrefixOf() |
boolean |
isSuffixOf() |
void |
setScore(double score) |
java.lang.String |
toString() |
public TermVariation(VariationType variationType, Term base, Term variant, java.lang.Object info)
public VariationType getVariationType()
public java.lang.Object getInfo()
public Term getVariant()
public Term getBase()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getLabel()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean isIncludedIn()
public boolean isSuffixOf()
public boolean isPrefixOf()
public void setScore(double score)
public double getScore()
public int compareTo(TermVariation tv)
compareTo
in interface java.lang.Comparable<TermVariation>