Class PDBMonomer
java.lang.Object
org.openscience.cdk.ChemObject
org.openscience.cdk.AtomContainer
org.openscience.cdk.Monomer
org.openscience.cdk.protein.data.PDBMonomer
- All Implemented Interfaces:
Serializable, Cloneable, IAtomContainer, ICDKObject, IChemObject, IChemObjectListener, IMonomer, IPDBMonomer
- Direct Known Subclasses:
DebugPDBMonomer
Represents the idea of an monomer as used in PDB files. It contains extra fields
normally associated with atoms in such files.
- See Also:
-
Field Summary
Fields inherited from interface IChemObject
ALIPHATIC, AROMATIC, CONJUGATED, HYDROGEN_BOND_ACCEPTOR, HYDROGEN_BOND_DONOR, IN_RING, MAPPED, MARKUSH, NOT_IN_RING, PLACED, REACTIVE_CENTER, SINGLE_OR_DOUBLE, TYPEABLE, VISITED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones thisIChemObject.Gets the Chain ID of this monomer.getICode()Gets the ICode of this monomer.Gets the sequence identifier of this monomer.voidsetChainID(String newChainID) Sets the Chain ID of this monomer.voidSets the ICode of this monomer.voidSets the sequence identifier of this monomer.toString()Returns a one line string representation of this Atom.Methods inherited from class Monomer
getMonomerName, getMonomerType, setMonomerName, setMonomerTypeMethods inherited from class AtomContainer
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, newAtom, newAtom, newBond, remove, removeAllBonds, removeAllElectronContainers, removeAllElements, removeAtom, removeAtom, removeAtomAndConnectedElectronContainers, removeAtomOnly, removeAtomOnly, removeBond, removeBond, removeBond, removeElectronContainer, removeElectronContainer, removeLonePair, removeLonePair, removeSingleElectron, removeSingleElectron, setAtom, setAtoms, setBonds, setStereoElements, setTitle, shallowCopy, singleElectrons, stateChanged, stereoElementsMethods inherited from class ChemObject
addListener, addProperties, clear, compare, flags, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setPropertyMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IAtomContainer
add, addAtom, addBond, 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, newAtom, newAtom, newAtom, newAtom, newBond, newBond, remove, removeAllBonds, removeAllElectronContainers, removeAllElements, removeAtom, removeAtom, removeAtomAndConnectedElectronContainers, removeAtomOnly, removeAtomOnly, removeBond, removeBond, removeBond, removeElectronContainer, removeElectronContainer, removeLonePair, removeLonePair, removeSingleElectron, removeSingleElectron, setAtom, setAtoms, setBonds, setStereoElements, setTitle, singleElectrons, stereoElementsMethods inherited from interface ICDKObject
getBuilderMethods inherited from interface IChemObject
addListener, addProperties, clear, flags, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, is, notifyChanged, notifyChanged, removeListener, removeProperty, set, setFlag, setFlags, setID, setNotification, setProperties, setPropertyMethods inherited from interface IChemObjectListener
stateChangedMethods inherited from interface IMonomer
getMonomerName, getMonomerType, setMonomerName, setMonomerType
-
Constructor Details
-
PDBMonomer
public PDBMonomer()
-
-
Method Details
-
setICode
Description copied from interface:IPDBMonomerSets the ICode of this monomer.- Specified by:
setICodein interfaceIPDBMonomer- Parameters:
newICode- the I code of this monomer
-
getICode
Description copied from interface:IPDBMonomerGets the ICode of this monomer.- Specified by:
getICodein interfaceIPDBMonomer- Returns:
- the ICode of this monomer
-
setChainID
Description copied from interface:IPDBMonomerSets the Chain ID of this monomer.- Specified by:
setChainIDin interfaceIPDBMonomer- Parameters:
newChainID- the Chain ID of this monomer
-
getChainID
Description copied from interface:IPDBMonomerGets the Chain ID of this monomer.- Specified by:
getChainIDin interfaceIPDBMonomer- Returns:
- the Chain ID of this monomer
-
toString
Returns a one line string representation of this Atom. Methods is conform RFC #9.- Specified by:
toStringin interfaceIChemObject- Overrides:
toStringin classMonomer- Returns:
- The string representation of this Atom
-
getResSeq
Description copied from interface:IPDBMonomerGets the sequence identifier of this monomer.- Specified by:
getResSeqin interfaceIPDBMonomer- Returns:
- the sequence identifier of this monomer
-
clone
Clones thisIChemObject. It clones the identifier, flags, properties and pointer vectors. The ChemObjectListeners are not cloned, and neither is the content of the pointer vectors.- Specified by:
clonein interfaceIAtomContainer- Specified by:
clonein interfaceIChemObject- Specified by:
clonein interfaceIMonomer- Specified by:
clonein interfaceIPDBMonomer- Overrides:
clonein classMonomer- Returns:
- The cloned object
- Throws:
CloneNotSupportedException- if the IChemObject cannot be cloned
-
setResSeq
Description copied from interface:IPDBMonomerSets the sequence identifier of this monomer.- Specified by:
setResSeqin interfaceIPDBMonomer- Parameters:
resSeq- the new sequence identifier of this monomer
-