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
  • Field Details

    • index

      public static final int index
      The index of this ms2pip feature.
      See Also:
  • Constructor Details

    • PeptideFeature

      public PeptideFeature()
      Empty default constructor
    • PeptideFeature

      public PeptideFeature(PeptideFeature.Property property)
      Constructor.
      Parameters:
      property - the peptide property
  • Method Details

    • getProperty

      public PeptideFeature.Property getProperty()
      Returns the feature property;
      Returns:
      the feature property
    • setProperty

      public void setProperty(PeptideFeature.Property property)
      Sets the feature property.
      Parameters:
      property - the feature property
    • getCategory

      public String getCategory()
      Description copied from interface: Ms2pipFeature
      Returns the category of the feature.
      Specified by:
      getCategory in interface Ms2pipFeature
      Returns:
      the category of the feature
    • getDescription

      public String getDescription()
      Description copied from interface: Ms2pipFeature
      Returns the description of the feature.
      Specified by:
      getDescription in interface Ms2pipFeature
      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 interface Ms2pipFeature
      Returns:
      an integer unique to this class