org.biojava3.protmod
Class ProteinModificationImpl

java.lang.Object
  extended by 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

Nested Class Summary
static class ProteinModificationImpl.Builder
          Uses Builder pattern to build a ProteinModification.
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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>