com.compomics.util.experiment.identification.matches
Class ModificationMatch

java.lang.Object
  extended by com.compomics.util.experiment.personalization.ExperimentObject
      extended by com.compomics.util.experiment.identification.matches.ModificationMatch
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ModificationMatch
extends ExperimentObject

This class models the match between theoretic ptm and identification results.

Created by IntelliJ IDEA. User: Marc Date: Jun 23, 2010 Time: 1:23:45 PM

See Also:
Serialized Form

Constructor Summary
ModificationMatch(PTM theoreticPtm, boolean variable, int modifiedSite)
          constructor for a modification match
 
Method Summary
 int getModificationSite()
          getter for the modification site, 1 is the first amino acid.
 PTM getTheoreticPtm()
          getter for the theoretic PTM
 boolean isVariable()
          returns a boolean indicating if the modification is variable
 void setTheoreticPtm(PTM ptm)
          Sets the theoretic PTM
 
Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, getParameterKey, getUrParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModificationMatch

public ModificationMatch(PTM theoreticPtm,
                         boolean variable,
                         int modifiedSite)
constructor for a modification match

Parameters:
theoreticPtm - the theoretic PTM
variable - true for variable modifications, false otherwise
modifiedSite - the position of the modification in the sequence
Method Detail

isVariable

public boolean isVariable()
returns a boolean indicating if the modification is variable

Returns:
a boolean indicating if the modification is variable

getTheoreticPtm

public PTM getTheoreticPtm()
getter for the theoretic PTM

Returns:
the theoretic PTM

setTheoreticPtm

public void setTheoreticPtm(PTM ptm)
Sets the theoretic PTM

Parameters:
ptm - the theoretic PTM

getModificationSite

public int getModificationSite()
getter for the modification site, 1 is the first amino acid.

Returns:
the index of the modification in the sequence


Copyright © 2011. All Rights Reserved.