toxTree.tree
Class RuleResult
java.lang.Object
toxTree.tree.RuleResult
- All Implemented Interfaces:
- java.io.Serializable
public class RuleResult
- extends java.lang.Object
- implements java.io.Serializable
Stores the result of IDecisionRule
application,
which contains the rule applied, the boolean result and the category assigned (if any).
- Author:
- Nina Jeliazkova
Modified 2005-9-2
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
prefix
public static final java.lang.String prefix
- See Also:
- Constant Field Values
ruleURL
public static final java.lang.String ruleURL
categoryURL
public static final java.lang.String categoryURL
alertURL
public static final java.lang.String alertURL
resultURL
public static final java.lang.String resultURL
rule
protected IDecisionRule rule
result
protected boolean result
category
protected IDecisionCategory category
molecule
protected transient org.openscience.cdk.interfaces.IAtomContainer molecule
silent
protected boolean silent
web
protected boolean web
wwwAlertFormat
protected static final java.lang.String wwwAlertFormat
- See Also:
- Constant Field Values
RuleResult
public RuleResult()
RuleResult
public RuleResult(IDecisionRule rule,
boolean result)
RuleResult
public RuleResult(IDecisionRule rule,
boolean result,
IDecisionCategory category)
isWeb
public boolean isWeb()
setWeb
public void setWeb(boolean web)
isResult
public boolean isResult()
- Returns:
- Returns the result.
setResult
public void setResult(boolean result)
- Parameters:
result
- The result to set.
getCategory
public IDecisionCategory getCategory()
- Returns:
- Returns the category.
setCategory
public void setCategory(IDecisionCategory category)
- Parameters:
category
- The category to set.
getRule
public IDecisionRule getRule()
- Returns:
- Returns the rule.
setRule
public void setRule(IDecisionRule rule)
- Parameters:
rule
- The rule to set.
explain
public java.lang.StringBuffer explain(boolean verbose)
explain
public java.lang.StringBuffer explain(boolean verbose,
int ruleIndex)
getMolecule
public org.openscience.cdk.interfaces.IAtomContainer getMolecule()
- Returns:
- Returns the molecule.
setMolecule
public void setMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule)
- Parameters:
molecule
- The molecule to set.
isSilent
public boolean isSilent()
- Returns:
- Returns the silent.
setSilent
public void setSilent(boolean silent)
- Parameters:
silent
- The silent to set.
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.