public abstract class IDCreator extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
OBJECT_UNIQUE_POLICY
New ID generation policy - to generate IDs unique only in a molecule
|
static int |
SET_UNIQUE_POLICY
Old ID generation policy - to generate IDs unique over the entire set
|
| Constructor and Description |
|---|
IDCreator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createIDs(IChemObject chemObject)
Labels the Atom's and Bond's in the AtomContainer using the a1, a2, b1, b2
scheme often used in CML.
|
static void |
setIDPolicy(int policy)
Alters the policy of ID generation.
|
public static final int SET_UNIQUE_POLICY
public static final int OBJECT_UNIQUE_POLICY
public static void setIDPolicy(int policy)
policy - new policy to be usedOBJECT_UNIQUE_POLICY,
SET_UNIQUE_POLICYpublic static void createIDs(IChemObject chemObject)
chemObject - IChemObject to create IDs for.Copyright © 2021. All rights reserved.