Package com.uppaal.model.core2
Class QueryData
- java.lang.Object
-
- java.util.Observable
-
- com.uppaal.model.core2.QueryData
-
public class QueryData extends java.util.Observable
-
-
Constructor Summary
Constructors Constructor Description QueryData()
-
Method Summary
All Methods Instance Methods Concrete Methods 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(java.lang.String title)Get the data using the data titlejava.util.ArrayList<java.lang.String>getDataTitles()Get data titlesvoidnotifyDataObservers()
-
-
-
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 java.util.ArrayList<java.lang.String> getDataTitles()
Get data titles- Returns:
- dataTitles - The string array list of the titles
-
getData
public DataSet2D getData(java.lang.String title)
Get the data using the data title- Parameters:
title- - The title string- Returns:
- The DataSet2D
-
notifyDataObservers
public void notifyDataObservers()
-
-