edu.nrao.sss.model.project.scan
Class FocusScanValidator
java.lang.Object
edu.nrao.sss.validation.AbstractValidator<S>
edu.nrao.sss.model.project.scan.FocusScanValidator
- All Implemented Interfaces:
- Validator
public class FocusScanValidator
- extends AbstractValidator<S>
A validator of focus scans
.
Validations Performed for All Purposes
- All validations performed by
SimpleScanValidator
.
- Scan has at least one offset.
- Contained offsets are valid.1
1The particular validations performed depend on the
validator used by this one to operate on those contained offsets.
Version Info:
$Revision: 397 $ |
$Date: 2007-02-26 16:11:19 -0700 (Mon, 26 Feb 2007) $ |
$Author: dharland $ |
- Since:
- 2007-02-13
- Author:
- David M. Harland
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FocusScanValidator
public FocusScanValidator()
- Creates a new instance.
makeValidationList
protected List<Validation<FocusScan>> makeValidationList(ValidationPurpose purpose)
validate
protected void validate()
- Overrides:
validate
in class AbstractValidator<FocusScan>
setFocusOffsetValidator
public void setFocusOffsetValidator(Validator newValidator)
- Sets the validator to use for the focus offsets of the target scan.
It is acceptable to use a null parameter, in which case
this validator will contact its manager for a focus-offset validator
or create one itself.
- Parameters:
newValidator
- a validator to use on the focus offsets of this
validator's target scan.
getFocusOffsetValidator
public Validator getFocusOffsetValidator()
- Returns a validator for focus offsets.
Copyright © 2009. All Rights Reserved.