edu.nrao.sss.model.source
Class SourceBuilder

java.lang.Object
  extended by edu.nrao.sss.model.source.SourceBuilder

public class SourceBuilder
extends Object

Helper for test classes; builds sources and their components.

Version Info:

$Revision: 1361 $
$Date: 2008-06-19 14:21:15 -0600 (Thu, 19 Jun 2008) $
$Author: dharland $

Since:
2006-09-29
Author:
David M. Harland

Constructor Summary
SourceBuilder()
           
 
Method Summary
 SourceCatalog makeCatalog(String name)
           
 SourceGroup makeGroup(String name)
           
 Source makeSource(String name)
           
 SourceLookupTable makeTable(String name)
           
 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

SourceBuilder

public SourceBuilder()
Method Detail

setIdentifiers

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


makeSource

public Source makeSource(String name)

makeTable

public SourceLookupTable makeTable(String name)

makeGroup

public SourceGroup makeGroup(String name)

makeCatalog

public SourceCatalog makeCatalog(String name)


Copyright © 2009. All Rights Reserved.