IBM WebSphere Application ServerTM
Release 8

com.ibm.wbiserver.brules.mgmt.problem
Class ProblemOverlappingRanges

java.lang.Object
  extended by com.ibm.wbiserver.brules.mgmt.problem.Problem
      extended by 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
           
 
Constructor Summary
ProblemOverlappingRanges(Operation operation, OperationSelectionRecord selectionRecord1, OperationSelectionRecord selectionRecord2)
          Constructor for the ProblemOverlappingRanges class.
 
Method Summary
 java.lang.String getErrorMessage()
           
 Operation getOperation()
          Get the operation that contains the overlapping date ranges.
 OperationSelectionRecord getSelectionRecord1()
          Get one of the operation selection records that has overlapping date ranges.
 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

COPYRIGHT

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

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.
Method Detail

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

IBM WebSphere Application ServerTM
Release 8