IBM WebSphere Application ServerTM
Release 7

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

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

public class ProblemInvalidConditionValueTemplate
extends Problem
implements java.io.Serializable

Problem class representing one of the following errors:

  1. The condition value template for a new condition value is not associated with the condition term definition for the condition node to which the condition value is being added.
  2. The condition value template for the template instance expression being set on a case edge is not an available template for that case edge.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
ProblemInvalidConditionValueTemplate(TemplateInstanceExpression templateInstanceExpression, CaseEdge caseEdgeBeingChanged, ConditionNode conditionNode)
          Constructor for the ProblemInvalidConditionValueTemplate class.
 
Method Summary
 CaseEdge getCaseEdgeBeingChanged()
          Get the case edge that was being changed when this error occurred.
 ConditionNode getConditionNode()
          Get the condition node to which the new condition value was being added.
 java.lang.String getErrorMessage()
           
 TemplateInstanceExpression getTemplateInstanceExpression()
          The template instance expression that was being set into the existing case edge or that was being used to add a new condition value to a condition node.
 
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

ProblemInvalidConditionValueTemplate

public ProblemInvalidConditionValueTemplate(TemplateInstanceExpression templateInstanceExpression,
                                            CaseEdge caseEdgeBeingChanged,
                                            ConditionNode conditionNode)
Constructor for the ProblemInvalidConditionValueTemplate class.

Parameters:
templateInstanceExpression - The template instance expression that was being set into the existing case edge or that was being used to add a new condition value to a condition node. The invalid template is the template from which the template intance expression was derived.
caseEdgeBeingChanged - The case edge that the template instance expression is being set into, if any. May be null if the error resulted from adding a new condition value rather than changing an existing case edge.
conditionNode - The condition node to which the new condition value was being added, if any. May be null if the error resulted from changing an existing case edge rather than adding a new condition value.
Method Detail

getCaseEdgeBeingChanged

public CaseEdge getCaseEdgeBeingChanged()
Get the case edge that was being changed when this error occurred. May be null if the error resulted from adding a new condition value rather than changing an existing case edge.

Returns:
The case edge being changed.

getConditionNode

public ConditionNode getConditionNode()
Get the condition node to which the new condition value was being added. May be null if the error resulted from changing an existing case edge rather than adding a new condition value.

Returns:
The condition node to which the new condition value was being added.

getTemplateInstanceExpression

public TemplateInstanceExpression getTemplateInstanceExpression()
The template instance expression that was being set into the existing case edge or that was being used to add a new condition value to a condition node. The invalid template is the template from which the template intance expression was derived.

Returns:
The template instance expression.

getErrorMessage

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

IBM WebSphere Application ServerTM
Release 7