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.FormatException
public boolean hasMaxSequence()
SequencingInfo
hasMaxSequence
in interface SequencingInfo
true
, if it contains the max sequence information;
false
otherwise.public void setMaxSequence(long maxSequence)
SequencingInfo
setMaxSequence
in interface SequencingInfo
maxSequence
- The max sequence information.public long getMaxSequence()
SequencingInfo
getMaxSequence
in interface SequencingInfo
public boolean hasSingleSequence()
SequencingInfo
hasSingleSequence
in interface SequencingInfo
true
, if it contains single-sequence information;
false
otherwise.public void setSingleSequence(long singleSequence)
SequencingInfo
setSingleSequence
in interface SequencingInfo
singleSequence
- The single sequence Information.public long getSingleSequence()
SequencingInfo
getSingleSequence
in interface SequencingInfo
public boolean hasSequenceRange()
SequencingInfo
hasSequenceRange
in interface SequencingInfo
true
, if it contains a sequence range information;
false
otherwise.public void setSequenceRange(long lower, long upper)
SequencingInfo
setSequenceRange
in interface SequencingInfo
lower
- The lower-bound of the sequence range.upper
- The upper-bound of the sequence range.public long getLower()
SequencingInfo
getLower
in interface SequencingInfo
public long getUpper()
SequencingInfo
getUpper
in interface SequencingInfo
public boolean isMutable()
SequencingInfo
isMutable
in interface SequencingInfo
true
, 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.FormatMarshaller
ds.funnel.data.format.FormatException
Copyright © 2015. All rights reserved.