@Entity public class Feature extends Object implements DataModel
Annotated sequences associated with entries are parsed, and their fields are saved into the database as Features. These features have unique identifiers via hash. In the future, select set of Features will be hand annotated with proper name, identification, genbankType, and then used for automatic identification and annotation of unknown sequences.
Constructor and Description |
---|
Feature() |
Feature(String name,
String identification,
String sequence,
String genbankType) |
Modifier and Type | Method and Description |
---|---|
FeatureCurationModel |
getCuration() |
String |
getGenbankType() |
String |
getHash() |
long |
getId() |
String |
getIdentification() |
String |
getName() |
String |
getSequence() |
String |
getUri() |
void |
setCuration(FeatureCurationModel curation) |
void |
setGenbankType(String genbankType) |
void |
setHash(String hash) |
void |
setId(long id) |
void |
setIdentification(String identification) |
void |
setName(String name) |
void |
setSequence(String sequence) |
void |
setUri(String uri) |
DNAFeature |
toDataTransferObject() |
public String getName()
public void setName(String name)
public String getIdentification()
public void setIdentification(String identification)
public String getGenbankType()
public void setGenbankType(String genbankType)
public void setId(long id)
public void setHash(String hash)
public String getHash()
public void setSequence(String sequence)
public String getSequence()
public String getUri()
public void setUri(String uri)
public FeatureCurationModel getCuration()
public void setCuration(FeatureCurationModel curation)
public DNAFeature toDataTransferObject()
toDataTransferObject
in interface DataModel
Copyright © 2017. All rights reserved.