@Entity public class AnnotationLocation extends Object implements DataModel
SequenceFeature
object.
Is able to record single residue or inbetween annotations.Constructor and Description |
---|
AnnotationLocation() |
AnnotationLocation(int genbankStart,
int end,
SequenceFeature sequenceFeature) |
Modifier and Type | Method and Description |
---|---|
int |
getEnd() |
int |
getGenbankStart() |
long |
getId() |
SequenceFeature |
getSequenceFeature() |
boolean |
isInbetween() |
boolean |
isSingleResidue() |
void |
setEnd(int end) |
void |
setGenbankStart(int genbankStart) |
void |
setId(long id) |
void |
setInbetween(boolean inbetween) |
void |
setSequenceFeature(SequenceFeature sequenceFeature) |
void |
setSingleResidue(boolean singleResidue) |
IDataTransferModel |
toDataTransferObject() |
public AnnotationLocation()
public AnnotationLocation(int genbankStart, int end, SequenceFeature sequenceFeature)
public void setId(long id)
public void setGenbankStart(int genbankStart)
public int getGenbankStart()
public void setEnd(int end)
public int getEnd()
public void setSingleResidue(boolean singleResidue)
public boolean isSingleResidue()
public void setInbetween(boolean inbetween)
public boolean isInbetween()
public void setSequenceFeature(SequenceFeature sequenceFeature)
public SequenceFeature getSequenceFeature()
public IDataTransferModel toDataTransferObject()
toDataTransferObject
in interface DataModel
Copyright © 2017. All rights reserved.