Class NucleotideImpl

java.lang.Object
org.biojava.nbio.structure.HetatomImpl
org.biojava.nbio.structure.NucleotideImpl
All Implemented Interfaces:
Serializable, Cloneable, Group

public class NucleotideImpl extends HetatomImpl implements Group, Serializable, Cloneable
A nucleotide group is almost the same as a Hetatm group.
Since:
1.4
Version:
%I% %G%
Author:
Andreas Prlic
See Also:
  • Field Details

    • type

      public static final GroupType type
      this is a "nucleotide", a special occurance of a Hetatom.
  • Constructor Details

    • NucleotideImpl

      public NucleotideImpl()
  • Method Details

    • getType

      public GroupType getType()
      Description copied from class: HetatomImpl
      Specified by:
      getType in interface Group
      Overrides:
      getType in class HetatomImpl
      Returns:
      a String representing the type value
    • toString

      public String toString()
      Overrides:
      toString in class HetatomImpl
    • getO3Prime

      public Atom getO3Prime()
      Returns the O3' atom if present, otherwise null
      Returns:
      O3' atom or null
    • getO5Prime

      public Atom getO5Prime()
      Returns the O5' atom if present, otherwise null
      Returns:
      O5' atom or null
    • getP

      public Atom getP()
      Returns the P atom if present, otherwise null
      Returns:
      P atom or null
    • clone

      public Object clone()
      Description copied from class: HetatomImpl
      returns and identical copy of this Group object .
      Specified by:
      clone in interface Group
      Overrides:
      clone in class HetatomImpl
      Returns:
      and identical copy of this Group object