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
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
FieldsModifier and TypeFieldDescriptionstatic final GroupTypethis 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 -
Method Summary
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
-
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:
getTypein interfaceGroup- Overrides:
getTypein classHetatomImpl- Returns:
- a String representing the type value
-
toString
- Overrides:
toStringin 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:HetatomImplreturns and identical copy of this Group object .- Specified by:
clonein interfaceGroup- Overrides:
clonein classHetatomImpl- Returns:
- and identical copy of this Group object
-