public class MassGap extends ExperimentObject implements TagComponent
Constructor and Description |
---|
MassGap(double value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
asSequence()
Returns the tag component as String like a peptide sequence.
|
Double |
getMass()
Returns the mass of the tag component.
|
boolean |
isSameAs(TagComponent anotherCompontent,
SequenceMatchingPreferences sequenceMatchingPreferences)
Indicates whether another component is the same as the component of
interest.
|
boolean |
isSameSequenceAndModificationStatusAs(TagComponent anotherCompontent,
SequenceMatchingPreferences sequenceMatchingPreferences)
Indicates whether another component is the same as the component of
interest.
|
void |
setMass(double value)
Sets the mass of the gap.
|
addUrParam, getParameterKey, getUrParam
public MassGap(double value)
value
- the value of the mass gappublic void setMass(double value)
value
- the mass of the gappublic String asSequence()
TagComponent
asSequence
in interface TagComponent
public Double getMass()
TagComponent
getMass
in interface TagComponent
public boolean isSameAs(TagComponent anotherCompontent, SequenceMatchingPreferences sequenceMatchingPreferences)
TagComponent
isSameAs
in interface TagComponent
anotherCompontent
- another componentsequenceMatchingPreferences
- the sequence matching preferencespublic boolean isSameSequenceAndModificationStatusAs(TagComponent anotherCompontent, SequenceMatchingPreferences sequenceMatchingPreferences)
TagComponent
isSameSequenceAndModificationStatusAs
in interface TagComponent
anotherCompontent
- another componentsequenceMatchingPreferences
- the sequence matching preferencesCopyright © 2016. All rights reserved.