com.compomics.util.pride.prideobjects
Class Contact
java.lang.Object
com.compomics.util.pride.prideobjects.Contact
- All Implemented Interfaces:
- PrideObject, Serializable
public class Contact
- extends Object
- implements PrideObject, Serializable
An object for storing Contact details.
- Author:
- Harald Barsnes
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Contact
public Contact(String name,
String eMail,
String institution)
- Create a new Contact object.
- Parameters:
name
- eMail
- institution
-
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name
- the name to set
getEMail
public String getEMail()
- Returns:
- the eMail
setEMail
public void setEMail(String eMail)
- Parameters:
eMail
- the eMail to set
getInstitution
public String getInstitution()
- Returns:
- the institution
setInstitution
public void setInstitution(String institution)
- Parameters:
institution
- the institution to set
getFileName
public String getFileName()
- Description copied from interface:
PrideObject
- Returns the name to use when serializing the object
- Specified by:
getFileName
in interface PrideObject
- Returns:
- the name to use when serializing the object
Copyright © 2012. All Rights Reserved.