edu.asu.cri.MirkE.dataStructures
Class DataPointCategoryFactory

java.lang.Object
  extended byedu.asu.cri.MirkE.dataStructures.DataPointCategoryFactory

public class DataPointCategoryFactory
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 DataPointCategory.categoryName)


Constructor Summary
DataPointCategoryFactory()
          default constructor
DataPointCategoryFactory(DataSet dataSet)
          constructor
 
Method Summary
 DataPointCategory getDataPointCategory(java.lang.String categoryName, java.lang.String categoryType)
           
 DataSet getDataSet()
           
 void saveDataPointCategories()
          ensure that all DataPointCategory(ies) have been saved
 void setDataSet(DataSet dataSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataPointCategoryFactory

public DataPointCategoryFactory()
default constructor


DataPointCategoryFactory

public DataPointCategoryFactory(DataSet dataSet)
constructor

Parameters:
dataSet -
Method Detail

setDataSet

public void setDataSet(DataSet dataSet)
Parameters:
dataSet -

getDataSet

public DataSet getDataSet()
Returns:
dataSet

getDataPointCategory

public DataPointCategory getDataPointCategory(java.lang.String categoryName,
                                              java.lang.String categoryType)
                                       throws MirkEApplicationException
Parameters:
categoryName -
categoryType -
Returns:
DataPointCategory
Throws:
MirkEApplicationException

saveDataPointCategories

public void saveDataPointCategories()
ensure that all DataPointCategory(ies) have been saved



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