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
Nested Classes Modifier and Type Class Description static class
ProteinModificationImpl.Builder
Uses Builder pattern to build a ProteinModification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ProteinModification arg0)
boolean
equals(Object obj)
ModificationCategory
getCategory()
ModificationCondition
getCondition()
String
getDescription()
String
getFormula()
String
getId()
Set<String>
getKeywords()
ModificationOccurrenceType
getOccurrenceType()
String
getPdbccId()
String
getPdbccName()
String
getPsimodId()
String
getPsimodName()
String
getResidId()
String
getResidName()
String
getSystematicName()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceProteinModification
- Returns:
- modification id.
-
getPdbccId
public String getPdbccId()
- Specified by:
getPdbccId
in interfaceProteinModification
- Returns:
- Protein Data Bank Chemical Component ID.
-
getPdbccName
public String getPdbccName()
- Specified by:
getPdbccName
in interfaceProteinModification
- Returns:
- Protein Data Bank Chemical Component name.
-
getResidId
public String getResidId()
- Specified by:
getResidId
in interfaceProteinModification
- Returns:
- RESID ID.
-
getResidName
public String getResidName()
- Specified by:
getResidName
in interfaceProteinModification
- Returns:
- RESID name.
-
getPsimodId
public String getPsimodId()
- Specified by:
getPsimodId
in interfaceProteinModification
- Returns:
- PSI-MOD ID.
-
getPsimodName
public String getPsimodName()
- Specified by:
getPsimodName
in interfaceProteinModification
- Returns:
- PSI-MOD name.
-
getSystematicName
public String getSystematicName()
- Specified by:
getSystematicName
in interfaceProteinModification
- Returns:
- Systematic name.
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceProteinModification
- Returns:
- Description.
-
getKeywords
public Set<String> getKeywords()
- Specified by:
getKeywords
in interfaceProteinModification
- Returns:
- a set of keywords.
-
getCondition
public ModificationCondition getCondition()
- Specified by:
getCondition
in interfaceProteinModification
- Returns:
ModificationCondition
-
getFormula
public String getFormula()
- Specified by:
getFormula
in interfaceProteinModification
- Returns:
- formula of the modified residue.
-
getCategory
public ModificationCategory getCategory()
- Specified by:
getCategory
in interfaceProteinModification
- Returns:
- the modification category.
-
getOccurrenceType
public ModificationOccurrenceType getOccurrenceType()
- Specified by:
getOccurrenceType
in interfaceProteinModification
- Returns:
- the modification occurrence type.
-
compareTo
public int compareTo(ProteinModification arg0)
- Specified by:
compareTo
in interfaceComparable<ProteinModification>
-
-