public abstract class AbstractMolecule extends Object implements IChemObjectBase
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractMolecule.Flag |
| Modifier and Type | Field and Description |
|---|---|
protected List<IAtomBase> |
atoms |
protected AttachmentList |
attachments |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMolecule() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addIBase(IChemObjectBase object) |
abstract void |
changeAtomLabel(int index,
int toIndex) |
void |
clearFlags() |
abstract AbstractMolecule |
cloneMolecule() |
abstract void |
dearomatize() |
abstract void |
generateCoordinates(int dem) |
AttachmentList |
getAttachments() |
List<IAtomBase> |
getIAtomArray() |
abstract List<IBondBase> |
getIBondArray() |
static int |
getIdFromLabel(String label) |
abstract Object |
getMolecule() |
IAtomBase |
getRGroupAtom(int groupId,
boolean rgatom) |
Map<String,IAtomBase> |
getRgroups() |
abstract boolean |
isSingleStereo(IAtomBase atom)
check a given atom connections
|
void |
removeAttachment(IAtomBase toRemove)
removes a given attachment from molecule
|
abstract void |
removeIBase(IChemObjectBase object) |
abstract void |
removeINode(IAtomBase node) |
void |
setAttachments(AttachmentList attachments) |
protected AttachmentList attachments
public AttachmentList getAttachments()
public void setAttachments(AttachmentList attachments)
public Map<String,IAtomBase> getRgroups() throws CTKException
CTKExceptionpublic static int getIdFromLabel(String label)
public IAtomBase getRGroupAtom(int groupId, boolean rgatom) throws CTKException
CTKExceptionpublic void clearFlags()
public abstract Object getMolecule()
public abstract void dearomatize()
throws CTKException
CTKExceptionpublic abstract void generateCoordinates(int dem)
throws CTKException
CTKExceptionpublic abstract void removeINode(IAtomBase node) throws CTKException
CTKExceptionpublic abstract void addIBase(IChemObjectBase object)
public abstract void removeIBase(IChemObjectBase object)
public abstract AbstractMolecule cloneMolecule() throws CTKException
CTKExceptionpublic abstract void changeAtomLabel(int index,
int toIndex)
throws CTKException
CTKExceptionpublic abstract boolean isSingleStereo(IAtomBase atom) throws CTKException
atom - to checkCTKExceptionpublic void removeAttachment(IAtomBase toRemove) throws CTKException
toRemove - a atom to be removedCTKExceptionCopyright © 2016. All rights reserved.