public interface RankedDocRef extends Comparable, Changeable
DocRef| Modifier and Type | Field and Description |
|---|---|
static ChangeType |
LOCATION |
static ChangeType |
RANK |
| Modifier and Type | Method and Description |
|---|---|
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.
|
compareToaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenerstatic final ChangeType RANK
static final ChangeType LOCATION
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.Copyright © 2014 BioJava. All rights reserved.