Last update: 2011-06-23

org.proteios.core.data
Class DigestParameterData

java.lang.Object
  extended by org.proteios.core.data.BasicData
      extended by org.proteios.core.data.OwnedData
          extended by org.proteios.core.data.SharedData
              extended by org.proteios.core.data.CommonData
                  extended by org.proteios.core.data.DigestParameterData
All Implemented Interfaces:
IdentifiableData, NameableData, OwnableData, RemovableData, ShareableData

public class DigestParameterData
extends CommonData

This represents a digestion parameter.

Version:
2.0
Author:
Fredrik
See Also:
DigestParameter, SpectrumSearch overview
Last modified
$Date: 2009-04-09 08:48:11 +0200 (Thu, 09 Apr 2009) $
Hibernate: class
table="`DigestParameters`" lazy="true"

Field Summary
static int MAX_NAME_LENGTH
           
static int MAX_SPECIFICITY_LENGTH
           
 
Fields inherited from interface org.proteios.core.data.NameableData
MAX_DESCRIPTION_LENGTH
 
Constructor Summary
DigestParameterData()
           
 
Method Summary
 int getMaxNumMissedCleavages()
           
 String getName()
          Get the name of the item.
 String getSpecificity()
           
 SpectrumSearchData getSpectrumSearch()
          Get the SpectrumSearchData this SearchDatabase is created from.
 void setMaxNumMissedCleavages(int maxNumMissedCleavages)
           
 void setName(String name)
          Set the name of the item.
 void setSpecificity(String specificity)
           
 void setSpectrumSearch(SpectrumSearchData spectrumSearch)
          Set the SpectrumSearchData this peakList is created from.
 
Methods inherited from class org.proteios.core.data.CommonData
getDescription, isRemoved, setDescription, setRemoved
 
Methods inherited from class org.proteios.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
 
Methods inherited from class org.proteios.core.data.OwnedData
getOwner, setOwner
 
Methods inherited from class org.proteios.core.data.BasicData
equals, getId, getVersion, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.proteios.core.data.IdentifiableData
getId, getVersion
 
Methods inherited from interface org.proteios.core.data.OwnableData
getOwner, setOwner
 

Field Detail

MAX_NAME_LENGTH

public static final int MAX_NAME_LENGTH
See Also:
Constant Field Values

MAX_SPECIFICITY_LENGTH

public static final int MAX_SPECIFICITY_LENGTH
See Also:
Constant Field Values
Constructor Detail

DigestParameterData

public DigestParameterData()
Method Detail

getSpectrumSearch

public SpectrumSearchData getSpectrumSearch()
Get the SpectrumSearchData this SearchDatabase is created from.

Returns:
The SpectrumSearchData item or null if not known
Hibernate: many-to-one
column="`spectrumSearchId`"

setSpectrumSearch

public void setSpectrumSearch(SpectrumSearchData spectrumSearch)
Set the SpectrumSearchData this peakList is created from.

Parameters:
spectrumSearch - The creator spectrumSearch

getMaxNumMissedCleavages

public int getMaxNumMissedCleavages()
Returns:
Returns the maxNumMissedCleavages.
Hibernate: property
column="`missedCleavages`" type="int" not-null="false"

setMaxNumMissedCleavages

public void setMaxNumMissedCleavages(int maxNumMissedCleavages)
Parameters:
maxNumMissedCleavages - The maxNumMissedCleavages to set.

getName

public String getName()
Description copied from interface: NameableData
Get the name of the item.

Specified by:
getName in interface NameableData
Overrides:
getName in class CommonData
Returns:
Returns the name.
Hibernate: property
column="`name`" type="string" length="255" not-null="false"

setName

public void setName(String name)
Description copied from interface: NameableData
Set the name of the item. The name cannot be null and mustn't be longer than the value specified by the MAX_NAME_LENGTH constant.

Specified by:
setName in interface NameableData
Overrides:
setName in class CommonData
Parameters:
name - The name to set.

getSpecificity

public String getSpecificity()
Returns:
Returns the specificity.
Hibernate: property
column="`specificity`" type="string" length="255" not-null="false"

setSpecificity

public void setSpecificity(String specificity)
Parameters:
specificity - The specificity to set.

Last update: 2011-06-23