public class AromaticityErrorChecker extends AbstractStructureChecker
AbstractStructureChecker detecting aromatization problems.| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_KEY_AROM_TYPE
|
static String |
PROPERTY_KEY_TYPE
This public constant
String represents the name of the property which is
responsible for using the given aromatization type during the check mechanism. |
errorType, propertyChangeSupportPROPERTY_KEY_VALID| Constructor and Description |
|---|
AromaticityErrorChecker()
Default constructor.
|
AromaticityErrorChecker(Map<String,String> params)
Parameterized constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected StructureCheckerResult |
check1(Molecule molecule)
This method contains the current checking mechanism.
|
boolean |
equals(Object obj) |
String |
getAromType()
Returns the aromType
|
int |
getType()
Returns the type of the aromatization
|
int |
hashCode() |
void |
setType(int type) |
addPropertyChangeListener, addPropertyChangeListener, check, clone, cloneItem, convertResult, expandMolecule, getDescription, getDescriptor, getEditorClassName, getErrorCode, getErrorDescription, getErrorType, getHelpText, getIcon, getLocalMenuName, getName, isAvailable, isLicensed, isValid, propertyChange, removePropertyChangeListener, removePropertyChangeListener, setDescription, setHelpText, setIcon, setLicenseEnvironment, setLocalMenuName, setMoreErrorMessage, setName, setNoErrorMessage, setOneErrorMessage, toStringpublic static final String PROPERTY_KEY_TYPE
String represents the name of the property which is
responsible for using the given aromatization type during the check mechanism.public static final String PROPERTY_KEY_AROM_TYPE
String represents the name of the property which represents
the arom type String propertypublic AromaticityErrorChecker()
public AromaticityErrorChecker(Map<String,String> params)
params - a Map instance which contains String pairs. Key is the name of the
parameter.protected StructureCheckerResult check1(Molecule molecule)
AbstractStructureCheckercheck1 in class AbstractStructureCheckermolecule - the Molecule instance to be checked for problemsStructureCheckerResult which represents the problem or null
if no problem foundpublic boolean equals(Object obj)
equals in class AbstractStructureCheckerpublic int hashCode()
hashCode in class AbstractStructureCheckerpublic int getType()
public void setType(int type)
type - is the type of the aromatizationpublic String getAromType()