public interface IBioPolymer extends IPolymer
| Modifier and Type | Method and Description |
|---|---|
void |
addAtom(IAtom oAtom)
Adds the atom oAtom without specifying a Monomer or a Strand.
|
void |
addAtom(IAtom oAtom,
IMonomer oMonomer,
IStrand oStrand)
Adds the atom to a specified Strand and a specified Monomer.
|
void |
addAtom(IAtom oAtom,
IStrand oStrand)
Adds the atom oAtom to a specified Strand, whereas the Monomer is unspecified.
|
IBioPolymer |
clone()
Returns a deep clone of this IChemObject.
|
IMonomer |
getMonomer(String monName,
String strandName)
Retrieve a
Monomer object by specifying its name. |
int |
getMonomerCount()
Return the number of monomers present in BioPolymer.
|
Collection<String> |
getMonomerNames()
Returns a collection of the names of all
Monomers in this
BioPolymer. |
IStrand |
getStrand(String cName)
Retrieve a Monomer object by specifying its name.
|
int |
getStrandCount()
Return the number of strands present in the BioPolymer.
|
Collection<String> |
getStrandNames()
Returns a collection of the names of all
Strands in this
BioPolymer. |
Map<String,IStrand> |
getStrands()
Returns a Map containing the strands in the Polymer.
|
void |
removeStrand(String name)
Removes a particular strand, specified by its name.
|
addAtom, 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, setProperty, toStringgetBuilderstateChangedvoid addAtom(IAtom oAtom)
addAtom in interface IAtomContaineraddAtom in interface IPolymeroAtom - The atom to addvoid addAtom(IAtom oAtom, IStrand oStrand)
oAtom - The atom to addoStrand - The strand the atom belongs tovoid addAtom(IAtom oAtom, IMonomer oMonomer, IStrand oStrand)
oAtom - The atom to addoMonomer - The monomer the atom belongs tooStrand - The strand the atom belongs toint getMonomerCount()
getMonomerCount in interface IPolymerIMonomer getMonomer(String monName, String strandName)
Monomer object by specifying its name.
You have to specify the strand to enable monomers with the same name in different strands. There is at least one such case: every strand contains a monomer called "".
monName - The name of the monomer to look forstrandName - The name of the strand to look forCollection<String> getMonomerNames()
Monomers in this
BioPolymer.getMonomerNames in interface IPolymerCollection of all the monomer names.int getStrandCount()
IStrand getStrand(String cName)
cName - The name of the monomer to look forCollection<String> getStrandNames()
Strands in this
BioPolymer.Collection of all the strand names.void removeStrand(String name)
name - The name of the strand to removeMap<String,IStrand> getStrands()
IBioPolymer clone() throws CloneNotSupportedException
clone in interface IAtomContainerclone in interface IChemObjectclone in interface IPolymerCloneNotSupportedException - if the IChemObject cannot be clonedCopyright © 2022. All rights reserved.