edu.nrao.sss.model.project.scan
Class ScanBuilder

java.lang.Object
  extended by edu.nrao.sss.model.project.scan.ScanBuilder

public class ScanBuilder
extends Object

Helper for test classes; builds scans and their components.

Version Info:

$Revision: 2274 $
$Date: 2009-04-28 14:04:21 -0600 (Tue, 28 Apr 2009) $
$Author: dharland $

Since:
2006-10-12
Author:
David M. Harland

Constructor Summary
ScanBuilder()
           
 
Method Summary
 void addDopplerSpecs(Scan scan)
           
 void fillScanTimeSpec(ScanTimeSpecification spec)
           
 DelayScan makeDelayScanFor(ScanLoop parentLoop)
           
 ScanDopplerSpecs makeDopplerSpecs()
           
 FocusScan makeFocusScanFor(ScanLoop parentLoop)
           
 PointingScan makePointingScanFor(ScanLoop parentLoop)
           
 Scan makeScan()
           
 Scan makeScanFor(ScanLoop parentLoop)
           
 ScanLoop makeScanLoop()
           
 void makeScansFor(ScanLoop parentLoop)
           
 SimpleScan makeSimpleScanFor(ScanLoop parentLoop)
           
 SwitchingScan makeSwitchingScanFor(ScanLoop parentLoop)
           
 TippingScan makeTippingScanFor(ScanLoop parentLoop)
           
 void setComment(Scan scan)
          Sometimes sets comment, sometimes removes comments.
 void setIdentifiers(boolean setIds)
          Tells the factory methods whether or not they should set the object identifiers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScanBuilder

public ScanBuilder()
Method Detail

setIdentifiers

public void setIdentifiers(boolean setIds)
Tells the factory methods whether or not they should set the object identifiers.


makeScansFor

public void makeScansFor(ScanLoop parentLoop)

makeScanLoop

public ScanLoop makeScanLoop()

makeScan

public Scan makeScan()

makeScanFor

public Scan makeScanFor(ScanLoop parentLoop)

makeSimpleScanFor

public SimpleScan makeSimpleScanFor(ScanLoop parentLoop)

makeDelayScanFor

public DelayScan makeDelayScanFor(ScanLoop parentLoop)

makeFocusScanFor

public FocusScan makeFocusScanFor(ScanLoop parentLoop)

makePointingScanFor

public PointingScan makePointingScanFor(ScanLoop parentLoop)

makeSwitchingScanFor

public SwitchingScan makeSwitchingScanFor(ScanLoop parentLoop)

makeTippingScanFor

public TippingScan makeTippingScanFor(ScanLoop parentLoop)

fillScanTimeSpec

public void fillScanTimeSpec(ScanTimeSpecification spec)

addDopplerSpecs

public void addDopplerSpecs(Scan scan)

makeDopplerSpecs

public ScanDopplerSpecs makeDopplerSpecs()

setComment

public void setComment(Scan scan)
Sometimes sets comment, sometimes removes comments.



Copyright © 2009. All Rights Reserved.