public class ProblemOverlappingRanges extends Problem implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
ProblemOverlappingRanges(Operation operation,
OperationSelectionRecord selectionRecord1,
OperationSelectionRecord selectionRecord2)
Constructor for the
ProblemOverlappingRanges class. |
Modifier and Type | Method and Description |
---|---|
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.
|
getErrorType
public static final java.lang.String COPYRIGHT
public ProblemOverlappingRanges(Operation operation, OperationSelectionRecord selectionRecord1, OperationSelectionRecord selectionRecord2)
ProblemOverlappingRanges
class.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.public OperationSelectionRecord getSelectionRecord1()
public OperationSelectionRecord getSelectionRecord2()
public Operation getOperation()
public java.lang.String getErrorMessage()
getErrorMessage
in class Problem