Package org.biojava.nbio.structure
Class NucleotideImpl
- java.lang.Object
-
- org.biojava.nbio.structure.HetatomImpl
-
- org.biojava.nbio.structure.NucleotideImpl
-
- All Implemented Interfaces:
Serializable
,Group
public class NucleotideImpl extends HetatomImpl
A nucleotide group is almost the same as a Hetatm group.- Since:
- 1.4
- Version:
- %I% %G%
- Author:
- Andreas Prlic
- See Also:
HetatomImpl
,AminoAcidImpl
, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.biojava.nbio.structure.HetatomImpl
HetatomImpl.PerformanceBehavior
-
-
Field Summary
Fields Modifier and Type Field Description static GroupType
type
this is a "nucleotide", a special occurance of a Hetatom.-
Fields inherited from class org.biojava.nbio.structure.HetatomImpl
atoms, chemComp, pdb_flag, pdb_name, performanceBehavior, residueNumber
-
-
Constructor Summary
Constructors Constructor Description NucleotideImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
returns and identical copy of this Group object .Atom
getO3Prime()
Returns the O3' atom if present, otherwise nullAtom
getO5Prime()
Returns the O5' atom if present, otherwise nullAtom
getP()
Returns the P atom if present, otherwise nullGroupType
getType()
String
toString()
-
Methods inherited from class org.biojava.nbio.structure.HetatomImpl
addAltLoc, addAtom, clearAtoms, cloneAtomsAndBonds, getAltLocGroup, getAltLocs, getAtom, getAtom, getAtoms, getChain, getChainId, getChemComp, getId, getPDBName, getProperties, getProperty, getResidueNumber, has3D, hasAltLoc, hasAminoAtoms, hasAtom, isAminoAcid, isHetAtomInFile, isNucleotide, isPolymeric, isWater, iterator, setAtoms, setChain, setChemComp, setHetAtomInFile, setId, setPDBFlag, setPDBName, setProperties, setProperty, setResidueNumber, setResidueNumber, size, toSDF, trimToSize
-
-
-
-
Constructor Detail
-
NucleotideImpl
public NucleotideImpl()
-
-
Method Detail
-
getType
public GroupType getType()
Description copied from class:HetatomImpl
- Specified by:
getType
in interfaceGroup
- Overrides:
getType
in classHetatomImpl
- Returns:
- a String representing the type value
-
toString
public String toString()
- Overrides:
toString
in classHetatomImpl
-
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
-
clone
public Object clone()
Description copied from class:HetatomImpl
returns and identical copy of this Group object .- Specified by:
clone
in interfaceGroup
- Overrides:
clone
in classHetatomImpl
- Returns:
- and identical copy of this Group object
-
-