Class ReactionMapErrorChecker

All Implemented Interfaces:
StructureChecker, chemaxon.license.Licensable, PropertyChangeListener, Cloneable, EventListener

@PublicAPI public class ReactionMapErrorChecker extends ReactionChecker
A descendant of ReactionChecker detecting reactions with invalid mapping.

Reaction components should contain at least two mapped atoms, otherwise they are considered incorrectly mapped.
Since:
Marvin 5.3
  • Constructor Details

    • ReactionMapErrorChecker

      public ReactionMapErrorChecker()
      Default constructor
  • Method Details

    • isCorrect

      protected boolean isCorrect(StructureCheckerResult result)
      Description copied from class: ReactionChecker
      This method determines if a component of the reaction correct or not. Override it in descendants to define the criteria which should be fulfilled by the components.
      Specified by:
      isCorrect in class ReactionChecker
      Parameters:
      result - is a StructureCheckerResult returned by the checker logic
      Returns:
      true if the reaction component is correct false otherwise