IBM WebSphere Application ServerTM
Release 7

com.ibm.wbiserver.brules.mgmt.problem
Class ProblemTemplateNotAssociatedWithRuleSet

java.lang.Object
  extended by com.ibm.wbiserver.brules.mgmt.problem.Problem
      extended by com.ibm.wbiserver.brules.mgmt.problem.ProblemTemplateNotAssociatedWithRuleSet
All Implemented Interfaces:
java.io.Serializable

public class ProblemTemplateNotAssociatedWithRuleSet
extends Problem
implements java.io.Serializable

Problem class representing the error that the template associated with the specified rule is not associated with the ruleset to which the rule is being added.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
ProblemTemplateNotAssociatedWithRuleSet(TemplateInstanceRule ruleBeingAdded, RuleSet ruleSet)
          Constructor for the ProblemTemplateNotAssociatedWithRuleSet class.
 
Method Summary
 java.lang.String getErrorMessage()
           
 TemplateInstanceRule getRuleBeingAdded()
          Get the rule being added to the ruleset.
 RuleSet getRuleSet()
          Get the ruleset to which the rule was being added.
 
Methods inherited from class com.ibm.wbiserver.brules.mgmt.problem.Problem
getErrorType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

ProblemTemplateNotAssociatedWithRuleSet

public ProblemTemplateNotAssociatedWithRuleSet(TemplateInstanceRule ruleBeingAdded,
                                               RuleSet ruleSet)
Constructor for the ProblemTemplateNotAssociatedWithRuleSet class.

Parameters:
ruleBeingAdded - The new rule being added to the ruleset.
ruleSet - The ruleset to which the rule was being added..
Method Detail

getRuleBeingAdded

public TemplateInstanceRule getRuleBeingAdded()
Get the rule being added to the ruleset.

Returns:
The rule being added to the ruleset.

getRuleSet

public RuleSet getRuleSet()
Get the ruleset to which the rule was being added.

Returns:
The ruleset to which the rule was being added.

getErrorMessage

public java.lang.String getErrorMessage()
Specified by:
getErrorMessage in class Problem

IBM WebSphere Application ServerTM
Release 7