public class PDBMonomer extends Monomer implements Cloneable, IPDBMonomer
PDBAtom
,
Serialized FormatomCount, atoms, bondCount, bonds, growArraySize, lonePairCount, lonePairs, singleElectronCount, singleElectrons, stereoElements
Constructor and Description |
---|
PDBMonomer() |
Modifier and Type | Method and Description |
---|---|
IPDBMonomer |
clone()
Clones this
IChemObject . |
String |
getChainID()
Gets the Chain ID of this monomer.
|
String |
getICode()
Gets the ICode of this monomer.
|
String |
getResSeq()
Gets the sequence identifier of this monomer.
|
void |
setChainID(String newChainID)
Sets the Chain ID of this monomer.
|
void |
setICode(String newICode)
Sets the ICode of this monomer.
|
void |
setResSeq(String resSeq)
Sets the sequence identifier of this monomer.
|
String |
toString()
Returns a one line string representation of this Atom.
|
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 void setICode(String newICode)
IPDBMonomer
setICode
in interface IPDBMonomer
newICode
- the I code of this monomerpublic String getICode()
IPDBMonomer
getICode
in interface IPDBMonomer
public void setChainID(String newChainID)
IPDBMonomer
setChainID
in interface IPDBMonomer
newChainID
- the Chain ID of this monomerpublic String getChainID()
IPDBMonomer
getChainID
in interface IPDBMonomer
public String toString()
toString
in interface IChemObject
toString
in class Monomer
public String getResSeq()
IPDBMonomer
getResSeq
in interface IPDBMonomer
public IPDBMonomer 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 IAtomContainer
clone
in interface IChemObject
clone
in interface IMonomer
clone
in interface IPDBMonomer
clone
in class Monomer
CloneNotSupportedException
- if the IChemObject cannot be clonedpublic void setResSeq(String resSeq)
IPDBMonomer
setResSeq
in interface IPDBMonomer
resSeq
- the new sequence identifier of this monomerCopyright © 2018. All Rights Reserved.