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.
Author:
ola
See Also:
Source code:
main
Belongs to CDK module:
libiomd
  • 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)