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
public class AminoAcidImpl extends HetatomImpl implements AminoAcid
AminoAcid inherits most from Hetatom. Adds a few AminoAcid specific methods.- Since:
 - 1.4
 - Version:
 - %I% %G%
 - Author:
 - Andreas Prlic, Jules Jacobsen
 - See Also:
 - 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 an Amino acid. type is "amino".- 
Fields inherited from class org.biojava.nbio.structure.HetatomImpl
atoms, chemComp, pdb_flag, pdb_name, residueNumber 
- 
Fields inherited from interface org.biojava.nbio.structure.AminoAcid
ATOMRECORD, SEQRESRECORD 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AminoAcidImpl()inherits most from Hetero and has just a few extensions. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()returns and identical copy of this Group object .CharactergetAminoType()Returns the name of the AA, in single letter code.AtomgetC()Get C atom.AtomgetCA()Get CA atom.AtomgetCB()Get CB atom.AtomgetN()Get N atom.AtomgetO()Get O atom.StringgetRecordType()Allows to distinguish between amino acids that are provided as ATOM records and a SEQRES records.GroupTypegetType()voidsetAminoType(Character aa)Set 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.StringtoString()string representation.- 
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, 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, isAminoAcid, isHetAtomInFile, isNucleotide, isPolymeric, isWater, iterator, setAtoms, setChain, setChemComp, setHetAtomInFile, setPDBFlag, setProperties, setProperty, setResidueNumber, setResidueNumber, size, toSDF, trimToSize 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
AminoAcidImpl
public AminoAcidImpl()
inherits most from Hetero and has just a few extensions. 
 - 
 
- 
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
 
 
- 
getAminoType
public Character 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:
 AminoAcid.setAminoType(java.lang.Character)
 
- 
setAminoType
public void setAminoType(Character aa)
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:
 AminoAcid.getAminoType()
 
- 
setRecordType
public void setRecordType(String recordName)
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:
 AminoAcid.getRecordType()
 
- 
getRecordType
public String 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:
 AminoAcid.setRecordType(String)
 
- 
toString
public String toString()
string representation.- Overrides:
 toStringin classHetatomImpl
 
- 
setPDBName
public void setPDBName(String s)
set three character name of AminoAcid.- Specified by:
 setPDBNamein interfaceGroup- Overrides:
 setPDBNamein classHetatomImpl- Parameters:
 s- a String specifying the PDBName value- See Also:
 HetatomImpl.getPDBName()
 
 - 
 
 -