uk.ac.ebi.intenz.webapp.dtos
Class EnzymeLinkDTO
java.lang.Object
org.apache.struts.action.ActionForm
uk.ac.ebi.intenz.webapp.dtos.EnzymeLinkDTO
- All Implemented Interfaces:
- Serializable, Comparable
public class EnzymeLinkDTO
- extends org.apache.struts.action.ActionForm
- implements Comparable
- Version:
- $Revision: 1.2 $ $Date: 2008/01/28 12:33:07 $
- Author:
- Michael Darsow
- See Also:
- Serialized Form
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
EnzymeLinkDTO
public EnzymeLinkDTO()
EnzymeLinkDTO
public EnzymeLinkDTO(EnzymeLinkDTO enzymeLinkDTO)
getAccession
public String getAccession()
setAccession
public void setAccession(String accession)
getDatabaseCode
public String getDatabaseCode()
setDatabaseCode
public void setDatabaseCode(String databaseCode)
getDatabaseName
public String getDatabaseName()
setDatabaseName
public void setDatabaseName(String databaseName)
- Sets the database name and code.
- Parameters:
databaseName
-
getName
public String getName()
setName
public void setName(String name)
getSource
public String getSource()
setSource
public void setSource(String source)
getSourceDisplay
public String getSourceDisplay()
setSourceDisplay
public void setSourceDisplay(String sourceDisplay)
getUrl
public String getUrl()
setUrl
public void setUrl(String url)
getView
public String getView()
setView
public void setView(String view)
getViewDisplayImage
public String getViewDisplayImage()
setViewDisplayImage
public void setViewDisplayImage(String viewDisplayImage)
getViewDisplayString
public String getViewDisplayString()
setViewDisplayString
public void setViewDisplayString(String viewDisplayString)
getDataComment
public String getDataComment()
setDataComment
public void setDataComment(String dataComment)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(Object o)
- Used for ordering links in a collection.
Static and other links are ordered by their xrefDatabaseConstant name, SwissProt and MIM cross-references by their name
and PROSITE links by their accession. Other links are ordered by their specific URL if the xrefDatabaseConstant name is the same.
- Specified by:
compareTo
in interface Comparable
- Parameters:
o
- The object to be compared to this.
- Returns:
- neg, 0 or pos. value to indicate the order of these two objects.
- Throws:
NullPointerException
- if o
is null
.
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Overrides:
reset
in class org.apache.struts.action.ActionForm
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Overrides:
validate
in class org.apache.struts.action.ActionForm
Copyright © 2013 EMBL-EBI. All Rights Reserved.