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, propertyChangeSupport
PROPERTY_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, toString
public 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)
AbstractStructureChecker
check1
in class AbstractStructureChecker
molecule
- 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 AbstractStructureChecker
public int hashCode()
hashCode
in class AbstractStructureChecker
public int getType()
public void setType(int type)
type
- is the type of the aromatizationpublic String getAromType()