com.ibm.wbiserver.brules.mgmt.problem

Class ProblemOverlappingRanges

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

  1. public class ProblemOverlappingRanges
  2. extends Problem
  3. implements java.io.Serializable
This class represents a validation error where two operation selection records have overlapping date ranges.
See Also:
Serialized Form

Field Summary

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

Constructor Summary

Constructor and Description
ProblemOverlappingRanges(Operation operation,OperationSelectionRecord selectionRecord1,OperationSelectionRecord selectionRecord2)
Constructor for the ProblemOverlappingRanges class.

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getErrorMessage()
  1. Operation
getOperation()
Get the operation that contains the overlapping date ranges.
  1. OperationSelectionRecord
getSelectionRecord1()
Get one of the operation selection records that has overlapping date ranges.
  1. OperationSelectionRecord
getSelectionRecord2()
Get one of the operation selection records that has overlapping date ranges.
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

ProblemOverlappingRanges

  1. public ProblemOverlappingRanges( Operation operation,
  2. OperationSelectionRecord selectionRecord1,
  3. OperationSelectionRecord selectionRecord2)
Constructor for the ProblemOverlappingRanges class.
Parameters:
operation - The operation containing the overlapping date ranges.
selectionRecord1 - One of the operation selection records with overlapping date ranges.
selectionRecord2 - One of the operation selection records with overlapping date ranges.

Method Detail

getSelectionRecord1

  1. public OperationSelectionRecord getSelectionRecord1( )
Get one of the operation selection records that has overlapping date ranges.
Returns:
One of the operation selection records that has overlapping date ranges.

getSelectionRecord2

  1. public OperationSelectionRecord getSelectionRecord2( )
Get one of the operation selection records that has overlapping date ranges.
Returns:
One of the operation selection records that has overlapping date ranges.

getOperation

  1. public Operation getOperation()
Get the operation that contains the overlapping date ranges.
Returns:
The operation that contains the overlapping date ranges.

getErrorMessage

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