Package chemaxon.checkers
Class ReactionMapErrorChecker
java.lang.Object
chemaxon.checkers.AbstractStructureChecker
chemaxon.checkers.ReactionChecker
chemaxon.checkers.ReactionMapErrorChecker
- All Implemented Interfaces:
StructureChecker
,chemaxon.license.Licensable
,PropertyChangeListener
,Cloneable
,EventListener
A descendant of
Reaction components should contain at least two mapped atoms, otherwise they are considered incorrectly mapped.
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
-
Field Summary
Fields inherited from class chemaxon.checkers.AbstractStructureChecker
errorType, propertyChangeSupport
Fields inherited from interface chemaxon.checkers.StructureChecker
PROPERTY_KEY_VALID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isCorrect
(StructureCheckerResult result) This method determines if a component of the reaction correct or not.Methods inherited from class chemaxon.checkers.ReactionChecker
check1, createResult
Methods inherited from class chemaxon.checkers.AbstractStructureChecker
addPropertyChangeListener, addPropertyChangeListener, check, clone, cloneItem, convertResult, equals, expandMolecule, getDescription, getDescriptor, getEditorClassName, getErrorCode, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getName, hashCode, isAvailable, isLicensed, isValid, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setDescription, setHelpText, setIcon, setLicenseEnvironment, setLocalMenuName, setMoreErrorMessage, setName, setNoErrorMessage, setOneErrorMessage, toString
-
Constructor Details
-
ReactionMapErrorChecker
public ReactionMapErrorChecker()Default constructor
-
-
Method Details
-
isCorrect
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 classReactionChecker
- Parameters:
result
- is aStructureCheckerResult
returned by the checker logic- Returns:
- true if the reaction component is correct false otherwise
-