public abstract class SequenceEntry extends Object implements Serializable, Comparable<SequenceEntry>
| Modifier and Type | Class and Description |
|---|---|
static class |
SequenceEntry.ReferenceLocationType
The location may be relative to the start of the container (containerStart),
or relative to the end of the previous entry (previousEntry)
|
| Modifier and Type | Field and Description |
|---|---|
protected Container |
container |
protected int |
locationInContainerInBits
if the referenceLocation is containerStart, then this is number of bits from the start
for previousEntry, this is the number of bits from where the previous entry ends
|
| Constructor and Description |
|---|
SequenceEntry() |
SequenceEntry(int locationInContainerInBits,
SequenceEntry.ReferenceLocationType location) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SequenceEntry se) |
Container |
getContainer() |
MatchCriteria |
getIncludeCondition() |
int |
getIndex() |
int |
getLocationInContainerInBits() |
SequenceEntry.ReferenceLocationType |
getReferenceLocation() |
Repeat |
getRepeatEntry() |
SequenceContainer |
getSequenceContainer() |
void |
setIncludeCondition(MatchCriteria includeCondition) |
void |
setLocation(SequenceEntry.ReferenceLocationType type,
int locationInBits)
Set the location of this entry in the container.
|
void |
setLocationInContainerInBits(int locationInBits) |
void |
setReferenceLocation(SequenceEntry.ReferenceLocationType type) |
void |
setRepeatEntry(Repeat repeat) |
protected Container container
protected int locationInContainerInBits
public SequenceEntry()
public SequenceEntry(int locationInContainerInBits,
SequenceEntry.ReferenceLocationType location)
public Container getContainer()
public SequenceContainer getSequenceContainer()
public void setLocationInContainerInBits(int locationInBits)
public int getLocationInContainerInBits()
public void setReferenceLocation(SequenceEntry.ReferenceLocationType type)
public void setLocation(SequenceEntry.ReferenceLocationType type, int locationInBits)
type - - where to count the bits fromlocationInBits - - number of bits to countpublic int compareTo(SequenceEntry se)
compareTo in interface Comparable<SequenceEntry>se - public SequenceEntry.ReferenceLocationType getReferenceLocation()
public int getIndex()
public Repeat getRepeatEntry()
public void setRepeatEntry(Repeat repeat)
public MatchCriteria getIncludeCondition()
public void setIncludeCondition(MatchCriteria includeCondition)
Copyright © 2020 Space Applications Services. All rights reserved.