public class Result extends AbstractRecord implements Serializable
Param,
Dataset,
Record,
Serialized Form| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and Description |
|---|---|
void |
addErrMsgParam(String errmsg)
Adds a param with name "errmsg" of type "string" with given value.
|
void |
addHttpStatusCodeParam(int httpStatusCode)
Adds a param with name "httpStatusCode" of type "int" with given value.
|
void |
addHttpStatusCodeParam(String httpStatusCode)
Adds a param with name "httpStatusCode" of type "int" with given value.
|
void |
addOpstatusParam(int opstatus)
Adds a param with name "opstatus" of type "int" with given value.
|
void |
addOpstatusParam(String opstatus)
Adds a param with name "opstatus" of type "int" with given value.
|
Dataset |
findDataset(String id)
Deprecated.
As of Foundry 7.3.2, replaced by
AbstractRecord.getDatasetById(String) |
Param |
findParam(String name)
Deprecated.
As of Foundry 7.3.2, replaced by
AbstractRecord.getParamByName(String) |
Result |
getCopy()
FOR INTERNAL USE ONLY.
|
ArrayList<Dataset> |
getDataSets()
Deprecated.
As of Foundry 7.3.2, replaced by
AbstractRecord.getAllDatasets() |
String |
getErrMsgParamValue()
Gets errmsg param value.
|
String |
getHttpStatusCodeParamValue()
Gets httpStatusCode param value.
|
String |
getOpstatusParamValue()
Gets opstatus param value.
|
ArrayList<Param> |
getParamList()
Deprecated.
As of Foundry 7.3.2, replaced by
AbstractRecord.getAllParams() |
ArrayList<Record> |
getRecords()
Deprecated.
As of Foundry 7.3.2, replaced by
AbstractRecord.getAllRecords() |
void |
removeParam(Param param)
Removes the given Param from the Param list of the Result.
|
void |
setDataSet(Dataset dataset)
Deprecated.
As of Foundry 7.3.2, replaced by
AbstractRecord.addDataset(Dataset) |
void |
setDataSets(ArrayList<Dataset> datasets)
Deprecated.
As of Foundry 7.3.2, replaced by
AbstractRecord.addAllDatasets(java.util.Collection) |
void |
setParam(Param param)
Deprecated.
As of Foundry 7.3.2, replaced by
AbstractRecord.addParam(Param) |
void |
setParamList(ArrayList<Param> params)
Deprecated.
As of Foundry 7.3.2, replaced by
AbstractRecord.addAllParams(java.util.Collection) |
void |
setRecord(Record record)
Deprecated.
As of Foundry 7.3.2, replaced by
AbstractRecord.addRecord(Record) |
void |
setRecords(ArrayList<Record> records)
Deprecated.
As of Foundry 7.3.2, replaced by
AbstractRecord.addAllRecords(java.util.Collection) |
String |
toString() |
addAllDatasets, addAllParams, addAllRecords, addDataset, addIntParam, addIntParam, addParam, addParam, addParam, addRecord, addStringParam, clearDatasets, clearParams, clearRecords, getAllDatasets, getAllParams, getAllRecords, getDatasetById, getIdOfAllDatasets, getIdOfAllRecords, getNameOfAllParams, getParamByName, getParamValueByName, getRecordById, hasParamByName, removeDatasetById, removeParamByName, removeRecordByIdpublic void addOpstatusParam(int opstatus)
opstatus - The value of the paramParam.OPSTATUS,
Param.INT_CONSTpublic void addOpstatusParam(String opstatus)
opstatus - The value of the paramParam.OPSTATUS,
Param.INT_CONSTpublic void addHttpStatusCodeParam(int httpStatusCode)
httpStatusCode - The value of the paramParam.HTTP_STATUS_CODE,
Param.INT_CONSTpublic void addHttpStatusCodeParam(String httpStatusCode)
httpStatusCode - The value of the paramParam.HTTP_STATUS_CODE,
Param.INT_CONSTpublic void addErrMsgParam(String errmsg)
errmsg - The value of the paramParam.ERR_MSG,
Param.STRING_CONSTpublic String getOpstatusParamValue()
Param.OPSTATUS,
AbstractRecord.getParamValueByName(String)public String getHttpStatusCodeParamValue()
Param.HTTP_STATUS_CODE,
AbstractRecord.getParamValueByName(String)public String getErrMsgParamValue()
Param.ERR_MSG,
AbstractRecord.getParamValueByName(String)@Deprecated public ArrayList<Param> getParamList()
AbstractRecord.getAllParams()Param@Deprecated public void setParamList(ArrayList<Param> params)
AbstractRecord.addAllParams(java.util.Collection)params - The Param listParam@Deprecated public void setParam(Param param)
AbstractRecord.addParam(Param)param - The Param to addParam@Deprecated public ArrayList<Dataset> getDataSets()
AbstractRecord.getAllDatasets()Dataset@Deprecated public void setDataSets(ArrayList<Dataset> datasets)
AbstractRecord.addAllDatasets(java.util.Collection)datasets - The Dataset listDataset@Deprecated public void setDataSet(Dataset dataset)
AbstractRecord.addDataset(Dataset)dataset - The Dataset to addDatasetpublic void removeParam(Param param)
param - The Param to removeParam@Deprecated public Param findParam(String name)
AbstractRecord.getParamByName(String)name - The name of the Param to findParam@Deprecated public Dataset findDataset(String id)
AbstractRecord.getDatasetById(String)id - The id of the Dataset to findDataset@Deprecated public ArrayList<Record> getRecords()
AbstractRecord.getAllRecords()Record@Deprecated public void setRecords(ArrayList<Record> records)
AbstractRecord.addAllRecords(java.util.Collection)records - The Record listRecord@Deprecated public void setRecord(Record record)
AbstractRecord.addRecord(Record)record - The Record to addRecordpublic Result getCopy()
FOR INTERNAL USE ONLY.
Creates a copy (clone) of the Result.Copyright © 2019. All rights reserved.