com.compomics.util.pride.prideobjects
Class Contact
java.lang.Object
com.compomics.util.pride.prideobjects.Contact
- All Implemented Interfaces:
- PrideObject, java.io.Serializable
public class Contact
- extends java.lang.Object
- implements PrideObject, java.io.Serializable
An object for storing Contact details.
- Author:
- Harald Barsnes
- See Also:
- Serialized Form
Constructor Summary |
Contact(java.lang.String name,
java.lang.String eMail,
java.lang.String institution)
Create a new Contact object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Contact
public Contact(java.lang.String name,
java.lang.String eMail,
java.lang.String institution)
- Create a new Contact object.
- Parameters:
name
- eMail
- institution
-
getName
public java.lang.String getName()
- Returns:
- the name
setName
public void setName(java.lang.String name)
- Parameters:
name
- the name to set
getEMail
public java.lang.String getEMail()
- Returns:
- the eMail
setEMail
public void setEMail(java.lang.String eMail)
- Parameters:
eMail
- the eMail to set
getInstitution
public java.lang.String getInstitution()
- Returns:
- the institution
setInstitution
public void setInstitution(java.lang.String institution)
- Parameters:
institution
- the institution to set
getFileName
public java.lang.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.