edu.asu.cri.MirkE.util
Class ObservableFactory

java.lang.Object
  extended byedu.asu.cri.MirkE.util.ObservableFactory

public class ObservableFactory
extends java.lang.Object

Simple utility class to prevent duplication of Observable objects TODO - depreciate / remove this class by using features of Hibernate with a non-unique key (like Observable.name)


Constructor Summary
ObservableFactory()
          default constructor
ObservableFactory(DataSet dataSet)
          constructor
 
Method Summary
 DataSet getDataSet()
           
 Observable getObservable(java.lang.String name)
           
 void setDataSet(DataSet dataSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObservableFactory

public ObservableFactory()
default constructor


ObservableFactory

public ObservableFactory(DataSet dataSet)
constructor

Parameters:
dataSet -
Method Detail

setDataSet

public void setDataSet(DataSet dataSet)
Parameters:
dataSet -

getDataSet

public DataSet getDataSet()
Returns:
dataSet

getObservable

public Observable getObservable(java.lang.String name)
                         throws MirkEApplicationException
Parameters:
name -
Returns:
Observable
Throws:
MirkEApplicationException


Copyright © 2004-2005 Arizona State University - Cancer Research Institute - hosted by Sourceforge. All Rights Reserved.