com.ibm.wbiserver.brules.mgmt.problem

Class ProblemInvalidConditionValueTemplate

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

  1. public class ProblemInvalidConditionValueTemplate
  2. extends Problem
  3. 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

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

Constructor Summary

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

Method Summary

Modifier and Type Method and Description
  1. CaseEdge
getCaseEdgeBeingChanged()
Get the case edge that was being changed when this error occurred.
  1. ConditionNode
getConditionNode()
Get the condition node to which the new condition value was being added.
  1. java.lang.String
getErrorMessage()
  1. 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

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

Constructor Detail

ProblemInvalidConditionValueTemplate

  1. public ProblemInvalidConditionValueTemplate( TemplateInstanceExpression templateInstanceExpression,
  2. CaseEdge caseEdgeBeingChanged,
  3. 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

  1. 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

  1. 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

  1. 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

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