test_class.file: base/silent/src/test/java/org/openscience/cdk/silent/ChemModelTest.java
test_class.identifier: ChemModelTest
test_class.superclass: extends AbstractChemModelTest
test_case.body: @Override
      @Test
      public void testStateChanged_ButNotAfterRemoval_AtomContainerSet() {
          ChemObjectListener listener = new ChemObjectListener();
          IChemModel chemObject = (IChemModel) newChemObject();
          chemObject.addListener(listener);
  
          IAtomContainerSet molSet = chemObject.getBuilder().newInstance(IAtomContainerSet.class);
          chemObject.setMoleculeSet(molSet);
          Assert.assertFalse(listener.getChanged());
          // remove the set from the IChemModel
          chemObject.setMoleculeSet(null);
          // reset the listener
          listener.reset();
          Assert.assertFalse(listener.getChanged());
          // changing the set must *not* trigger a change event in the IChemModel
          molSet.addAtomContainer(chemObject.getBuilder().newInstance(IAtomContainer.class));
          Assert.assertFalse(listener.getChanged());
      }
test_case.class_method_signature: ChemModelTest.testStateChanged_ButNotAfterRemoval_AtomContainerSet()
test_case.full_signature: @Override @Test public void testStateChanged_ButNotAfterRemoval_AtomContainerSet()
test_case.identifier: testStateChanged_ButNotAfterRemoval_AtomContainerSet
test_case.invocations: newChemObject addListener newInstance getBuilder setMoleculeSet assertFalse getChanged setMoleculeSet reset assertFalse getChanged addAtomContainer newInstance getBuilder assertFalse getChanged
test_case.modifiers: @Override @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testStateChanged_ButNotAfterRemoval_AtomContainerSet()
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/silent/src/main/java/org/openscience/cdk/silent/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: @Override
      public void setMoleculeSet(IAtomContainerSet setOfMolecules) {
          this.setOfMolecules = setOfMolecules;
      }
focal_method.class_method_signature: ChemModel.setMoleculeSet(IAtomContainerSet setOfMolecules)
focal_method.full_signature: @Override public void setMoleculeSet(IAtomContainerSet setOfMolecules)
focal_method.identifier: setMoleculeSet
focal_method.modifiers: @Override public
focal_method.parameters: (IAtomContainerSet setOfMolecules)
focal_method.return: void
focal_method.signature: void setMoleculeSet(IAtomContainerSet setOfMolecules)