toxTree.tree.rules
Class RuleInitAlertCounter
java.lang.Object
java.util.Observable
toxTree.tree.AbstractRule
toxTree.tree.rules.RuleVerifyProperty
toxTree.tree.rules.RuleInitAlertCounter
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, IDecisionInteractive, IDecisionRule, IImplementationDetails, XMLSerializable
- Direct Known Subclasses:
- RuleAlertsAche, RuleAlertsClass1, RuleAlertsClass2, RuleAlertsClass3, RuleAlertsCNS, RuleAlertsForCarcinogenicity, RuleAlertsForFunc, RuleAlertsForGenotoxicCarcinogenicity, RuleAlertsForMIC, RuleAlertsNarcosis2_2_1, RuleAlertsNarcosis3, RuleAlertsNongenotoxicCarcinogenicity, RuleAlertsReactive, RuleAlertsUncouplers, RuleDNABindingAlerts, RuleProteinBindingAlerts, RuleSkinSensitisationAlerts, RuleVerifyAlertsCounter
public class RuleInitAlertCounter
- extends RuleVerifyProperty
- See Also:
- Serialized Form
Fields inherited from class toxTree.tree.rules.RuleVerifyProperty |
condition, condition_equals, condition_higher, condition_lower, listener, nf, options, propertyExamples, propertyName, propertyStaticValue, propertyUnits |
Fields inherited from class toxTree.tree.AbstractRule |
changes, editable, ERR_STRUCTURENOTPREPROCESSED, examples, explanation, id, logger, MSG_NO, MSG_YES, no, residueIDHidden, title |
Fields inherited from interface toxTree.core.XMLSerializable |
xmltag_CATEGORIES, xmltag_CATEGORY, xmltag_CATEGORYTHRESHOLD, xmltag_CLASS, xmltag_EXPLANATION, xmltag_ID, xmltag_METHOD, xmltag_METHODPARAMETER, xmltag_METHODS, xmltag_NAME, xmltag_RULE, xmltag_RULEEXAMPLE, xmltag_RULES, xmltag_TREEROOT |
Methods inherited from class toxTree.tree.rules.RuleVerifyProperty |
compare, getCaption, getCondition, getExampleMolecule, getExplanation, getInteractive, getListener, getOptions, getProperty, getPropertyName, getPropertyUnits, getSelector, inputProperty, removeListener, setCondition, setInteractive, setListener, setOptions, setProperty, setPropertyName, setPropertyUnits |
Methods inherited from class toxTree.tree.AbstractRule |
addPropertyChangeListener, clearFlags, clone, createRule, equals, fromXML, getEditor, getExamples, getID, getNum, getTitle, hideResiduesID, isEditable, isResidueIDHidden, log, log, log, makeMolecule, removePropertyChangeListener, setEditable, setExampleMolecule, setExamples, setExplanation, setID, setNum, setTitle, toShallowXML, toString, toXML |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ALERTSCounter
public static java.lang.String ALERTSCounter
ALERTSMessage
public static java.lang.String ALERTSMessage
RuleInitAlertCounter
public RuleInitAlertCounter()
RuleInitAlertCounter
public RuleInitAlertCounter(java.lang.String propertyName,
java.lang.String units,
java.lang.String condition,
double value)
verifyRule
public boolean verifyRule(org.openscience.cdk.interfaces.IAtomContainer mol)
throws DecisionMethodException
- Assings value returned by
RuleVerifyProperty.getProperty()
to molecule property with name given by RuleVerifyProperty.getPropertyName()
. Always returns true;
- Specified by:
verifyRule
in interface IDecisionRule
- Overrides:
verifyRule
in class RuleVerifyProperty
- Parameters:
mol
- org.openscience.cdk.interfaces.AtomContainer
- Returns:
- rule result, boolean
- Throws:
DecisionMethodException
isImplemented
public boolean isImplemented()
- Specified by:
isImplemented
in interface IDecisionRule
- Overrides:
isImplemented
in class RuleVerifyProperty
- Returns:
- false if the rule is not implemented and true if it is
getImplementationDetails
public java.lang.String getImplementationDetails()
- Specified by:
getImplementationDetails
in interface IImplementationDetails
- Overrides:
getImplementationDetails
in class RuleVerifyProperty
Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.