|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.asu.cri.MirkE.dataStructures.DataPointCategoryFactory
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 |
public DataPointCategoryFactory()
public DataPointCategoryFactory(DataSet dataSet)
dataSet
- Method Detail |
public void setDataSet(DataSet dataSet)
dataSet
- public DataSet getDataSet()
public DataPointCategory getDataPointCategory(java.lang.String categoryName, java.lang.String categoryType) throws MirkEApplicationException
categoryName
- categoryType
-
DataPointCategory
MirkEApplicationException
public void saveDataPointCategories()
DataPointCategory
(ies) have been saved
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |