Class Contact

All Implemented Interfaces:
PrideObject, Serializable

public class Contact
extends ExperimentObject
implements PrideObject
An object for storing Contact details.
Author:
Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • Contact

      public Contact()
      Empty default constructor
    • Contact

      public Contact​(String name, String eMail, String institution)
      Create a new Contact object.
      Parameters:
      name - the contact name
      eMail - the contact e-mail
      institution - the contact institution
  • Method Details

    • getName

      public String getName()
      Returns the contact name.
      Returns:
      the name
    • setName

      public void setName​(String name)
      Set the contact name.
      Parameters:
      name - the name to set
    • getEMail

      public String getEMail()
      Returns the contact e-mail.
      Returns:
      the eMail
    • setEMail

      public void setEMail​(String eMail)
      Set the contact e-mail.
      Parameters:
      eMail - the eMail to set
    • getInstitution

      public String getInstitution()
      Returns the instituition.
      Returns:
      the institution
    • setInstitution

      public void setInstitution​(String institution)
      Set the instituttion.
      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