Class AAPropertyRelationshipFeature
java.lang.Object
com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.features.AAPropertyRelationshipFeature
- All Implemented Interfaces:
Ms2pipFeature,MultipleAAPropertyFeature
public class AAPropertyRelationshipFeature
extends Object
implements Ms2pipFeature, MultipleAAPropertyFeature
Feature based on the relationship between two amino acid features.
- Author:
- Marc Vaudel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe different relationships implemented. -
Field Summary
FieldsFields inherited from interface com.compomics.util.experiment.identification.peptide_fragmentation.models.ms2pip.features_configuration.Ms2pipFeature
implementations -
Constructor Summary
ConstructorsConstructorDescriptionEmpty default constructorAAPropertyRelationshipFeature(AAPropertyRelationshipFeature.Relationship relationship, AAPropertyFeature aminoAcidFeature1, AAPropertyFeature aminoAcidFeature2) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the first amino acid feature.Returns the second amino acid feature.Returns the amino acid properties to consider.Returns the category of the feature.Returns the description of the feature.intgetIndex()Returns an integer unique to this class.Returns the relationship between the features.voidsetAminoAcidFeature1(AAPropertyFeature aminoAcidFeature1) Sets the first amino acid feature.voidsetAminoAcidFeature2(AAPropertyFeature aminoAcidFeature2) Sets the second amino acid feature.voidsetRelationship(AAPropertyRelationshipFeature.Relationship relationship) Sets the relationship between the features.
-
Field Details
-
index
public static final int indexThe index of this ms2pip feature.- See Also:
-
-
Constructor Details
-
AAPropertyRelationshipFeature
public AAPropertyRelationshipFeature()Empty default constructor -
AAPropertyRelationshipFeature
public AAPropertyRelationshipFeature(AAPropertyRelationshipFeature.Relationship relationship, AAPropertyFeature aminoAcidFeature1, AAPropertyFeature aminoAcidFeature2) Constructor.- Parameters:
relationship- the relationship between the amino acid feature.aminoAcidFeature1- the first amino acid featureaminoAcidFeature2- the second amino acid feature
-
-
Method Details
-
getRelationship
Returns the relationship between the features.- Returns:
- the relationship between the features
-
setRelationship
Sets the relationship between the features.- Parameters:
relationship- the relationship between the features
-
getAminoAcidFeature1
Returns the first amino acid feature.- Returns:
- the first amino acid feature
-
setAminoAcidFeature1
Sets the first amino acid feature.- Parameters:
aminoAcidFeature1- the first amino acid feature
-
getAminoAcidFeature2
Returns the second amino acid feature.- Returns:
- the second amino acid feature
-
setAminoAcidFeature2
Sets the second amino acid feature.- Parameters:
aminoAcidFeature2- the second amino acid feature
-
getCategory
Description copied from interface:Ms2pipFeatureReturns the category of the feature.- Specified by:
getCategoryin interfaceMs2pipFeature- Returns:
- the category of the feature
-
getDescription
Description copied from interface:Ms2pipFeatureReturns the description of the feature.- Specified by:
getDescriptionin interfaceMs2pipFeature- Returns:
- the description of the feature
-
getAminoAcidProperties
Description copied from interface:MultipleAAPropertyFeatureReturns the amino acid properties to consider.- Specified by:
getAminoAcidPropertiesin interfaceMultipleAAPropertyFeature- Returns:
- the amino acid properties to consider
-
getIndex
public int getIndex()Description copied from interface:Ms2pipFeatureReturns an integer unique to this class.- Specified by:
getIndexin interfaceMs2pipFeature- Returns:
- an integer unique to this class
-