Package com.uppaal.model.core2
Class QueryData
- java.lang.Object
-
- java.util.Observable
-
- com.uppaal.model.core2.QueryData
-
public class QueryData extends Observable
-
-
Constructor Summary
Constructors Constructor Description QueryData()
-
Method Summary
Modifier and Type Method Description voidaddData(DataSet2D dataset)Add the dataset into the array list for the DataSet2DvoidclearData()Remove the array list data of the dataSet2DDataSet2DgetData(String title)Get the data using the data titleArrayList<String>getDataTitles()Get data titlesvoidnotifyDataObservers()-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Method Detail
-
clearData
public void clearData()
Remove the array list data of the dataSet2D
-
addData
public void addData(DataSet2D dataset)
Add the dataset into the array list for the DataSet2D- Parameters:
dataset- - The dataset2D
-
getDataTitles
public ArrayList<String> getDataTitles()
Get data titles- Returns:
- dataTitles - The string array list of the titles
-
getData
public DataSet2D getData(String title)
Get the data using the data title- Parameters:
title- - The title string- Returns:
- The DataSet2D
-
notifyDataObservers
public void notifyDataObservers()
-
-