Last update: 2011-06-23

org.proteios.io
Class SpectrumFileContact

java.lang.Object
  extended by org.proteios.io.SpectrumFileContact
All Implemented Interfaces:
SpectrumFileContactInterface

public class SpectrumFileContact
extends Object
implements SpectrumFileContactInterface

This class contains spectrum file contact information. Some field data may be redundant, since it was designed to transfer as detailed information as possible from mzData and mzML spectrum files, which store contact info in different formats. MzData files use a general "contactInfo" XML tag, where mzML files use "address", "url", and "email" XML tags. MzData files has a specific "institution" XML tag with information that would be located in the "address" XML tag in mzML files.

Author:
olle

Constructor Summary
SpectrumFileContact()
           
 
Method Summary
 String getAddress()
          Get the contact address.
 String getContactInfo()
          Get the contact info.
 String getEmail()
          Get the contact email.
 String getInstitution()
          Get the contact institution.
 String getName()
          Get the contact name.
 String getUrl()
          Get the contact url.
 void setAddress(String address)
          Set the contact address.
 void setContactInfo(String contactInfo)
          Set the contact info.
 void setEmail(String email)
          Set the contact email.
 void setInstitution(String institution)
          Set the contact institution.
 void setName(String name)
          Set the contact name.
 void setUrl(String url)
          Set the contact url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpectrumFileContact

public SpectrumFileContact()
Method Detail

getName

public String getName()
Get the contact name.

Specified by:
getName in interface SpectrumFileContactInterface
Returns:
String The contact name.

setName

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

Specified by:
setName in interface SpectrumFileContactInterface
Parameters:
name - String The contact name to set.

getInstitution

public String getInstitution()
Get the contact institution.

Specified by:
getInstitution in interface SpectrumFileContactInterface
Returns:
String The contact institution.

setInstitution

public void setInstitution(String institution)
Set the contact institution.

Specified by:
setInstitution in interface SpectrumFileContactInterface
Parameters:
institution - String The contact institution to set.

getContactInfo

public String getContactInfo()
Get the contact info.

Specified by:
getContactInfo in interface SpectrumFileContactInterface
Returns:
String The contact info.

setContactInfo

public void setContactInfo(String contactInfo)
Set the contact info.

Specified by:
setContactInfo in interface SpectrumFileContactInterface
Parameters:
contactInfo - String The contact info to set.

getAddress

public String getAddress()
Get the contact address.

Specified by:
getAddress in interface SpectrumFileContactInterface
Returns:
String The contact address.

setAddress

public void setAddress(String address)
Set the contact address.

Specified by:
setAddress in interface SpectrumFileContactInterface
Parameters:
address - String The contact address to set.

getUrl

public String getUrl()
Get the contact url.

Specified by:
getUrl in interface SpectrumFileContactInterface
Returns:
String The contact url.

setUrl

public void setUrl(String url)
Set the contact url.

Specified by:
setUrl in interface SpectrumFileContactInterface
Parameters:
url - String The contact url to set.

getEmail

public String getEmail()
Get the contact email.

Specified by:
getEmail in interface SpectrumFileContactInterface
Returns:
String The contact email.

setEmail

public void setEmail(String email)
Set the contact email.

Specified by:
setEmail in interface SpectrumFileContactInterface
Parameters:
email - String The contact email to set.

Last update: 2011-06-23