Class DBReferenceInfo
java.lang.Object
org.biojava3.core.sequence.features.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- Author:
- Scooter Willis
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addProperty
(String type, String value) Add a property and type to associate with this DBReferenceInfogetId()
Get the propertiesvoid
setDatabase
(String database) void
void
setProperties
(LinkedHashMap<String, String> properties) toString()
-
Constructor Details
-
DBReferenceInfo
The source database and id- Parameters:
database
-id
-
-
-
Method Details
-
addProperty
Add a property and type to associate with this DBReferenceInfo- Parameters:
type
-value
-
-
getProperties
Get the properties- Returns:
- the properties
-
setProperties
- Parameters:
properties
- the properties to set
-
getDatabase
- Returns:
- the database
-
setDatabase
- Parameters:
database
- the database to set
-
getId
- Returns:
- the id
-
setId
- Parameters:
id
- the id to set
-
toString
-