public class Result extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
get code
|
String |
getErrorCode()
get error type code.
|
String |
getErrorMsg()
get error type message
|
String |
getMsg()
get message
|
List<?> |
getRows()
get the records in one page.
|
int |
getTotal()
all match records,not a page, is include all pages.
|
void |
setCode(String code)
set code
|
void |
setErrorCode(String errorCode)
set code of error type.
|
void |
setErrorMsg(String errorMsg)
set error type message
|
void |
setMsg(String msg)
set message
|
void |
setRows(List<?> rows)
set the rows(records) in one page.
|
void |
setTotal(int total)
all match records,not a page, is include all pages.
|
public Result()
public Result(String errorMsg)
public int getTotal()
public void setTotal(int total)
total - all match records,public List<?> getRows()
public void setRows(List<?> rows)
rows - the records in one page.public String getCode()
public void setCode(String code)
code - public String getMsg()
public void setMsg(String msg)
msg - message textpublic String getErrorCode()
public void setErrorCode(String errorCode)
errorCode - error type codepublic String getErrorMsg()
public void setErrorMsg(String errorMsg)
errorMsg - error type messageCopyright © 2023. All rights reserved.