|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RankedDocRef
Represents a documentary reference. Relates to the bioentryreference table in BioSQL.
DocRef| Field Summary | |
|---|---|
static ChangeType |
LOCATION
|
static ChangeType |
RANK
|
| Method Summary | |
|---|---|
DocRef |
getDocumentReference()
Represents a reference to a document. |
Integer |
getEnd()
The end position in the sequence that this reference is referred to from. |
RichLocation |
getLocation()
If this object was constructed using a location instead of two integers, then this method will return that location. |
int |
getRank()
The rank of this reference. |
Integer |
getStart()
The start position in the sequence that this reference is referred to from. |
void |
setLocation(RichLocation location)
Set the location of this reference. |
void |
setRank(int rank)
Set the rank of this reference. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface org.biojava.utils.Changeable |
|---|
addChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListener |
| Field Detail |
|---|
static final ChangeType RANK
static final ChangeType LOCATION
| Method Detail |
|---|
DocRef getDocumentReference()
Integer getStart()
Integer getEnd()
RichLocation getLocation()
void setLocation(RichLocation location)
throws ChangeVetoException
location - the location to use.
ChangeVetoException - if the new location is unacceptable.int getRank()
void setRank(int rank)
throws ChangeVetoException
rank - the rank to use.
ChangeVetoException - if the new rank is unacceptable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||