public class PeptideFeature extends Object implements Ms2pipFeature
Modifier and Type | Class and Description |
---|---|
static class |
PeptideFeature.Property
Enum for the possible features.
|
Modifier and Type | Field and Description |
---|---|
static int |
index
The index of this ms2pip feature.
|
implementations
Constructor and Description |
---|
PeptideFeature(PeptideFeature.Property property)
Constructor.
|
Modifier and Type | Method and 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.
|
public static final int index
public PeptideFeature(PeptideFeature.Property property)
property
- the peptide propertypublic PeptideFeature.Property getProperty()
public void setProperty(PeptideFeature.Property property)
property
- the feature propertypublic String getCategory()
Ms2pipFeature
getCategory
in interface Ms2pipFeature
public String getDescription()
Ms2pipFeature
getDescription
in interface Ms2pipFeature
public int getIndex()
Ms2pipFeature
getIndex
in interface Ms2pipFeature
Copyright © 2018. All rights reserved.