test_class.file: base/data/src/test/java/org/openscience/cdk/ChemModelTest.java
test_class.identifier: ChemModelTest
test_class.superclass: extends AbstractChemModelTest
test_case.body: @Test
      public void testChemModel() {
          IChemModel chemModel = new ChemModel();
          Assert.assertNotNull(chemModel);
          Assert.assertTrue(chemModel.isEmpty());
  
          IAtom atom = new Atom("N");
          IAtomContainer mol = new AtomContainer();
          IAtomContainerSet mset = new AtomContainerSet();
          mol.addAtom(atom);
          mset.addAtomContainer(mol);
          chemModel.setMoleculeSet(mset);
          Assert.assertFalse(chemModel.isEmpty());
          mol.removeAtomOnly(atom);
          Assert.assertFalse(chemModel.isEmpty());
          chemModel.setMoleculeSet(null);
          Assert.assertTrue(chemModel.isEmpty());
  
          IChemModel model1 = new ChemModel();
          mol.addAtom(atom);
          IReaction react = new Reaction();
          react.addReactant(mol);
          IReactionSet rset = new ReactionSet();
          rset.addReaction(react);
          model1.setReactionSet(rset);
          Assert.assertFalse(model1.isEmpty());
          mol.removeAtomOnly(atom);
          Assert.assertFalse(model1.isEmpty());
          model1.setReactionSet(null);
          Assert.assertTrue(model1.isEmpty());
  
          IChemModel model2 = new ChemModel();
          mol.addAtom(atom);
          IRingSet ringset = new RingSet();
          ringset.add(mset);
          model2.setRingSet(ringset);
          Assert.assertFalse(model2.isEmpty());
          mol.removeAtomOnly(atom);
          Assert.assertFalse(model2.isEmpty());
          model2.setRingSet(null);
          Assert.assertTrue(model2.isEmpty());
  
          IChemModel model3 = new ChemModel();
          mol.addAtom(atom);
          ICrystal cry = new Crystal(mol);
          model3.setCrystal(cry);
          Assert.assertFalse(model3.isEmpty());
          mol.removeAtomOnly(atom);
          Assert.assertFalse(model3.isEmpty());
          model3.setCrystal(null);
          Assert.assertTrue(model3.isEmpty());
      }
