public class AminoAcid extends Monomer implements IAminoAcid, Serializable, Cloneable
atomCount, atoms, bondCount, bonds, growArraySize, lonePairCount, lonePairs, singleElectronCount, singleElectrons, stereoElements
Constructor and Description |
---|
AminoAcid()
Constructs a new AminoAcid.
|
Modifier and Type | Method and Description |
---|---|
void |
addCTerminus(IAtom atom)
Add an Atom and makes it the C-terminus atom.
|
void |
addNTerminus(IAtom atom)
Add an Atom and makes it the N-terminus atom.
|
IAminoAcid |
clone()
Clones this AminoAcid object.
|
IAtom |
getCTerminus()
Retrieves the C-terminus atom.
|
IAtom |
getNTerminus()
Retrieves the N-terminus atom.
|
String |
toString()
Returns a one line description of this IChemObject.
|
getMonomerName, getMonomerType, setMonomerName, setMonomerType
add, addAtom, addBond, addBond, addBond, addElectronContainer, addLonePair, addLonePair, addSingleElectron, addSingleElectron, addStereoElement, atoms, bonds, contains, contains, contains, contains, contains, electronContainers, getAtom, getAtomCount, getAtomNumber, getBond, getBond, getBondCount, getBondNumber, getBondNumber, getBondOrderSum, getConnectedAtomsCount, getConnectedAtomsList, getConnectedBondsCount, getConnectedBondsCount, getConnectedBondsList, getConnectedElectronContainersList, getConnectedLonePairsCount, getConnectedLonePairsList, getConnectedSingleElectronsCount, getConnectedSingleElectronsList, getElectronContainer, getElectronContainerCount, getFirstAtom, getLastAtom, getLonePair, getLonePairCount, getLonePairNumber, getMaximumBondOrder, getMinimumBondOrder, getSingleElectron, getSingleElectronCount, getSingleElectronNumber, getTitle, indexOf, indexOf, indexOf, indexOf, isEmpty, lonePairs, remove, removeAllBonds, removeAllElectronContainers, removeAllElements, removeAtom, removeAtom, removeAtomAndConnectedElectronContainers, removeAtomOnly, removeAtomOnly, removeBond, removeBond, removeBond, removeElectronContainer, removeElectronContainer, removeLonePair, removeLonePair, removeSingleElectron, removeSingleElectron, setAtom, setAtoms, setBonds, setStereoElements, setTitle, singleElectrons, stateChanged, stereoElements
addListener, addProperties, compare, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopy
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMonomerName, getMonomerType, setMonomerName, setMonomerType
add, addAtom, addBond, addBond, addBond, addElectronContainer, addLonePair, addLonePair, addSingleElectron, addSingleElectron, addStereoElement, atoms, bonds, contains, contains, contains, contains, contains, electronContainers, getAtom, getAtomCount, getAtomNumber, getBond, getBond, getBondCount, getBondNumber, getBondNumber, getBondOrderSum, getConnectedAtomsCount, getConnectedAtomsList, getConnectedBondsCount, getConnectedBondsCount, getConnectedBondsList, getConnectedElectronContainersList, getConnectedLonePairsCount, getConnectedLonePairsList, getConnectedSingleElectronsCount, getConnectedSingleElectronsList, getElectronContainer, getElectronContainerCount, getFirstAtom, getLastAtom, getLonePair, getLonePairCount, getLonePairNumber, getMaximumBondOrder, getMinimumBondOrder, getSingleElectron, getSingleElectronCount, getSingleElectronNumber, getTitle, indexOf, indexOf, indexOf, indexOf, isEmpty, lonePairs, remove, removeAllBonds, removeAllElectronContainers, removeAllElements, removeAtom, removeAtom, removeAtomAndConnectedElectronContainers, removeAtomOnly, removeAtomOnly, removeBond, removeBond, removeBond, removeElectronContainer, removeElectronContainer, removeLonePair, removeLonePair, removeSingleElectron, removeSingleElectron, setAtom, setAtoms, setBonds, setStereoElements, setTitle, singleElectrons, stereoElements
addListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty
getBuilder
stateChanged
public IAtom getNTerminus()
getNTerminus
in interface IAminoAcid
addNTerminus(IAtom)
public void addNTerminus(IAtom atom)
addNTerminus
in interface IAminoAcid
atom
- The Atom that is the N-terminusgetNTerminus()
public IAtom getCTerminus()
getCTerminus
in interface IAminoAcid
addCTerminus(IAtom)
public void addCTerminus(IAtom atom)
addCTerminus
in interface IAminoAcid
atom
- The Atom that is the C-terminusgetCTerminus()
public IAminoAcid clone() throws CloneNotSupportedException
clone
in interface IAminoAcid
clone
in interface IAtomContainer
clone
in interface IChemObject
clone
in interface IMonomer
clone
in class Monomer
CloneNotSupportedException
- if the IChemObject cannot be clonedpublic String toString()
AtomContainer
toString
in interface IChemObject
toString
in class Monomer
Copyright © 2021. All rights reserved.