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 GroupTypetypethis is a "nucleotide", a special occurance of a Hetatom.-
Fields inherited from class org.biojava.nbio.structure.HetatomImpl
atoms, chemComp, pdb_flag, pdb_name, residueNumber
-
-
Constructor Summary
Constructors Constructor Description NucleotideImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()returns and identical copy of this Group object .AtomgetO3Prime()Returns the O3' atom if present, otherwise nullAtomgetO5Prime()Returns the O5' atom if present, otherwise nullAtomgetP()Returns the P atom if present, otherwise nullGroupTypegetType()StringtoString()-
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:
getTypein interfaceGroup- Overrides:
getTypein classHetatomImpl- Returns:
- a String representing the type value
-
toString
public String toString()
- Overrides:
toStringin 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:HetatomImplreturns and identical copy of this Group object .- Specified by:
clonein interfaceGroup- Overrides:
clonein classHetatomImpl- Returns:
- and identical copy of this Group object
-
-