uk.ac.ebi.jmzidml.model.mzidml
Class SearchDatabase

java.lang.Object
  extended by uk.ac.ebi.jmzidml.model.MzIdentMLObject
      extended by uk.ac.ebi.jmzidml.model.mzidml.Identifiable
          extended by uk.ac.ebi.jmzidml.model.mzidml.ExternalData
              extended by uk.ac.ebi.jmzidml.model.mzidml.SearchDatabase
All Implemented Interfaces:
Serializable, CvParamListCapable, ParamCapable

public class SearchDatabase
extends ExternalData
implements Serializable, ParamCapable, CvParamListCapable

A database for searching mass spectra. Examples include a set of amino acid sequence entries, or annotated spectra libraries.

Java class for SearchDatabaseType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="SearchDatabaseType">
   <complexContent>
     <extension base="{http://psidev.info/psi/pi/mzIdentML/1.1}ExternalDataType">
       <sequence>
         <element name="DatabaseName" type="{http://psidev.info/psi/pi/mzIdentML/1.1}ParamType"/>
         <element name="cvParam" type="{http://psidev.info/psi/pi/mzIdentML/1.1}CVParamType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="releaseDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="numDatabaseSequences" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="numResidues" type="{http://www.w3.org/2001/XMLSchema}long" />
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<CvParam> cvParam
           
protected  Param databaseName
           
protected  Long numDatabaseSequences
           
protected  Long numResidues
           
protected  Calendar releaseDate
           
protected  String version
           
 
Fields inherited from class uk.ac.ebi.jmzidml.model.mzidml.ExternalData
externalFormatDocumentation, fileFormat, location
 
Fields inherited from class uk.ac.ebi.jmzidml.model.mzidml.Identifiable
id, name
 
Constructor Summary
SearchDatabase()
           
 
Method Summary
 List<CvParam> getCvParam()
          Gets the value of the cvParam property.
 Param getDatabaseName()
          Gets the value of the databaseName property.
 Long getNumDatabaseSequences()
          Gets the value of the numDatabaseSequences property.
 Long getNumResidues()
          Gets the value of the numResidues property.
 Calendar getReleaseDate()
          Gets the value of the releaseDate property.
 String getVersion()
          Gets the value of the version property.
 void setDatabaseName(Param value)
          Sets the value of the databaseName property.
 void setNumDatabaseSequences(Long value)
          Sets the value of the numDatabaseSequences property.
 void setNumResidues(Long value)
          Sets the value of the numResidues property.
 void setReleaseDate(Calendar value)
          Sets the value of the releaseDate property.
 void setVersion(String value)
          Sets the value of the version property.
 
Methods inherited from class uk.ac.ebi.jmzidml.model.mzidml.ExternalData
getExternalFormatDocumentation, getFileFormat, getLocation, setExternalFormatDocumentation, setFileFormat, setLocation
 
Methods inherited from class uk.ac.ebi.jmzidml.model.mzidml.Identifiable
getId, getName, setId, setName
 
Methods inherited from class uk.ac.ebi.jmzidml.model.MzIdentMLObject
getHid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

databaseName

protected Param databaseName

cvParam

protected List<CvParam> cvParam

version

protected String version

releaseDate

protected Calendar releaseDate

numDatabaseSequences

protected Long numDatabaseSequences

numResidues

protected Long numResidues
Constructor Detail

SearchDatabase

public SearchDatabase()
Method Detail

getDatabaseName

public Param getDatabaseName()
Gets the value of the databaseName property.

Returns:
possible object is Param

setDatabaseName

public void setDatabaseName(Param value)
Sets the value of the databaseName property.

Parameters:
value - allowed object is Param

getCvParam

public List<CvParam> getCvParam()
Gets the value of the cvParam property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the cvParam property.

For example, to add a new item, do as follows:

    getCvParam().add(newItem);
 

Objects of the following type(s) are allowed in the list CvParam

Specified by:
getCvParam in interface CvParamListCapable
Returns:
A List of CvParam objects.

getVersion

public String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

getReleaseDate

public Calendar getReleaseDate()
Gets the value of the releaseDate property.

Returns:
possible object is String

setReleaseDate

public void setReleaseDate(Calendar value)
Sets the value of the releaseDate property.

Parameters:
value - allowed object is String

getNumDatabaseSequences

public Long getNumDatabaseSequences()
Gets the value of the numDatabaseSequences property.

Returns:
possible object is Long

setNumDatabaseSequences

public void setNumDatabaseSequences(Long value)
Sets the value of the numDatabaseSequences property.

Parameters:
value - allowed object is Long

getNumResidues

public Long getNumResidues()
Gets the value of the numResidues property.

Returns:
possible object is Long

setNumResidues

public void setNumResidues(Long value)
Sets the value of the numResidues property.

Parameters:
value - allowed object is Long


Copyright © 2012. All Rights Reserved.