IBM WebSphere Application ServerTM
Release 7

com.ibm.wbiserver.brules.mgmt.problem
Enum ValidationError

java.lang.Object
  extended by java.lang.Enum<ValidationError>
      extended by com.ibm.wbiserver.brules.mgmt.problem.ValidationError
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ValidationError>

public enum ValidationError
extends java.lang.Enum<ValidationError>

An enum used to identify validation errors that are detected.


Enum Constant Summary
BUS_RULE_NOT_IN_AVAILABLE_TARGET_LIST
          This error indicates that the new business rule being set as a target is not in the available targets list for the operation.
CANNOT_CHG_HARD_CODED_ACTION_VALUE_TO_TEMPLATE
          This error indicates that an attempt was made to change a hard-coded action value to a template instance.
CASE_EDGE_CHILD_NODE_MISSING
          The child node is missing from a case edge.
CASE_EDGE_VALUE_DEFINITION_MISSING
          The value definition is missing from a case edge.
CASE_EDGES_ARE_MISSING
          A condition node has no case edges.
DUPLICATE_PROPERTY_NAME
          This error indicates that an attempt was made to add a new property to a business rule group but the new property has the same name as an existing property.
END_DATE_NOT_SET
          This error indicates that the end date in an OperationSelectionRecord is not set.
INCORRECT_TEMPLATE
          The template associated with the specified template instance expression is not available to the part of the decision table to which it is being added.
INVALID_ACTION_VALUE_TEMPLATE
          This error indicates that the action value template associated being used to define the value for an action is not in the list of available templates for that action.
INVALID_ATTEMPT_TO_SET_VALUE_TEMPLATE_INSTANCE
          An attempt was made to set a value template instance into part of a decision table that currently does not have a value template instance.
INVALID_BOOLEAN_VALUE
          This error indicates that the specified string does not represent a valid boolean value.
INVALID_CONDITION_VALUE_TEMPLATE
          This error indicates that the condition value template associated with a case edge being added to a condition node is not contained within the condition term definition for that condition node.
NO_TEMPLATES_AVAILABLE_FOR_NEW_ACTION_NODES
          There are no templates available to fill in new action nodes.
OP_SEL_RECORD_HAS_NO_OPERATION
          This error indicates that an operation selection record is not associated with an operation.
OPERATION_CONTAINS_NO_TARGETS
          This error indicates that the operation has no default business rule target and also has no business rule targets qualified by date ranges.
OVERLAPPING_RANGES
          This error indicates that the date ranges of two operation selection records overlap.
PARM_NOT_DEFINED_IN_TEMPLATE
          This error indicates that an instance of a template was being created and one of the parameter values specified was for a parameter that is not defined on the template being instantiated.
PARM_VALUE_LIST_CONTAINS_UNEXPECTED_VALUE
          This error indicates that the parameter value list specified when creating an instance of a template contains a value that does not correspond to any parameter in that template.
REQUIRED_PARM_NOT_SPECIFIED
          This error indicates that a required parameter was not specified.
ROOT_NODE_IS_MISSING
          A tree block is missing its root node.
RULE_BLOCK_CONTAINS_NO_RULES
          This error indicates that the rule block contains no rules.
RULE_NAME_ALREADY_IN_USE
          This error indicates that the new rule name is already in use for another rule in the rule block.
START_DATE_AFTER_END_DATE
          This error indicates that the start date of a date range is after the end date.
START_DATE_NOT_SET
          This error indicates that the start date in an OperationSelectionRecord is not set.
TARGET_BUS_RULE_NOT_SET
          This error indicates that the target business rule in an OperationSelectionRecord is not set.
TEMPLATE_NOT_ASSOCIATED_WITH_RULESET
          This error indicates that the template for the new template instance rule being added to a ruleset is not associated with that ruleset.
TEMPLATE_PARM_NOT_SPECIFIED
          This error indicates that a value was not specified for a template parameter.
TNS_AND_NAME_ALREADY_IN_USE
          This error indicates that the target name space and name specified for a new ruleset or decision table is already in use for an existing ruleset or decision table.
TREE_ACTION_NULL
          Tree action is null.
TREE_ACTION_TERM_IS_MISSING
          A tree action term is missing in a tree block.
TREE_CONDITION_IS_MISSING
          A tree condition is missing in a tree block.
