Class IonFeature
java.lang.Object
com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.generic.IonFeature
- All Implemented Interfaces:
Ms2pipFeature
- Direct Known Subclasses:
ComplementaryIonFeature
,ForwardIonFeature
public abstract class IonFeature extends Object implements Ms2pipFeature
Feature based on a property of an ion.
- Author:
- Marc Vaudel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IonFeature.Property
Enum for the possible features. -
Field Summary
Fields Modifier and Type Field Description protected IonFeature.Property
property
The peptide feature.Fields inherited from interface com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.Ms2pipFeature
implementations
-
Constructor Summary
Constructors Constructor Description IonFeature()
Empty default constructor -
Method Summary
Modifier and Type Method Description String
getCategory()
Returns the category of the feature.IonFeature.Property
getFeature()
Returns the peptide feature;void
setFeature(IonFeature.Property feature)
Sets the peptide feature.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.Ms2pipFeature
getDescription, getIndex
-
Field Details
-
property
The peptide feature.
-
-
Constructor Details
-
IonFeature
public IonFeature()Empty default constructor
-
-
Method Details
-
getFeature
Returns the peptide feature;- Returns:
- the peptide feature
-
setFeature
Sets the peptide feature.- Parameters:
feature
- the peptide feature
-
getCategory
Description copied from interface:Ms2pipFeature
Returns the category of the feature.- Specified by:
getCategory
in interfaceMs2pipFeature
- Returns:
- the category of the feature
-