Class Residue

All Implemented Interfaces:
Serializable, Cloneable, IAtomContainer, ICDKObject, IChemObject, IChemObjectListener

public class Residue extends AtomContainer
A residue is a named, numbered collection of atoms in an MDMolecule. Residues are used to partition molecules in distinct pieces.
See Also:
Source code:
Belongs to CDK module:
  • Constructor Details

    • Residue

      public Residue()
      Empty constructor
    • Residue

      public Residue(IAtomContainer container, int number, MDMolecule parentMolecule)
      Constructor to create a Residue based on an AC, a number, and a MDMolecule.
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getNumber

      public int getNumber()
    • setNumber

      public void setNumber(int number)
    • getParentMolecule

      public MDMolecule getParentMolecule()
    • setParentMolecule

      public void setParentMolecule(MDMolecule parentMolecule)