|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava3.core.sequence.features.DBReferenceInfo
public class DBReferenceInfo
If you have a uniprot ID then it is possible to get a collection
of other id(s) that the protein is known by. This is a place holder
for the alternative source database and the id for the same protein.
Currently implement when the UniprotProxySequenceReader
is used
to load a protein sequence
Constructor Summary | |
---|---|
DBReferenceInfo(String database,
String id)
The source database and id |
Method Summary | |
---|---|
void |
addProperty(String type,
String value)
Add a property and type to associate with this DBReferenceInfo |
String |
getDatabase()
|
String |
getId()
|
LinkedHashMap<String,String> |
getProperties()
Get the properties |
void |
setDatabase(String database)
|
void |
setId(String id)
|
void |
setProperties(LinkedHashMap<String,String> properties)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DBReferenceInfo(String database, String id)
database
- id
- Method Detail |
---|
public void addProperty(String type, String value)
type
- value
- public LinkedHashMap<String,String> getProperties()
public void setProperties(LinkedHashMap<String,String> properties)
properties
- the properties to setpublic String getDatabase()
public void setDatabase(String database)
database
- the database to setpublic String getId()
public void setId(String id)
id
- the id to setpublic String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |