com.ibm.wbiserver.brules.mgmt.problem
Class ProblemInvalidConditionValueTemplate
java.lang.Object
com.ibm.wbiserver.brules.mgmt.problem.Problem
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:
- 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.
- 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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
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.
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