toxTree.tree.rules
Class RuleInitAlertCounter

java.lang.Object
  extended by java.util.Observable
      extended by toxTree.tree.AbstractRule
          extended by toxTree.tree.rules.RuleVerifyProperty
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface toxTree.core.IDecisionInteractive
IDecisionInteractive.UserOptions
 
Field Summary
static java.lang.String ALERTSCounter
           
static java.lang.String ALERTSMessage
           
 
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
 
Constructor Summary
RuleInitAlertCounter()
           
RuleInitAlertCounter(java.lang.String propertyName, java.lang.String units, java.lang.String condition, double value)
           
 
Method Summary
 java.lang.String getImplementationDetails()
           
 boolean isImplemented()
           
 boolean verifyRule(org.openscience.cdk.interfaces.IAtomContainer mol)
          Assings value returned by RuleVerifyProperty.getProperty() to molecule property with name given by RuleVerifyProperty.getPropertyName().
 
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
 

Field Detail

ALERTSCounter

public static java.lang.String ALERTSCounter

ALERTSMessage

public static java.lang.String ALERTSMessage
Constructor Detail

RuleInitAlertCounter

public RuleInitAlertCounter()

RuleInitAlertCounter

public RuleInitAlertCounter(java.lang.String propertyName,
                            java.lang.String units,
                            java.lang.String condition,
                            double value)
Method Detail

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.