test_case.class_method_signature: ChemModelTest.testChemModel()
test_case.full_signature: @Test public void testChemModel()
test_case.identifier: testChemModel
test_case.invocations: assertNotNull assertTrue isEmpty addAtom addAtomContainer setMoleculeSet assertFalse isEmpty removeAtomOnly assertFalse isEmpty setMoleculeSet assertTrue isEmpty addAtom addReactant addReaction setReactionSet assertFalse isEmpty removeAtomOnly assertFalse isEmpty setReactionSet assertTrue isEmpty addAtom add setRingSet assertFalse isEmpty removeAtomOnly assertFalse isEmpty setRingSet assertTrue isEmpty addAtom setCrystal assertFalse isEmpty removeAtomOnly assertFalse isEmpty setCrystal assertTrue isEmpty
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testChemModel()
focal_class.declarator: serialVersionUID = -5213425310451366185L
focal_class.modifier: private static final
focal_class.original_string: private static final long   serialVersionUID = -5213425310451366185L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: setOfMolecules   = null
focal_class.modifier: protected
focal_class.original_string: protected IAtomContainerSet setOfMolecules   = null;
focal_class.type: IAtomContainerSet
focal_class.var_name: setOfMolecules
focal_class.declarator: setOfReactions   = null
focal_class.modifier: protected
focal_class.original_string: protected IReactionSet      setOfReactions   = null;
focal_class.type: IReactionSet
focal_class.var_name: setOfReactions
focal_class.declarator: ringSet          = null
focal_class.modifier: protected
focal_class.original_string: protected IRingSet          ringSet          = null;
focal_class.type: IRingSet
focal_class.var_name: ringSet
focal_class.declarator: crystal          = null
focal_class.modifier: protected
focal_class.original_string: protected ICrystal          crystal          = null;
focal_class.type: ICrystal
focal_class.var_name: crystal
focal_class.file: base/data/src/main/java/org/openscience/cdk/ChemModel.java
focal_class.identifier: ChemModel
focal_class.interfaces: implements Serializable, IChemModel, IChemObjectListener, Cloneable
focal_class.class_method_signature: ChemModel.ChemModel()
focal_class.full_signature: public  ChemModel()
focal_class.identifier: ChemModel
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ChemModel()
focal_class.class_method_signature: ChemModel.getMoleculeSet()
focal_class.full_signature: @Override public IAtomContainerSet getMoleculeSet()
focal_class.identifier: getMoleculeSet
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: IAtomContainerSet
focal_class.signature: IAtomContainerSet getMoleculeSet()
focal_class.class_method_signature: ChemModel.setMoleculeSet(IAtomContainerSet setOfMolecules)
focal_class.full_signature: @Override public void setMoleculeSet(IAtomContainerSet setOfMolecules)
focal_class.identifier: setMoleculeSet
focal_class.modifiers: @Override public
focal_class.parameters: (IAtomContainerSet setOfMolecules)
focal_class.return: void
focal_class.signature: void setMoleculeSet(IAtomContainerSet setOfMolecules)
focal_class.class_method_signature: ChemModel.getRingSet()
focal_class.full_signature: @Override public IRingSet getRingSet()
focal_class.identifier: getRingSet
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: IRingSet
focal_class.signature: IRingSet getRingSet()
focal_class.class_method_signature: ChemModel.setRingSet(IRingSet ringSet)
focal_class.full_signature: @Override public void setRingSet(IRingSet ringSet)
focal_class.identifier: setRingSet
focal_class.modifiers: @Override public
focal_class.parameters: (IRingSet ringSet)
focal_class.return: void
focal_class.signature: void setRingSet(IRingSet ringSet)
focal_class.class_method_signature: ChemModel.getCrystal()
focal_class.full_signature: @Override public ICrystal getCrystal()
focal_class.identifier: getCrystal
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ICrystal
focal_class.signature: ICrystal getCrystal()
focal_class.class_method_signature: ChemModel.setCrystal(ICrystal crystal)
focal_class.full_signature: @Override public void setCrystal(ICrystal crystal)
focal_class.identifier: setCrystal
focal_class.modifiers: @Override public
focal_class.parameters: (ICrystal crystal)
focal_class.return: void
focal_class.signature: void setCrystal(ICrystal crystal)
focal_class.class_method_signature: ChemModel.getReactionSet()
focal_class.full_signature: @Override public IReactionSet getReactionSet()
focal_class.identifier: getReactionSet
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: IReactionSet
focal_class.signature: IReactionSet getReactionSet()
focal_class.class_method_signature: ChemModel.setReactionSet(IReactionSet sor)
focal_class.full_signature: @Override public void setReactionSet(IReactionSet sor)
focal_class.identifier: setReactionSet
focal_class.modifiers: @Override public
focal_class.parameters: (IReactionSet sor)
focal_class.return: void
focal_class.signature: void setReactionSet(IReactionSet sor)
focal_class.class_method_signature: ChemModel.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: ChemModel.clone()
focal_class.full_signature: @Override public Object clone()
focal_class.identifier: clone
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object clone()
focal_class.class_method_signature: ChemModel.stateChanged(IChemObjectChangeEvent event)
focal_class.full_signature: @Override public void stateChanged(IChemObjectChangeEvent event)
focal_class.identifier: stateChanged
focal_class.modifiers: @Override public
focal_class.parameters: (IChemObjectChangeEvent event)
focal_class.return: void
focal_class.signature: void stateChanged(IChemObjectChangeEvent event)
focal_class.class_method_signature: ChemModel.isEmpty()
focal_class.full_signature: @Override public boolean isEmpty()
focal_class.identifier: isEmpty
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEmpty()
focal_class.superclass: extends ChemObject
focal_method.body: public ChemModel() {}
focal_method.class_method_signature: ChemModel.ChemModel()
focal_method.full_signature: public  ChemModel()
focal_method.identifier: ChemModel
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.signature:  ChemModel()