org.proteios.core
Class LsidElement
java.lang.Object
org.proteios.core.LsidElement
public class LsidElement
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LsidElement
public LsidElement(String name,
String identifier_name)
getName
public String getName()
getIdentifier_name
public String getIdentifier_name()
getLsid
public String getLsid()
- hibernate.property
column="`lsid`"
getAccession_number
public String getAccession_number()
- hibernate.property
column="`accession_number`"
setAccession_number
public void setAccession_number(String acc)
calculateLsid
protected String calculateLsid()
getURL
public URL getURL()
throws BaseException
- Will return a URL to an online resource where more info on the
protein can be found. Requires that the LSID contains a URN of
the format "urn:lsid:thep.lu.se:uniprot:*". For now it will only
work with uniprot entries.
- Returns:
- URL from lsid or null if no lsid.
- Throws:
BaseException