Class PeptideFeature
java.lang.Object
com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.PeptideFeature
- All Implemented Interfaces:
Ms2pipFeature
public class PeptideFeature extends Object implements Ms2pipFeature
Feature based on a peptide property.
- Author:
- Marc Vaudel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PeptideFeature.Property
Enum for the possible features. -
Field Summary
Fields Modifier and Type Field Description static int
index
The index of this ms2pip feature.Fields inherited from interface com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.Ms2pipFeature
implementations
-
Constructor Summary
Constructors Constructor Description PeptideFeature()
Empty default constructorPeptideFeature(PeptideFeature.Property property)
Constructor. -
Method Summary
Modifier and Type Method Description String
getCategory()
Returns the category of the feature.String
getDescription()
Returns the description of the feature.int
getIndex()
Returns an integer unique to this class.PeptideFeature.Property
getProperty()
Returns the feature property;void
setProperty(PeptideFeature.Property property)
Sets the feature property.
-
Field Details
-
index
public static final int indexThe index of this ms2pip feature.- See Also:
- Constant Field Values
-
-
Constructor Details
-
PeptideFeature
public PeptideFeature()Empty default constructor -
PeptideFeature
Constructor.- Parameters:
property
- the peptide property
-
-
Method Details
-
getProperty
Returns the feature property;- Returns:
- the feature property
-
setProperty
Sets the feature property.- Parameters:
property
- the feature property
-
getCategory
Description copied from interface:Ms2pipFeature
Returns the category of the feature.- Specified by:
getCategory
in interfaceMs2pipFeature
- Returns:
- the category of the feature
-
getDescription
Description copied from interface:Ms2pipFeature
Returns the description of the feature.- Specified by:
getDescription
in interfaceMs2pipFeature
- Returns:
- the description of the feature
-
getIndex
public int getIndex()Description copied from interface:Ms2pipFeature
Returns an integer unique to this class.- Specified by:
getIndex
in interfaceMs2pipFeature
- Returns:
- an integer unique to this class
-