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 void
addData(DataSet2D dataset)
Add the dataset into the array list for the DataSet2Dvoid
clearData()
Remove the array list data of the dataSet2DDataSet2D
getData(String title)
Get the data using the data titleArrayList<String>
getDataTitles()
Get data titlesvoid
notifyDataObservers()
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Constructor Details
-
QueryData
public QueryData()
-
-
Method Details
-
clearData
public void clearData()Remove the array list data of the dataSet2D -
addData
Add the dataset into the array list for the DataSet2D- Parameters:
dataset
- - The dataset2D
-
getDataTitles
Get data titles- Returns:
- dataTitles - The string array list of the titles
-
getData
Get the data using the data title- Parameters:
title
- - The title string- Returns:
- The DataSet2D
-
notifyDataObservers
public void notifyDataObservers()
-