com.compomics.util.pride.prideobjects
Class Contact

java.lang.Object
  extended by 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.
 
Method Summary
 java.lang.String getEMail()
          Returns the contact e-mail.
 java.lang.String getFileName()
          Returns the name to use when serializing the object.
 java.lang.String getInstitution()
          Returns the instituition.
 java.lang.String getName()
          Returns the contact name.
 void setEMail(java.lang.String eMail)
          Set the contact e-mail.
 void setInstitution(java.lang.String institution)
          Set the instituttion.
 void setName(java.lang.String name)
          Set the contact name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contact

public Contact(java.lang.String name,
               java.lang.String eMail,
               java.lang.String institution)
Create a new Contact object.

Parameters:
name -
eMail -
institution -
Method Detail

getName

public java.lang.String getName()
Returns the contact name.

Returns:
the name

setName

public void setName(java.lang.String name)
Set the contact name.

Parameters:
name - the name to set

getEMail

public java.lang.String getEMail()
Returns the contact e-mail.

Returns:
the eMail

setEMail

public void setEMail(java.lang.String eMail)
Set the contact e-mail.

Parameters:
eMail - the eMail to set

getInstitution

public java.lang.String getInstitution()
Returns the instituition.

Returns:
the institution

setInstitution

public void setInstitution(java.lang.String institution)
Set the instituttion.

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 © 2013. All Rights Reserved.