public class SequencingWidget extends java.lang.Object implements SequencingInfo
SequencingInfo interface.| Modifier and Type | Method and Description |
|---|---|
long |
getLower()
Retrieve the lower-bound of the specified range.
|
long |
getMaxSequence()
Retrieve the value of the max-sequence info.
|
long |
getSingleSequence()
Retrieve the single-sequence information.
|
long |
getUpper()
Retrieve the upper-bound of the specified range.
|
boolean |
hasMaxSequence()
Check to see if the max sequence Info has been set.
|
boolean |
hasSequenceRange()
Check to see if a sequence range has been specified.
|
boolean |
hasSingleSequence()
Checks to see if this contains information about a single sequence
|
boolean |
isMutable()
Check to see if the sequencing information is mutable.
|
void |
marshall(FormatWriter mFormat) |
void |
setMaxSequence(long maxSequence)
Sets the max-sequence information.
|
void |
setSequenceRange(long lower,
long upper)
Sets the sequence range based on the specified upper and lower-bounds.
|
void |
setSingleSequence(long singleSequence)
Set the single sequence Information.
|
public boolean hasMaxSequence()
SequencingInfohasMaxSequence in interface SequencingInfotrue, if it contains the max sequence information;
false otherwise.public void setMaxSequence(long maxSequence)
SequencingInfosetMaxSequence in interface SequencingInfomaxSequence - The max sequence information.public long getMaxSequence()
SequencingInfogetMaxSequence in interface SequencingInfopublic boolean hasSingleSequence()
SequencingInfohasSingleSequence in interface SequencingInfotrue, if it contains single-sequence information;
false otherwise.public void setSingleSequence(long singleSequence)
SequencingInfosetSingleSequence in interface SequencingInfosingleSequence - The single sequence Information.public long getSingleSequence()
SequencingInfogetSingleSequence in interface SequencingInfopublic boolean hasSequenceRange()
SequencingInfohasSequenceRange in interface SequencingInfotrue, if it contains a sequence range information;
false otherwise.public void setSequenceRange(long lower,
long upper)
SequencingInfosetSequenceRange in interface SequencingInfolower - The lower-bound of the sequence range.upper - The upper-bound of the sequence range.public long getLower()
SequencingInfogetLower in interface SequencingInfopublic long getUpper()
SequencingInfogetUpper in interface SequencingInfopublic boolean isMutable()
SequencingInfoisMutable in interface SequencingInfotrue, if the sequence is mutable; false
otherwise.public void marshall(FormatWriter mFormat) throws FormatException
marshall in interface FormatMarshallermFormat - - The format writer to write toFormatException - If there was a problem while writing