@TestClass(value="org.openscience.cdk.tools.manipulator.AtomTypeManipulatorTest") public class AtomTypeManipulator extends Object
AtomType
class.
- changed 21/7/05 by cho: add properties for mmff94 atom typeConstructor and Description |
---|
AtomTypeManipulator() |
Modifier and Type | Method and Description |
---|---|
static void |
configure(IAtom atom,
IAtomType atomType)
Method that assign properties to an atom given a particular atomType.
|
static void |
configureUnsetProperties(IAtom atom,
IAtomType atomType)
Method that assign properties to an atom given a particular atomType.
|
@TestMethod(value="testConfigure_IAtom_IAtomType") public static void configure(IAtom atom, IAtomType atomType)
IllegalArgumentException
is thrown if the given IAtomType
is null. This method overwrites non-null values.atom
- Atom to configureatomType
- AtomType. Must not be null.@TestMethod(value="testConfigureUnsetProperties_DontOverwriterSetProperties,testConfigureUnsetProperties") public static void configureUnsetProperties(IAtom atom, IAtomType atomType)
IllegalArgumentException
is thrown if the given IAtomType
is null. This method only sets null values.atom
- Atom to configureatomType
- AtomType. Must not be null.