Package org.biojava.nbio.structure
Class NucleotideImpl
java.lang.Object
org.biojava.nbio.structure.HetatomImpl
org.biojava.nbio.structure.NucleotideImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,Group
A nucleotide group is almost the same as a Hetatm group.
- Since:
- 1.4
- Version:
- %I% %G%
- Author:
- Andreas Prlic
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.biojava.nbio.structure.HetatomImpl
HetatomImpl.PerformanceBehavior
-
Field Summary
Modifier and TypeFieldDescriptionstatic final GroupType
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
-
Method Summary
Methods inherited from class org.biojava.nbio.structure.HetatomImpl
addAltLoc, addAtom, clearAtoms, getAltLocGroup, getAltLocs, getAtom, getAtom, getAtoms, getChain, getChainId, getChemComp, getId, getPDBName, getProperties, getProperty, getResidueNumber, has3D, hasAltLoc, hasAminoAtoms, hasAtom, isWater, iterator, setAtoms, setChain, setChemComp, setId, setPDBFlag, setPDBName, setProperties, setProperty, setResidueNumber, setResidueNumber, size, toSDF, trimToSize
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.biojava.nbio.structure.Group
addAltLoc, addAtom, clearAtoms, getAltLocGroup, getAltLocs, getAtom, getAtom, getAtoms, getChain, getChainId, getChemComp, getPDBName, getProperties, getProperty, getResidueNumber, has3D, hasAltLoc, hasAminoAtoms, hasAtom, isWater, iterator, setAtoms, setChain, setChemComp, setPDBFlag, setPDBName, setProperties, setProperty, setResidueNumber, setResidueNumber, size, toSDF, trimToSize
-
Field Details
-
type
this is a "nucleotide", a special occurance of a Hetatom.
-
-
Constructor Details
-
NucleotideImpl
public NucleotideImpl()
-
-
Method Details
-
getType
Description copied from class:HetatomImpl
- Specified by:
getType
in interfaceGroup
- Overrides:
getType
in classHetatomImpl
- Returns:
- a String representing the type value
-
toString
- Overrides:
toString
in classHetatomImpl
-
getO3Prime
Returns the O3' atom if present, otherwise null- Returns:
- O3' atom or null
-
getO5Prime
Returns the O5' atom if present, otherwise null- Returns:
- O5' atom or null
-
getP
Returns the P atom if present, otherwise null- Returns:
- P atom or null
-
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
-