public class SequencingWidget extends Object implements SequencingInfo
SequencingInfo interface.| Modifier | Constructor and Description |
|---|---|
protected |
SequencingWidget() |
protected |
SequencingWidget(ds.funnel.data.format.FormatReader mFormat) |
| 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(ds.funnel.data.format.FormatWriter mFormat) |
protected void |
setImmutable() |
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.
|
protected SequencingWidget()
protected SequencingWidget(ds.funnel.data.format.FormatReader mFormat)
throws ds.funnel.data.format.FormatException
ds.funnel.data.format.FormatExceptionpublic 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.protected void setImmutable()
public void marshall(ds.funnel.data.format.FormatWriter mFormat)
throws ds.funnel.data.format.FormatException
marshall in interface ds.funnel.data.format.FormatMarshallerds.funnel.data.format.FormatExceptionCopyright © 2015. All rights reserved.