uk.ac.ebi.intact.application.editor.struts.view.interaction
Class ExperimentBean
java.lang.Object
|
+--uk.ac.ebi.intact.application.editor.struts.view.AbstractEditBean
|
+--uk.ac.ebi.intact.application.editor.struts.view.interaction.ExperimentBean
- All Implemented Interfaces:
- java.io.Serializable
- public class ExperimentBean
- extends AbstractEditBean
- implements java.io.Serializable
Bean to store data for an Experiment (in an Interaction).
- Version:
- $Id: ExperimentBean.java,v 1.5 2003/12/15 17:25:28 smudali Exp $
- Author:
- Sugath Mudali (smudali@ebi.ac.uk)
- See Also:
- Serialized Form
|
Constructor Summary |
ExperimentBean(Experiment experiment)
Instantiate an object of this class from a Experiment instance. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExperimentBean
public ExperimentBean(Experiment experiment)
- Instantiate an object of this class from a Experiment instance.
- Parameters:
experiment - the Experiment object.
getExperiment
public Experiment getExperiment()
getAc
public java.lang.String getAc()
getShortLabel
public java.lang.String getShortLabel()
getFullName
public java.lang.String getFullName()
getPubMedLink
public java.lang.String getPubMedLink()
- Returns the pubmed id as a link.
- Returns:
- the pubmed id as a browsable link.
getShortLabelLink
public java.lang.String getShortLabelLink()
- Returns the topic with a link to show its contents in a window.
- Returns:
- the topic as a browsable link.
equals
public boolean equals(java.lang.Object obj)
- Compares
obj with this object according to
Java's equals() contract. Delegates the task to
Experiment.equals(Object).
- Overrides:
equals in class java.lang.Object
- Parameters:
obj - the object to compare.
- Returns:
- true only if
obj is an instance of this class
and its wrapped Experiment equals to this object's Experiment. For all
other instances, false is returned.
IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk