Package psidev.psi.mi.jami.model.impl
Class DefaultNamedExperiment
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultExperiment
-
- psidev.psi.mi.jami.model.impl.DefaultNamedExperiment
-
- All Implemented Interfaces:
Experiment
,NamedExperiment
public class DefaultNamedExperiment extends DefaultExperiment implements NamedExperiment
Default implementation for NamedExperiment. The equals and hashcode methods are not overriden.- Since:
13/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Experiment
INFERRED_BY_CURATOR, INFERRED_BY_CURATOR_MI, UNSPECIFIED_METHOD, UNSPECIFIED_METHOD_MI
-
-
Constructor Summary
Constructors Constructor Description DefaultNamedExperiment(Publication publication)
Constructor for DefaultNamedExperiment.DefaultNamedExperiment(Publication publication, CvTerm interactionDetectionMethod)
Constructor for DefaultNamedExperiment.DefaultNamedExperiment(Publication publication, CvTerm interactionDetectionMethod, Organism organism)
Constructor for DefaultNamedExperiment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Alias>
getAliases()
Getter for the fieldaliases
.String
getFullName()
Getter for the fieldfullName
.String
getShortName()
Getter for the fieldshortName
.protected void
initialiseAliases()
initialiseAliasesprotected void
initialiseAliasesWith(Collection<Alias> aliases)
initialiseAliasesWithvoid
setFullName(String fullName)
Sets the full name of the experimentvoid
setShortName(String shortName)
Sets the short name of an experiment-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultExperiment
addAllInteractionEvidences, addAllVariableParameters, addInteractionEvidence, addVariableParameter, getAnnotations, getConfidences, getHostOrganism, getInteractionDetectionMethod, getInteractionEvidences, getPublication, getVariableParameters, getXrefs, initialiseAnnotations, initialiseAnnotationsWith, initialiseConfidences, initialiseConfidencesWith, initialiseInteractions, initialiseInteractionsWith, initialiseVariableParameters, initialiseVariableParametersWith, initialiseXrefs, initialiseXrefsWith, removeAllInteractionEvidences, removeAllVariableParameters, removeInteractionEvidence, removeVariableParameter, setHostOrganism, setInteractionDetectionMethod, setPublication, setPublicationAndAddExperiment, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.model.Experiment
addAllInteractionEvidences, addAllVariableParameters, addInteractionEvidence, addVariableParameter, getAnnotations, getConfidences, getHostOrganism, getInteractionDetectionMethod, getInteractionEvidences, getPublication, getVariableParameters, getXrefs, removeAllInteractionEvidences, removeAllVariableParameters, removeInteractionEvidence, removeVariableParameter, setHostOrganism, setInteractionDetectionMethod, setPublication, setPublicationAndAddExperiment
-
-
-
-
Constructor Detail
-
DefaultNamedExperiment
public DefaultNamedExperiment(Publication publication)
Constructor for DefaultNamedExperiment.
- Parameters:
publication
- aPublication
object.
-
DefaultNamedExperiment
public DefaultNamedExperiment(Publication publication, CvTerm interactionDetectionMethod)
Constructor for DefaultNamedExperiment.
- Parameters:
publication
- aPublication
object.interactionDetectionMethod
- aCvTerm
object.
-
DefaultNamedExperiment
public DefaultNamedExperiment(Publication publication, CvTerm interactionDetectionMethod, Organism organism)
Constructor for DefaultNamedExperiment.
- Parameters:
publication
- aPublication
object.interactionDetectionMethod
- aCvTerm
object.organism
- aOrganism
object.
-
-
Method Detail
-
initialiseAliases
protected void initialiseAliases()
initialiseAliases
-
initialiseAliasesWith
protected void initialiseAliasesWith(Collection<Alias> aliases)
initialiseAliasesWith
- Parameters:
aliases
- aCollection
object.
-
getShortName
public String getShortName()
Getter for the field
shortName
.- Specified by:
getShortName
in interfaceNamedExperiment
- Returns:
- a
String
object.
-
setShortName
public void setShortName(String shortName)
Sets the short name of an experiment- Specified by:
setShortName
in interfaceNamedExperiment
- Parameters:
shortName
- : short name
-
getFullName
public String getFullName()
Getter for the field
fullName
.- Specified by:
getFullName
in interfaceNamedExperiment
- Returns:
- a
String
object.
-
setFullName
public void setFullName(String fullName)
Sets the full name of the experiment- Specified by:
setFullName
in interfaceNamedExperiment
- Parameters:
fullName
- : full name
-
getAliases
public Collection<Alias> getAliases()
Getter for the field
aliases
.- Specified by:
getAliases
in interfaceNamedExperiment
- Returns:
- a
Collection
object.
-
-