public class WsResultMeta
extends java.lang.Object
Constructor and Description |
---|
WsResultMeta() |
Modifier and Type | Method and Description |
---|---|
void |
assignHttpStatusCode(int statusCode1)
status code for http lite / rest .
|
void |
assignResultCode(java.lang.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(java.lang.String success1)
T or F as to whether it was a successful assignment
|
WsParam[] |
getParams() |
java.lang.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
|
java.lang.String |
getResultCode2()
reserved for future purpose
|
java.lang.String |
getResultMessage()
error message if there is an error
|
java.lang.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(java.lang.String resultCode1) |
void |
setResultCode2(java.lang.String resultCode1) |
void |
setResultMessage(java.lang.String errorMessage)
error message if there is an error
|
void |
setSuccess(java.lang.String theSuccess)
T or F as to whether it was a successful assignment
|
public java.lang.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 java.lang.String getResultCode2()
reserved for future purpose
public java.lang.String getResultMessage()
public java.lang.String getSuccess()
public void setResultCode(java.lang.String resultCode1)
resultCode1
- the resultCode to setpublic void setResultCode2(java.lang.String resultCode1)
resultCode1
- the resultCode2 to setpublic void setSuccess(java.lang.String theSuccess)
theSuccess
- T | Fpublic void assignResultCode(java.lang.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(java.lang.String errorMessage)
errorMessage
- the errorMessage to setpublic void assignSuccess(java.lang.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 set