@Entity public class SequenceFeature extends Object implements DataModel
Feature
objects to a
Sequence
object.
SequenceFeature represents is a many-to-many mapping. In addition, this class has fields to store
sequence specific annotation information.Modifier and Type | Class and Description |
---|---|
static class |
SequenceFeature.AnnotationType
Annotation type for "parts".
|
Constructor and Description |
---|
SequenceFeature() |
SequenceFeature(Sequence sequence,
Feature feature,
int strand,
String name,
String genbankType,
SequenceFeature.AnnotationType annotationType) |
Modifier and Type | Method and Description |
---|---|
Set<AnnotationLocation> |
getAnnotationLocations() |
SequenceFeature.AnnotationType |
getAnnotationType() |
Feature |
getFeature() |
String |
getGenbankType() |
long |
getId() |
String |
getName() |
Sequence |
getSequence() |
Set<SequenceFeatureAttribute> |
getSequenceFeatureAttributes() |
int |
getStrand() |
Integer |
getUniqueEnd() |
Integer |
getUniqueGenbankStart() |
String |
getUri() |
void |
setFeature(Feature feature) |
void |
setId(long id) |
void |
setName(String name) |
void |
setSequence(Sequence sequence) |
void |
setStrand(int strand)
+1 for forward, -1 for reverse.
|
void |
setUri(String uri) |
DNAFeature |
toDataTransferObject() |
public SequenceFeature()
public SequenceFeature(Sequence sequence, Feature feature, int strand, String name, String genbankType, SequenceFeature.AnnotationType annotationType)
public String getUri()
public void setUri(String uri)
public DNAFeature toDataTransferObject()
toDataTransferObject
in interface DataModel
public void setId(long id)
public Sequence getSequence()
public void setSequence(Sequence sequence)
public Feature getFeature()
public void setFeature(Feature feature)
public Set<AnnotationLocation> getAnnotationLocations()
public int getStrand()
public void setStrand(int strand)
public String getName()
public void setName(String name)
public String getGenbankType()
public SequenceFeature.AnnotationType getAnnotationType()
public Set<SequenceFeatureAttribute> getSequenceFeatureAttributes()
public Integer getUniqueGenbankStart()
public Integer getUniqueEnd()
Copyright © 2017. All rights reserved.