public abstract class AbstractRecord extends Object implements Serializable
| Constructor and Description |
|---|
AbstractRecord() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllDatasets(Collection<Dataset> datasets)
Adds all the Datasets to the Dataset list of this Record/Result object.
|
void |
addAllParams(Collection<Param> params)
Adds all the Params to the Param list of this Record/Result object.
|
void |
addAllRecords(Collection<Record> records)
Adds all the Records to the Record list of this Record/Result object.
|
void |
addDataset(Dataset dataset)
Adds a Dataset to the Dataset list of this Record/Result object.
|
void |
addIntParam(String paramName,
int paramValue)
Adds a Param with given name and value as "int" data type to the Param list
of this Record/Result object.
|
void |
addIntParam(String paramName,
String paramValue)
Adds a Param with given name and value as "int" data type to the Param list
of this Record/Result object.
|
void |
addParam(Param param)
Adds a Param to the Param list of this Record/Result object.
|
void |
addParam(String paramName,
String paramValue)
Adds a Param with given name and value to the Param list of this
Record/Result object.
|
void |
addParam(String paramName,
String paramValue,
String paramType)
Adds a Param with given name, value and data type to the Param list of this
Record/Result object.
|
void |
addRecord(Record record)
Adds a Record to the Record list of this Record/Result object.
|
void |
addStringParam(String paramName,
String paramValue)
Adds a Param with given name and value as "string" data type to the Param
list of this Record/Result object.
|
void |
clearDatasets()
Clears all the Datasets in the Dataset list of this Record/Result object.
|
void |
clearParams()
Clears all the Params in the Param list of this Record/Result object.
|
void |
clearRecords()
Clears all the Records in the Record list of this Record/Result object.
|
List<Dataset> |
getAllDatasets()
Gets the read-only list of all Datasets of this Record/Result
object.
|
List<Param> |
getAllParams()
Gets the read-only list of all Params of this Record/Result object.
|
List<Record> |
getAllRecords()
Gets the read-only list of all inner Records of this Record/Result
object.
|
Dataset |
getDatasetById(String id)
Gets the Dataset with given id from this Record/Result object.
|
Set<String> |
getIdOfAllDatasets()
Gets the id of all Datasets in this Record/Result object.
|
Set<String> |
getIdOfAllRecords()
Gets the id of all inner Records in this Record/Result object.
|
Set<String> |
getNameOfAllParams()
Gets the name of all Params in this Record/Result object.
|
Param |
getParamByName(String name)
Gets the Param with given param name from this Record/Result object.
|
String |
getParamValueByName(String name)
Gets the value of the Param with given param name from this Record/Result
object.
|
Record |
getRecordById(String id)
Gets the inner Record with given id from this Record/Result object.
|
boolean |
hasParamByName(String name)
Checks whether the Param with given param name exists in this Record/Result object.
|
boolean |
removeDatasetById(String id)
Removes the given Dataset from the Dataset list of this Record/Result
object.
|
boolean |
removeParamByName(String name)
Removes the given Param from the Param list of this Record/Result object.
|
boolean |
removeRecordById(String id)
Removes the given Record from the Record list of this Record/Result object.
|
public List<Param> getAllParams()
Parampublic List<Dataset> getAllDatasets()
Datasetpublic List<Record> getAllRecords()
Recordpublic boolean hasParamByName(String name)
name - The name of the Param to checkgetParamByName(String),
Parampublic Param getParamByName(String name)
name - The name of the Param to getgetParamValueByName(String),
Parampublic String getParamValueByName(String name)
name - The name of the Param whose value to getgetParamByName(String),
Parampublic Dataset getDatasetById(String id)
id - The id of the Dataset to getDatasetpublic Record getRecordById(String id)
id - The id of the inner Record to getpublic Set<String> getNameOfAllParams()
Parampublic Set<String> getIdOfAllRecords()
public Set<String> getIdOfAllDatasets()
Datasetpublic void addParam(Param param)
param - The Param to addgetAllParams(),
Parampublic void addParam(String paramName, String paramValue)
paramName - The name of the paramparamValue - The value of the paramgetAllParams(),
Parampublic void addParam(String paramName, String paramValue, String paramType)
paramName - The name of the paramparamValue - The value of the paramparamType - The type of the ParamgetAllParams(),
Parampublic void addIntParam(String paramName, int paramValue)
paramName - The name of the paramparamValue - The value of the paramgetAllParams(),
addIntParam(String, String),
Parampublic void addIntParam(String paramName, String paramValue)
paramName - The name of the paramparamValue - The value of the paramgetAllParams(),
addIntParam(String, int),
Parampublic void addStringParam(String paramName, String paramValue)
paramName - The name of the paramparamValue - The value of the paramgetAllParams(),
Parampublic void addDataset(Dataset dataset)
dataset - The Dataset to addParampublic void addRecord(Record record)
record - The Record to addRecordpublic void addAllParams(Collection<Param> params)
params - The Params to addParampublic void addAllDatasets(Collection<Dataset> datasets)
datasets - The Datasets to addDatasetpublic void addAllRecords(Collection<Record> records)
records - The Records to addRecordpublic void clearParams()
Parampublic void clearDatasets()
Datasetpublic void clearRecords()
Recordpublic boolean removeParamByName(String name)
name - The name of the Param to removeParampublic boolean removeDatasetById(String id)
id - The id of the Dataset to removeDatasetCopyright © 2019. All rights reserved.