com.ibm.wbiserver.brules.mgmt.problem

Class ProblemRuleNameAlreadyInUse

  1. java.lang.Object
  2. extended bycom.ibm.wbiserver.brules.mgmt.problem.Problem
  3. extended bycom.ibm.wbiserver.brules.mgmt.problem.ProblemRuleNameAlreadyInUse
All implemented interfaces:
java.io.Serializable

  1. public class ProblemRuleNameAlreadyInUse
  2. extends Problem
  3. implements java.io.Serializable
Problem class representing the error that the name of the new rule being added to the rule block is already in use for another rule in that rule block.
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Constructor Summary

Constructor and Description
ProblemRuleNameAlreadyInUse(java.lang.String newRuleName,Rule existingRuleUsingName,RuleBlock ruleBlock)
Constructor for the ProblemRuleNameAlreadyInUse class.

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getErrorMessage()
  1. Rule
getExistingRuleUsingName()
Get the existing rule that is already using the name.
  1. java.lang.String
getNewRuleName()
Get the name of the new rule that is in error.
  1. RuleBlock
getRuleBlock()
Get the rule block 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

  1. public static final java.lang.String COPYRIGHT
See Also:

Constructor Detail

ProblemRuleNameAlreadyInUse

  1. public ProblemRuleNameAlreadyInUse( java.lang.String newRuleName,
  2. Rule existingRuleUsingName,
  3. RuleBlock ruleBlock)
Constructor for the ProblemRuleNameAlreadyInUse class.
Parameters:
newRuleName - The name of the new rule for the rule block.
existingRuleUsingName - The existing rule that is already using the name.
ruleBlock - The rule block to which the rule was being added.

Method Detail

getExistingRuleUsingName

  1. public Rule getExistingRuleUsingName( )
Get the existing rule that is already using the name.
Returns:
The existing rule that is already using the name.

getNewRuleName

  1. public java.lang.String getNewRuleName( )
Get the name of the new rule that is in error.
Returns:
The name of the new rule that is in error.

getRuleBlock

  1. public RuleBlock getRuleBlock()
Get the rule block to which the rule was being added.
Returns:
The rule block to which the rule was being added.

getErrorMessage

  1. public java.lang.String getErrorMessage( )
Specified by: