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
Fields inherited from class org.biojava.nbio.structure.HetatomImpl
atoms, chemComp, pdb_flag, pdb_name, performanceBehavior, residueNumber
Fields inherited from interface org.biojava.nbio.structure.AminoAcid
ATOMRECORD, SEQRESRECORD
-
Constructor Summary
-
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()
void
Set the name of the AA, in single letter code .void
setPDBName
(String s) set three character name of AminoAcid.void
setRecordType
(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, 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, 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:
getType
in interfaceGroup
- Overrides:
getType
in 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:
getAminoType
in 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:
setAminoType
in 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:
setRecordType
in 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:
getRecordType
in interfaceAminoAcid
- Returns:
- the origin of this amino acid (ATOM or SEQRES records)
- See Also:
-
toString
string representation.- Overrides:
toString
in classHetatomImpl
-
setPDBName
set three character name of AminoAcid.- Specified by:
setPDBName
in interfaceGroup
- Overrides:
setPDBName
in classHetatomImpl
- Parameters:
s
- a String specifying the PDBName value- See Also:
-
clone
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
-