public class PDBPolymer extends BioPolymer implements Cloneable, IPDBPolymer
atomCount, atoms, bondCount, bonds, growArraySize, lonePairCount, lonePairs, singleElectronCount, singleElectrons, stereoElements| Constructor and Description |
|---|
PDBPolymer()
Constructs a new Polymer to store the
IMonomers. |
| Modifier and Type | Method and Description |
|---|---|
void |
addAtom(IPDBAtom oAtom)
Adds the atom oAtom without specifying a
IMonomer or a Strand. |
void |
addAtom(IPDBAtom oAtom,
IMonomer oMonomer)
Adds the atom oAtom to a specified Monomer.
|
void |
addAtom(IPDBAtom oAtom,
IMonomer oMonomer,
IStrand oStrand)
Adds the IPDBAtom oAtom to a specified Monomer of a specified Strand.
|
void |
addStructure(IPDBStructure structure)
Adds the PDBStructure structure a this PDBPolymer.
|
IPDBPolymer |
clone()
Clones this AtomContainer object and its content.
|
Collection<String> |
getMonomerNamesInSequentialOrder()
Returns the monomer names in the order in which they were added.
|
Collection<IPDBStructure> |
getStructures()
Returns a Collection containing the PDBStructure in the PDBPolymer.
|
String |
toString()
Returns a one line string representation of this Container.
|
addAtom, addAtom, getMonomer, getMonomerCount, getMonomerNames, getStrand, getStrandCount, getStrandNames, getStrands, removeStrandaddAtom, getMonomer, removeMonomeradd, 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, indexOf, indexOf, indexOf, indexOf, isEmpty, lonePairs, remove, removeAllBonds, removeAllElectronContainers, removeAllElements, removeAtom, removeAtom, removeAtomAndConnectedElectronContainers, removeBond, removeBond, removeBond, removeElectronContainer, removeElectronContainer, removeLonePair, removeLonePair, removeSingleElectron, removeSingleElectron, setAtom, setAtoms, setBonds, setStereoElements, singleElectrons, stateChanged, stereoElementsaddListener, addProperties, compare, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAtom, addAtom, addAtom, getMonomer, getMonomerCount, getMonomerNames, getStrand, getStrandCount, getStrandNames, getStrands, removeStrandaddAtom, getMonomer, removeMonomeradd, 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, indexOf, indexOf, indexOf, indexOf, isEmpty, lonePairs, remove, removeAllBonds, removeAllElectronContainers, removeAllElements, removeAtom, removeAtom, removeAtomAndConnectedElectronContainers, removeBond, removeBond, removeBond, removeElectronContainer, removeElectronContainer, removeLonePair, removeLonePair, removeSingleElectron, removeSingleElectron, setAtom, setAtoms, setBonds, setStereoElements, singleElectrons, stereoElementsaddListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setPropertygetBuilderstateChangedpublic PDBPolymer()
IMonomers.public void addStructure(IPDBStructure structure)
IPDBPolymeraddStructure in interface IPDBPolymerstructure - The PDBStructure to addpublic Collection<IPDBStructure> getStructures()
IPDBPolymergetStructures in interface IPDBPolymerpublic void addAtom(IPDBAtom oAtom)
IMonomer or a Strand. Therefore the
atom to this AtomContainer, but not to a certain Strand or IMonomer (intended
e.g. for HETATMs).addAtom in interface IPDBPolymeroAtom - The IPDBAtom to addpublic void addAtom(IPDBAtom oAtom, IMonomer oMonomer)
oAtom - The IPDBAtom to addoMonomer - The monomer the atom belongs topublic void addAtom(IPDBAtom oAtom, IMonomer oMonomer, IStrand oStrand)
addAtom in interface IPDBPolymeroAtom - The IPDBAtom to addoMonomer - The monomer the atom belongs tooStrand - The strand the atom belongs topublic Collection<String> getMonomerNamesInSequentialOrder()
IPolymer.getMonomerNames()public IPDBPolymer clone() throws CloneNotSupportedException
clone in interface IAtomContainerclone in interface IBioPolymerclone in interface IChemObjectclone in interface IPDBPolymerclone in interface IPolymerclone in class BioPolymerCloneNotSupportedException - if the IChemObject cannot be clonedChemObject.shallowCopy()public String toString()
AtomContainertoString in interface IChemObjecttoString in class BioPolymerCopyright © 2017. All Rights Reserved.