public class MultiSourceCompoundRichLocation extends CompoundRichLocation implements RichLocation
RichLocation.Strand, RichLocation.ToolsAnnotatable.AnnotationForwardermembers, sizecircularLength, termCIRCULAR, EMPTY_LOCATION, FEATURE, NOTE, RANK, TERMempty, full, naturalOrderANNOTATION| Constructor and Description |
|---|
MultiSourceCompoundRichLocation(Collection members)
Constructs a MultiSourceCompoundRichLocation from the given set of members, with
the default term of "join".
|
MultiSourceCompoundRichLocation(ComparableTerm term,
Collection members)
Constructs a MultiSourceCompoundRichLocation from the given set of members.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCircularLength()
Retrieves the circular length of this location.
|
CrossRef |
getCrossRef()
Retrieves the crossref associated with this location.
|
int |
getMax()
The maximum position contained.
|
Position |
getMaxPosition()
Retrieves the end position of this location.
|
int |
getMin()
The minimum position contained.
|
Position |
getMinPosition()
Retrieves the start position of this location.
|
RichLocation.Strand |
getStrand()
Retrieves the strand associated with this location.
|
void |
setCircularLength(int sourceSeqLength)
Sets the circular length of this location.
|
Location |
translate(int dist)
Create a location that is a translation of this location.
|
blockIterator, compareTo, contains, contains, equals, getAnnotation, getDecorator, getJoinTerm, getNoteSet, getOrderTerm, getRichAnnotation, hashCode, intersection, isContiguous, newInstance, overlaps, setCrossRefResolver, setFeature, setNoteSet, setTerm, sort, symbols, toString, uniongetFeature, getId, getRank, getTerm, posmax, posmin, setCrossRef, setId, setMaxPosition, setMinPosition, setPositionResolver, setRank, setStrandaddChangeListener, addChangeListener, generateChangeSupport, getChangeSupport, hasListeners, hasListeners, isUnchanging, removeChangeListener, removeChangeListenerclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFeature, getRank, getTerm, setCrossRefResolver, setFeature, setPositionResolver, setRank, setTerm, sortblockIterator, contains, contains, equals, getDecorator, intersection, isContiguous, newInstance, overlaps, symbols, uniongetNoteSet, getRichAnnotation, setNoteSetgetAnnotationaddChangeListener, addChangeListener, isUnchanging, removeChangeListener, removeChangeListenercompareTopublic MultiSourceCompoundRichLocation(Collection members)
members - the members to put into the compound location.RichLocation.Toolspublic MultiSourceCompoundRichLocation(ComparableTerm term, Collection members)
term - the term to use when describing the group of members.members - the members to put into the compound location.RichLocation.Toolspublic CrossRef getCrossRef()
getCrossRef in interface RichLocationgetCrossRef in class SimpleRichLocationpublic int getCircularLength()
getCircularLength in interface RichLocationgetCircularLength in class SimpleRichLocationpublic void setCircularLength(int sourceSeqLength) throws ChangeVetoException
setCircularLength in interface RichLocationsetCircularLength in class CompoundRichLocationsourceSeqLength - the circular length of this locationChangeVetoException - ALWAYSpublic RichLocation.Strand getStrand()
getStrand in interface RichLocationgetStrand in class SimpleRichLocationpublic int getMin()
WARNING: The location will not contain every point between getMin()
and getMax() if isContiguous() is false. If isContiguous()
does return false you should use the Iterator returned by blockIterator()
to iterate over the minimum set of contiguous blocks that make up this Location
ALWAYS RETURNS ONE
getMin in interface LocationgetMin in class SimpleRichLocationpublic int getMax()
WARNING: The location will not contain every point between getMin()
and getMax() if isContiguous() is false. If isContiguous()
does return false you should use the Iterator returned by blockIterator()
to iterate over the minimum set of contiguous blocks that make up this Location
ALWAYS RETURNS COMBINED LENGTH OF MEMBERS
getMax in interface LocationgetMax in class SimpleRichLocationpublic Position getMinPosition()
getMinPosition in interface RichLocationgetMinPosition in class SimpleRichLocationpublic Position getMaxPosition()
getMaxPosition in interface RichLocationgetMaxPosition in class SimpleRichLocationpublic Location translate(int dist)
translate in interface Locationtranslate in class CompoundRichLocationdist - the distance to translate (to the right)Copyright © 2014 BioJava. All rights reserved.