public class AminoAcidImpl extends HetatomImpl implements AminoAcid, Serializable
HetatomImpl.PerformanceBehavior
Modifier and Type | Field and Description |
---|---|
static GroupType |
type
this is an Amino acid.
|
atoms, pdb_flag, pdb_name, performanceBehavior, residueNumber
ATOMRECORD, SEQRESRECORD
Constructor and Description |
---|
AminoAcidImpl()
inherits most from Hetero and has just a few extensions.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
returns and identical copy of this Group object .
|
Character |
getAminoType()
Returns the name of the AA, in single letter code.
|
Atom |
getC()
Get C atom.
|
Atom |
getCA()
Get CA atom.
|
Atom |
getCB()
Get CB atom.
|
Atom |
getN()
Get N atom.
|
Atom |
getO()
Get O atom.
|
String |
getRecordType()
Allows to distinguish between amino acids that are provided
as ATOM records and a SEQRES records.
|
GroupType |
getType()
|
void |
setAminoType(Character aa)
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.
|
String |
toString()
string representation.
|
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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
public static final GroupType type
public AminoAcidImpl()
public GroupType getType()
HetatomImpl
getType
in interface Group
getType
in class HetatomImpl
public Atom getN()
public Atom getCA()
public Atom getC()
public Atom getO()
public Atom getCB()
public Character getAminoType()
getAminoType
in interface AminoAcid
AminoAcid.setAminoType(java.lang.Character)
public void setAminoType(Character aa)
setAminoType
in interface AminoAcid
aa
- a Character object specifying the amino type valueAminoAcid.getAminoType()
public void setRecordType(String recordName)
setRecordType
in interface AminoAcid
recordName
- either ATOMRECORD or SEQRESRECORDAminoAcid.getRecordType()
public String getRecordType()
getRecordType
in interface AminoAcid
AminoAcid.setRecordType(String)
public String toString()
toString
in class HetatomImpl
public void setPDBName(String s)
setPDBName
in interface Group
setPDBName
in class HetatomImpl
s
- a String specifying the PDBName valueHetatomImpl.getPDBName()
public Object clone()
clone
in interface Group
clone
in class HetatomImpl
Copyright © 2000–2016 BioJava. All rights reserved.