public class AAPropertyRelationshipFeature extends Object implements Ms2pipFeature, MultipleAAPropertyFeature
Modifier and Type | Class and Description |
---|---|
static class |
AAPropertyRelationshipFeature.Relationship
The different relationships implemented.
|
Modifier and Type | Field and Description |
---|---|
static int |
index
The index of this ms2pip feature.
|
implementations
Constructor and Description |
---|
AAPropertyRelationshipFeature(AAPropertyRelationshipFeature.Relationship relationship,
AAPropertyFeature aminoAcidFeature1,
AAPropertyFeature aminoAcidFeature2)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AAPropertyFeature |
getAminoAcidFeature1()
Returns the first amino acid feature.
|
AAPropertyFeature |
getAminoAcidFeature2()
Returns the second amino acid feature.
|
AminoAcid.Property[] |
getAminoAcidProperties()
Returns the amino acid properties to consider.
|
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.
|
AAPropertyRelationshipFeature.Relationship |
getRelationship()
Returns the relationship between the features.
|
void |
setAminoAcidFeature1(AAPropertyFeature aminoAcidFeature1)
Sets the first amino acid feature.
|
void |
setAminoAcidFeature2(AAPropertyFeature aminoAcidFeature2)
Sets the second amino acid feature.
|
void |
setRelationship(AAPropertyRelationshipFeature.Relationship relationship)
Sets the relationship between the features.
|
public static final int index
public AAPropertyRelationshipFeature(AAPropertyRelationshipFeature.Relationship relationship, AAPropertyFeature aminoAcidFeature1, AAPropertyFeature aminoAcidFeature2)
relationship
- the relationship between the amino acid feature.aminoAcidFeature1
- the first amino acid featureaminoAcidFeature2
- the second amino acid featurepublic AAPropertyRelationshipFeature.Relationship getRelationship()
public void setRelationship(AAPropertyRelationshipFeature.Relationship relationship)
relationship
- the relationship between the featurespublic AAPropertyFeature getAminoAcidFeature1()
public void setAminoAcidFeature1(AAPropertyFeature aminoAcidFeature1)
aminoAcidFeature1
- the first amino acid featurepublic AAPropertyFeature getAminoAcidFeature2()
public void setAminoAcidFeature2(AAPropertyFeature aminoAcidFeature2)
aminoAcidFeature2
- the second amino acid featurepublic String getCategory()
Ms2pipFeature
getCategory
in interface Ms2pipFeature
public String getDescription()
Ms2pipFeature
getDescription
in interface Ms2pipFeature
public AminoAcid.Property[] getAminoAcidProperties()
MultipleAAPropertyFeature
getAminoAcidProperties
in interface MultipleAAPropertyFeature
public int getIndex()
Ms2pipFeature
getIndex
in interface Ms2pipFeature
Copyright © 2018. All rights reserved.