TYPE_CONVERSION_ERROR
          This error indicates that the specified string value could not be converted to the data type of the parameter.
VALUE_TEMPLATE_INSTANCE_IS_MISSING
          A tree action should have a value template instance but it is missing.
VALUE_VIOLATES_PARAMETER_CONSTRAINTS
          This error indicates that the specified value violates a constraint associated with the parameter.
WRONG_NUMBER_OF_PARAMETER_VALUES
          The number of parameter values doesn't match the number of parameters.
WRONG_OPERATION_FOR_OP_SELECTION_RECORD
          This error indicates that an attempt was made to add an operation selection record to an operation selection record list but the operation associated with the selection record is not the same as the operation containing the operation selection record list.
 
Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
static ValidationError valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ValidationError[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

START_DATE_AFTER_END_DATE

public static final ValidationError START_DATE_AFTER_END_DATE
This error indicates that the start date of a date range is after the end date.


OVERLAPPING_RANGES

public static final ValidationError OVERLAPPING_RANGES
This error indicates that the date ranges of two operation selection records overlap.


BUS_RULE_NOT_IN_AVAILABLE_TARGET_LIST

public static final ValidationError BUS_RULE_NOT_IN_AVAILABLE_TARGET_LIST
This error indicates that the new business rule being set as a target is not in the available targets list for the operation.


START_DATE_NOT_SET

public static final ValidationError START_DATE_NOT_SET
This error indicates that the start date in an OperationSelectionRecord is not set.


END_DATE_NOT_SET

public static final ValidationError END_DATE_NOT_SET
This error indicates that the end date in an OperationSelectionRecord is not set.


TARGET_BUS_RULE_NOT_SET

public static final ValidationError TARGET_BUS_RULE_NOT_SET
This error indicates that the target business rule in an OperationSelectionRecord is not set.


OPERATION_CONTAINS_NO_TARGETS

public static final ValidationError OPERATION_CONTAINS_NO_TARGETS
This error indicates that the operation has no default business rule target and also has no business rule targets qualified by date ranges. An operation must have at least one target.


TYPE_CONVERSION_ERROR

public static final ValidationError TYPE_CONVERSION_ERROR
This error indicates that the specified string value could not be converted to the data type of the parameter.


VALUE_VIOLATES_PARAMETER_CONSTRAINTS

public static final ValidationError VALUE_VIOLATES_PARAMETER_CONSTRAINTS
This error indicates that the specified value violates a constraint associated with the parameter.


INVALID_CONDITION_VALUE_TEMPLATE

public static final ValidationError INVALID_CONDITION_VALUE_TEMPLATE
This error indicates that the condition value template associated with a case edge being added to a condition node is not contained within the condition term definition for that condition node.


INVALID_ACTION_VALUE_TEMPLATE

public static final ValidationError INVALID_ACTION_VALUE_TEMPLATE
This error indicates that the action value template associated being used to define the value for an action is not in the list of available templates for that action.


CANNOT_CHG_HARD_CODED_ACTION_VALUE_TO_TEMPLATE

public static final ValidationError CANNOT_CHG_HARD_CODED_ACTION_VALUE_TO_TEMPLATE
This error indicates that an attempt was made to change a hard-coded action value to a template instance. The API does not allow this.


DUPLICATE_PROPERTY_NAME

public static final ValidationError DUPLICATE_PROPERTY_NAME
This error indicates that an attempt was made to add a new property to a business rule group but the new property has the same name as an existing property.


REQUIRED_PARM_NOT_SPECIFIED

public static final ValidationError REQUIRED_PARM_NOT_SPECIFIED
This error indicates that a required parameter was not specified.


OP_SEL_RECORD_HAS_NO_OPERATION

public static final ValidationError OP_SEL_RECORD_HAS_NO_OPERATION
This error indicates that an operation selection record is not associated with an operation.


TNS_AND_NAME_ALREADY_IN_USE

public static final ValidationError TNS_AND_NAME_ALREADY_IN_USE
This error indicates that the target name space and name specified for a new ruleset or decision table is already in use for an existing ruleset or decision table.


TEMPLATE_NOT_ASSOCIATED_WITH_RULESET

public static final ValidationError TEMPLATE_NOT_ASSOCIATED_WITH_RULESET
This error indicates that the template for the new template instance rule being added to a ruleset is not associated with that ruleset.


RULE_NAME_ALREADY_IN_USE

public static final ValidationError RULE_NAME_ALREADY_IN_USE
This error indicates that the new rule name is already in use for another rule in the rule block.


RULE_BLOCK_CONTAINS_NO_RULES

public static final ValidationError RULE_BLOCK_CONTAINS_NO_RULES
This error indicates that the rule block contains no rules. A rule block must contain at least one rule.


TEMPLATE_PARM_NOT_SPECIFIED

public static final ValidationError TEMPLATE_PARM_NOT_SPECIFIED
This error indicates that a value was not specified for a template parameter. This error occurs when attempting to create an instance based on a template and a value is not specified for one of the template parameters.


WRONG_OPERATION_FOR_OP_SELECTION_RECORD

public static final ValidationError WRONG_OPERATION_FOR_OP_SELECTION_RECORD
This error indicates that an attempt was made to add an operation selection record to an operation selection record list but the operation associated with the selection record is not the same as the operation containing the operation selection record list.


PARM_VALUE_LIST_CONTAINS_UNEXPECTED_VALUE

public static final ValidationError PARM_VALUE_LIST_CONTAINS_UNEXPECTED_VALUE
This error indicates that the parameter value list specified when creating an instance of a template contains a value that does not correspond to any parameter in that template.


INVALID_BOOLEAN_VALUE

public static final ValidationError INVALID_BOOLEAN_VALUE
This error indicates that the specified string does not represent a valid boolean value. Only the strings "true" and "false" (all lower case) are allowed as boolean values.


PARM_NOT_DEFINED_IN_TEMPLATE

public static final ValidationError PARM_NOT_DEFINED_IN_TEMPLATE
This error indicates that an instance of a template was being created and one of the parameter values specified was for a parameter that is not defined on the template being instantiated.


TREE_ACTION_NULL

public static final ValidationError TREE_ACTION_NULL
Tree action is null.


CASE_EDGE_VALUE_DEFINITION_MISSING

public static final ValidationError CASE_EDGE_VALUE_DEFINITION_MISSING
The value definition is missing from a case edge.


CASE_EDGE_CHILD_NODE_MISSING

public static final ValidationError CASE_EDGE_CHILD_NODE_MISSING
The child node is missing from a case edge.


TREE_CONDITION_IS_MISSING

public static final ValidationError TREE_CONDITION_IS_MISSING
A tree condition is missing in a tree block.


TREE_ACTION_TERM_IS_MISSING

public static final ValidationError TREE_ACTION_TERM_IS_MISSING
A tree action term is missing in a tree block.


ROOT_NODE_IS_MISSING

public static final ValidationError ROOT_NODE_IS_MISSING
A tree block is missing its root node.


VALUE_TEMPLATE_INSTANCE_IS_MISSING

public static final ValidationError VALUE_TEMPLATE_INSTANCE_IS_MISSING
A tree action should have a value template instance but it is missing.


CASE_EDGES_ARE_MISSING

public static final ValidationError CASE_EDGES_ARE_MISSING
A condition node has no case edges.


NO_TEMPLATES_AVAILABLE_FOR_NEW_ACTION_NODES

public static final ValidationError NO_TEMPLATES_AVAILABLE_FOR_NEW_ACTION_NODES
There are no templates available to fill in new action nodes.


WRONG_NUMBER_OF_PARAMETER_VALUES

public static final ValidationError WRONG_NUMBER_OF_PARAMETER_VALUES
The number of parameter values doesn't match the number of parameters.


INCORRECT_TEMPLATE

public static final ValidationError INCORRECT_TEMPLATE
The template associated with the specified template instance expression is not available to the part of the decision table to which it is being added.


INVALID_ATTEMPT_TO_SET_VALUE_TEMPLATE_INSTANCE

public static final ValidationError INVALID_ATTEMPT_TO_SET_VALUE_TEMPLATE_INSTANCE
An attempt was made to set a value template instance into part of a decision table that currently does not have a value template instance. This is not allowed.

Field Detail

COPYRIGHT

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

values

public static ValidationError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ValidationError c : ValidationError.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ValidationError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

IBM WebSphere Application ServerTM
Release 7