org.biojava3.protmod
Class ProteinModificationImpl
java.lang.Object
org.biojava3.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
getId
public String getId()
- Specified by:
getId
in interface ProteinModification
- Returns:
- modification id.
getPdbccId
public String getPdbccId()
- Specified by:
getPdbccId
in interface ProteinModification
- Returns:
- Protein Data Bank Chemical Component ID.
getPdbccName
public String getPdbccName()
- Specified by:
getPdbccName
in interface ProteinModification
- Returns:
- Protein Data Bank Chemical Component name.
getResidId
public String getResidId()
- Specified by:
getResidId
in interface ProteinModification
- Returns:
- RESID ID.
getResidName
public String getResidName()
- Specified by:
getResidName
in interface ProteinModification
- Returns:
- RESID name.
getPsimodId
public String getPsimodId()
- Specified by:
getPsimodId
in interface ProteinModification
- Returns:
- PSI-MOD ID.
getPsimodName
public String getPsimodName()
- Specified by:
getPsimodName
in interface ProteinModification
- Returns:
- PSI-MOD name.
getSystematicName
public String getSystematicName()
- Specified by:
getSystematicName
in interface ProteinModification
- Returns:
- Systematic name.
getDescription
public String getDescription()
- Specified by:
getDescription
in interface ProteinModification
- Returns:
- Description.
getKeywords
public Set<String> getKeywords()
- Specified by:
getKeywords
in interface ProteinModification
- Returns:
- a set of keywords.
getCondition
public ModificationCondition getCondition()
- Specified by:
getCondition
in interface ProteinModification
- Returns:
ModificationCondition
getFormula
public String getFormula()
- Specified by:
getFormula
in interface ProteinModification
- Returns:
- formula of the modified residue.
getCategory
public ModificationCategory getCategory()
- Specified by:
getCategory
in interface ProteinModification
- Returns:
- the modification category.
getOccurrenceType
public ModificationOccurrenceType getOccurrenceType()
- Specified by:
getOccurrenceType
in interface ProteinModification
- Returns:
- the modification occurrence type.
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
compareTo
public int compareTo(ProteinModification arg0)
- Specified by:
compareTo
in interface Comparable<ProteinModification>