Package org.biojava.nbio.protmod
Class ProteinModificationImpl
java.lang.Object
org.biojava.nbio.protmod.ProteinModificationImpl
- All Implemented Interfaces:
Comparable<ProteinModification>
,ProteinModification
public class ProteinModificationImpl
extends Object
implements ProteinModification, Comparable<ProteinModification>
This class contains information about a specific protein
modification.
- Since:
- 3.0
- Author:
- Jianjiong Gao
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Uses Builder pattern to build a ProteinModification. -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(ProteinModification arg0) boolean
getId()
int
hashCode()
toString()
-
Method Details
-
getId
- Specified by:
getId
in interfaceProteinModification
- Returns:
- modification id.
-
getPdbccId
- Specified by:
getPdbccId
in interfaceProteinModification
- Returns:
- Protein Data Bank Chemical Component ID.
-
getPdbccName
- Specified by:
getPdbccName
in interfaceProteinModification
- Returns:
- Protein Data Bank Chemical Component name.
-
getResidId
- Specified by:
getResidId
in interfaceProteinModification
- Returns:
- RESID ID.
-
getResidName
- Specified by:
getResidName
in interfaceProteinModification
- Returns:
- RESID name.
-
getPsimodId
- Specified by:
getPsimodId
in interfaceProteinModification
- Returns:
- PSI-MOD ID.
-
getPsimodName
- Specified by:
getPsimodName
in interfaceProteinModification
- Returns:
- PSI-MOD name.
-
getSystematicName
- Specified by:
getSystematicName
in interfaceProteinModification
- Returns:
- Systematic name.
-
getDescription
- Specified by:
getDescription
in interfaceProteinModification
- Returns:
- Description.
-
getKeywords
- Specified by:
getKeywords
in interfaceProteinModification
- Returns:
- a set of keywords.
-
getCondition
- Specified by:
getCondition
in interfaceProteinModification
- Returns:
ModificationCondition
-
getFormula
- Specified by:
getFormula
in interfaceProteinModification
- Returns:
- formula of the modified residue.
-
getCategory
- Specified by:
getCategory
in interfaceProteinModification
- Returns:
- the modification category.
-
getOccurrenceType
- Specified by:
getOccurrenceType
in interfaceProteinModification
- Returns:
- the modification occurrence type.
-
toString
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ProteinModification>
-