public class WsResultMeta extends Object
Constructor and Description |
---|
WsResultMeta() |
Modifier and Type | Method and Description |
---|---|
void |
assignHttpStatusCode(int statusCode1)
status code for http lite / rest .
|
void |
assignResultCode(String resultCode1)
code of the result for this subject
SUCCESS: means everything ok
SUBJECT_NOT_FOUND: cant find the subject
SUBJECT_DUPLICATE: found multiple subjects
|
void |
assignSuccess(String success1)
T or F as to whether it was a successful assignment
|
WsParam[] |
getParams() |
String |
getResultCode()
code of the result for this subject
SUCCESS: means everything ok
SUBJECT_NOT_FOUND: cant find the subject
SUBJECT_DUPLICATE: found multiple subjects
|
String |
getResultCode2()
reserved for future purpose
|
String |
getResultMessage()
error message if there is an error
|
String |
getSuccess()
T or F as to whether it was a successful assignment
|
int |
retrieveHttpStatusCode()
status code for http lite / rest .
|
void |
setParams(WsParam[] params1) |
void |
setResultCode(String resultCode1) |
void |
setResultCode2(String resultCode1) |
void |
setResultMessage(String errorMessage)
error message if there is an error
|
void |
setSuccess(String theSuccess)
T or F as to whether it was a successful assignment
|
public String getResultCode()
code of the result for this subject SUCCESS: means everything ok SUBJECT_NOT_FOUND: cant find the subject SUBJECT_DUPLICATE: found multiple subjects
public String getResultCode2()
reserved for future purpose
public String getResultMessage()
public String getSuccess()
public void setResultCode(String resultCode1)
resultCode1
- the resultCode to setpublic void setResultCode2(String resultCode1)
resultCode1
- the resultCode2 to setpublic void setSuccess(String theSuccess)
theSuccess
- T | Fpublic void assignResultCode(String resultCode1)
code of the result for this subject SUCCESS: means everything ok SUBJECT_NOT_FOUND: cant find the subject SUBJECT_DUPLICATE: found multiple subjects
resultCode1
- the resultCode to setpublic void setResultMessage(String errorMessage)
errorMessage
- the errorMessage to setpublic void assignSuccess(String success1)
success1
- the success to setpublic int retrieveHttpStatusCode()
public void assignHttpStatusCode(int statusCode1)
statusCode1
- the status code e.g. 200, if 500, then not inittedpublic WsParam[] getParams()
public void setParams(WsParam[] params1)
params1
- the params to setCopyright © 2020 Internet2. All rights reserved.