Class Contact
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.pride.prideobjects.Contact
- All Implemented Interfaces:
PrideObject,Serializable
An object for storing Contact details.
- Author:
- Harald Barsnes
- See Also:
-
Field Summary
Fields inherited from class com.compomics.util.experiment.personalization.ExperimentObject
NO_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEMail()Returns the contact e-mail.Returns the name to use when serializing the object.Returns the instituition.getName()Returns the contact name.voidSet the contact e-mail.voidsetInstitution(String institution) Set the instituttion.voidSet the contact name.Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
Contact
public Contact()Empty default constructor -
Contact
Create a new Contact object.- Parameters:
name- the contact nameeMail- the contact e-mailinstitution- the contact institution
-
-
Method Details
-
getName
Returns the contact name.- Returns:
- the name
-
setName
Set the contact name.- Parameters:
name- the name to set
-
getEMail
Returns the contact e-mail.- Returns:
- the eMail
-
setEMail
Set the contact e-mail.- Parameters:
eMail- the eMail to set
-
getInstitution
Returns the instituition.- Returns:
- the institution
-
setInstitution
Set the instituttion.- Parameters:
institution- the institution to set
-
getFileName
Description copied from interface:PrideObjectReturns the name to use when serializing the object.- Specified by:
getFileNamein interfacePrideObject- Returns:
- the name to use when serializing the object
-