edu.nrao.sss.model.project
Class SchedulingBlockValidator
java.lang.Object
edu.nrao.sss.validation.AbstractValidator<SchedulingBlock>
edu.nrao.sss.model.project.SchedulingBlockValidator
- All Implemented Interfaces:
- Validator
public class SchedulingBlockValidator
- extends AbstractValidator<SchedulingBlock>
A validator of scheduling blocks
.
Validations Performed for All Purposes
- Short name and/or long name was set.
- Scheduling block has at least one scan.
- Scan sequence is valid.1
1The particular validations performed depend on the
validator used by this one to operate on the target's scan
sequence.
Version Info:
$Revision: 2205 $ |
$Date: 2009-04-16 12:29:48 -0600 (Thu, 16 Apr 2009) $ |
$Author: btruitt $ |
- Since:
- 2007-02-09
- Author:
- David M. Harland
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchedulingBlockValidator
public SchedulingBlockValidator()
- Creates a new instance.
setScanLoopValidator
public void setScanLoopValidator(ScanLoopValidator scanLoopValidator)
makeValidationList
protected List<Validation<SchedulingBlock>> makeValidationList(ValidationPurpose purpose)
- Specified by:
makeValidationList
in class AbstractValidator<SchedulingBlock>
validate
protected void validate()
- Overrides:
validate
in class AbstractValidator<SchedulingBlock>
getScanLoopValidator
public Validator getScanLoopValidator()
- Returns a validator for program blocks.
Copyright © 2009. All Rights Reserved.