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) |
IPDBPolymer |
clone()
Clones this
IChemObject. |
Collection<String> |
getMonomerNamesInSequentialOrder()
Returns the monomer names in the order in which they were added.
|
Collection<IPDBStructure> |
getStructures() |
String |
toString() |
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, 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, 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, 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, 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)
addStructure in interface IPDBPolymerpublic Collection<IPDBStructure> getStructures()
getStructures 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 topublic Collection<String> getMonomerNamesInSequentialOrder()
IPolymer.getMonomerNames()public IPDBPolymer clone() throws CloneNotSupportedException
IChemObject. It clones the identifier, flags,
properties and pointer vectors. The ChemObjectListeners are not cloned, and
neither is the content of the pointer vectors.clone in interface IAtomContainerclone in interface IBioPolymerclone in interface IChemObjectclone in interface IPDBPolymerclone in interface IPolymerclone in class BioPolymerCloneNotSupportedExceptionpublic String toString()
AtomContainertoString in interface IChemObjecttoString in class BioPolymerCopyright © 2017. All rights reserved.