edu.nrao.sss.model.resource
Class ResourceBuilder

java.lang.Object
  extended by edu.nrao.sss.model.resource.ResourceBuilder

public class ResourceBuilder
extends Object

Helper for test classes; builds resources and their components.

Version Info:

$Revision: 1791 $
$Date: 2008-12-10 17:56:36 -0700 (Wed, 10 Dec 2008) $
$Author: dharland $

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

Constructor Summary
ResourceBuilder()
           
 
Method Summary
 ResourceCatalog makeCatalog(String name)
           
 ResourceGroup makeGroup(String name)
           
 PulsarSpecification makePulsarSpecification()
           
 ReceiverBand makeReceiver()
           
 Resource makeResource(String name)
           
 Resource makeResource(String name, TelescopeType telescopeType)
           
 ResourceSpecification makeResourceSpecification()
           
 SkyFrequencySpecification makeSkyFrequencySpecification()
           
 SpectralLineSpecification makeSpectralLineSpecification()
           
 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

ResourceBuilder

public ResourceBuilder()
Method Detail

setIdentifiers

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


makeResource

public Resource makeResource(String name)

makeResource

public Resource makeResource(String name,
                             TelescopeType telescopeType)

makeGroup

public ResourceGroup makeGroup(String name)

makeCatalog

public ResourceCatalog makeCatalog(String name)

makeReceiver

public ReceiverBand makeReceiver()

makeResourceSpecification

public ResourceSpecification makeResourceSpecification()

makeSkyFrequencySpecification

public SkyFrequencySpecification makeSkyFrequencySpecification()

makeSpectralLineSpecification

public SpectralLineSpecification makeSpectralLineSpecification()

makePulsarSpecification

public PulsarSpecification makePulsarSpecification()


Copyright © 2009. All Rights Reserved.