public interface IStrand extends IAtomContainer
| 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)
Adds the atom oAtom to a specific Monomer.
|
IStrand |
clone()
Returns a deep clone of this IChemObject.
|
IMonomer |
getMonomer(String cName)
Retrieve a Monomer object by specifying its name.
|
int |
getMonomerCount()
Return the number of monomers present in the Strand.
|
Collection<String> |
getMonomerNames()
Returns a collection of the names of all
Monomers in this
polymer. |
Map<String,IMonomer> |
getMonomers()
Returns the monomers in this strand.
|
String |
getStrandName()
Retrieve the strand name.
|
String |
getStrandType()
Retrieve the strand type.
|
void |
removeMonomer(String name)
Removes a particular monomer, specified by its name.
|
void |
setStrandName(String cStrandName)
Set the name of the Strand object.
|
void |
setStrandType(String cStrandType)
Set the type of the Strand object.
|
add, 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, toStringgetBuilderstateChangedString getStrandName()
setStrandName(String)String getStrandType()
setStrandType(String)void setStrandName(String cStrandName)
cStrandName - The new name for this strandgetStrandName()void setStrandType(String cStrandType)
cStrandType - The new type for this strandgetStrandType()void addAtom(IAtom oAtom)
addAtom in interface IAtomContaineroAtom - The atom to addvoid addAtom(IAtom oAtom, IMonomer oMonomer)
oAtom - The atom to addoMonomer - The monomer the atom belongs toint getMonomerCount()
IMonomer getMonomer(String cName)
cName - The name of the monomer to look forCollection<String> getMonomerNames()
Monomers in this
polymer.Collection of all the monomer names.void removeMonomer(String name)
name - The name of the monomer to removeMap<String,IMonomer> getMonomers()
IStrand clone() throws CloneNotSupportedException
clone in interface IAtomContainerclone in interface IChemObjectCloneNotSupportedException - if the IChemObject cannot be clonedCopyright © 2017. All rights reserved.