public class DefaultProductIon extends AbstractProductIon
AbstractProductIon
.
In tandem mass spectrum, the level 1 mass generate precursor ions. For a special precursor ion, based on
product ion type, cleavage position, product ion charge to generate a product ion.Constructor and Description |
---|
DefaultProductIon(PrecursorIon precursorIon,
ProductIonType type,
int position,
Peptide peptide,
int charge)
Create product ion instance.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
compareTo, getMass, getPosition, getPrecursorIon, getType
equals, getCharge, getMassOverCharge, getPeptide, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCharge
getMassOverCharge, getPeptide
public DefaultProductIon(PrecursorIon precursorIon, ProductIonType type, int position, Peptide peptide, int charge)
PrecursorIon
,
ProductIonType
, cleavage position, and the ProductIon
.
Notice: Not suggest user to create a instance by calling construct method directly.
ReferenceAbstractPrecursorIon.getProductIon(uk.ac.ebi.pride.utilities.mol.ProductIonType, int, int)
see how to generate the product ion.precursorIon
- should not set null! Otherwise throw NullPointerException.type
- should not set null! Otherwise throw NullPointerException.position
- from [1..precursor.peptide.length-1]peptide
- product ion peptide. should not set null! Otherwise throw NullPointerException.charge
- from [1..3], should not great than precursor ion charges.public String toString()
toString
in class DefaultPeptideIon
Copyright © 2015 European Bioinformatics Institute. All Rights Reserved.