Package org.biojava.nbio.structure
Class AminoAcidImpl
java.lang.Object
org.biojava.nbio.structure.HetatomImpl
org.biojava.nbio.structure.AminoAcidImpl
- All Implemented Interfaces:
 Serializable,AminoAcid,Group
AminoAcid inherits most from Hetatom.  Adds a few AminoAcid
 specific methods.
- Since:
 - 1.4
 - Version:
 - %I% %G%
 - Author:
 - Andreas Prlic, Jules Jacobsen
 - See Also:
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class org.biojava.nbio.structure.HetatomImpl
HetatomImpl.PerformanceBehavior - 
Field Summary
FieldsFields inherited from class org.biojava.nbio.structure.HetatomImpl
atoms, chemComp, pdb_flag, pdb_name, performanceBehavior, residueNumberFields inherited from interface org.biojava.nbio.structure.AminoAcid
ATOMRECORD, SEQRESRECORD - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionclone()returns and identical copy of this Group object .Returns the name of the AA, in single letter code.getC()Get C atom.getCA()Get CA atom.getCB()Get CB atom.getN()Get N atom.getO()Get O atom.Allows to distinguish between amino acids that are provided as ATOM records and a SEQRES records.getType()voidSet the name of the AA, in single letter code .voidsetPDBName(String s) set three character name of AminoAcid.voidsetRecordType(String recordName) Allows to distinguish between amino acids that are provided as ATOM records and a SEQRES records.toString()string representation.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, setProperties, setProperty, setResidueNumber, setResidueNumber, size, toSDF, trimToSizeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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, setProperties, setProperty, setResidueNumber, setResidueNumber, size, toSDF, trimToSize 
- 
Field Details
- 
type
this is an Amino acid. type is "amino". 
 - 
 - 
Constructor Details
- 
AminoAcidImpl
public AminoAcidImpl()inherits most from Hetero and has just a few extensions. 
 - 
 - 
Method Details
- 
getType
Description copied from class:HetatomImpl- Specified by:
 getTypein interfaceGroup- Overrides:
 getTypein classHetatomImpl- Returns:
 - a String representing the type value
 
 - 
getN
Get N atom. - 
getCA
Get CA atom. - 
getC
Get C atom. - 
getO
Get O atom. - 
getCB
Get CB atom. - 
getAminoType
Returns the name of the AA, in single letter code.- Specified by:
 getAminoTypein interfaceAminoAcid- Returns:
 - a Character object representing the amino type value
 - See Also:
 
 - 
setAminoType
Set the name of the AA, in single letter code .- Specified by:
 setAminoTypein interfaceAminoAcid- Parameters:
 aa- a Character object specifying the amino type value- See Also:
 
 - 
setRecordType
Allows to distinguish between amino acids that are provided as ATOM records and a SEQRES records.- Specified by:
 setRecordTypein interfaceAminoAcid- Parameters:
 recordName- either ATOMRECORD or SEQRESRECORD- See Also:
 
 - 
getRecordType
Allows to distinguish between amino acids that are provided as ATOM records and a SEQRES records.- Specified by:
 getRecordTypein interfaceAminoAcid- Returns:
 - the origin of this amino acid (ATOM or SEQRES records)
 - See Also:
 
 - 
toString
string representation.- Overrides:
 toStringin classHetatomImpl
 - 
setPDBName
set three character name of AminoAcid.- Specified by:
 setPDBNamein interfaceGroup- Overrides:
 setPDBNamein classHetatomImpl- Parameters:
 s- a String specifying the PDBName value- See Also:
 
 - 
clone
returns and identical copy of this Group object .- Specified by:
 clonein interfaceGroup- Overrides:
 clonein classHetatomImpl- Returns:
 - and identical copy of this Group object
 
 
 -