public class Synonym extends Object implements Comparable<Synonym>
Modifier and Type | Field and Description |
---|---|
static int |
BROAD_SYNONYM |
static Comparator<Synonym> |
COMPARATOR |
static int |
EXACT_SYNONYM |
static int |
NARROW_SYNONYM |
static int |
RELATED_SYNONYM |
static int |
UNKNOWN_SCOPE |
Constructor and Description |
---|
Synonym() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Synonym o) |
String |
getCategory() |
String |
getName() |
int |
getScope() |
void |
setCategory(String category) |
void |
setName(String name) |
void |
setScope(int scope) |
String |
toString() |
public static final int UNKNOWN_SCOPE
public static final int RELATED_SYNONYM
public static final int EXACT_SYNONYM
public static final int NARROW_SYNONYM
public static final int BROAD_SYNONYM
public static final Comparator<Synonym> COMPARATOR
public Synonym()
public String getCategory()
public void setCategory(String category)
public int getScope()
public void setScope(int scope)
public int compareTo(Synonym o)
compareTo
in interface Comparable<Synonym>
Copyright © 2000–2019 BioJava. All rights reserved.