com.ibm.wbiserver.brules.mgmt.problem
Class ProblemOverlappingRanges
java.lang.Object
com.ibm.wbiserver.brules.mgmt.problem.Problem
com.ibm.wbiserver.brules.mgmt.problem.ProblemOverlappingRanges
- All Implemented Interfaces:
- java.io.Serializable
public class ProblemOverlappingRanges
- extends Problem
- 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 |
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
ProblemOverlappingRanges
public ProblemOverlappingRanges(Operation operation,
OperationSelectionRecord selectionRecord1,
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.
getSelectionRecord1
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
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
public Operation getOperation()
- Get the operation that contains the overlapping date ranges.
- Returns:
- The operation that contains the overlapping date ranges.
getErrorMessage
public java.lang.String getErrorMessage()
- Specified by:
getErrorMessage
in class Problem