|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.dice.ViewAnswer
public class ViewAnswer
The class holds the data returned from the server when the caller makes a request to view a candidate. If the request is successful the result is returned in the candidate else a message about the failure cause can be found in message.
$RCSfile: ViewAnswer.html,v $
$Author: duket $
$Date: 2010/12/14 16:48:42 $
Original Author: duke _DOT_ takle _AT_ dice _DOT_ com
Date: February, 2010
| Field Summary | |
|---|---|
protected DiceCandidate |
candidate
The candidate of interest complete, when valid, with resume text and resume download link |
protected java.lang.String |
message
Some message about the view request if it was not successful |
protected int |
returnCode
The return code for the view request, 0 implies success. |
| Constructor Summary | |
|---|---|
ViewAnswer()
|
|
| Method Summary | |
|---|---|
DiceCandidate |
getCandidate()
|
java.lang.String |
getMessage()
|
int |
getReturnCode()
|
void |
setCandidate(DiceCandidate candidate)
|
void |
setMessage(java.lang.String message)
|
void |
setReturnCode(int returnCode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int returnCode
protected java.lang.String message
protected DiceCandidate candidate
| Constructor Detail |
|---|
public ViewAnswer()
| Method Detail |
|---|
public int getReturnCode()
public void setReturnCode(int returnCode)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public DiceCandidate getCandidate()
public void setCandidate(DiceCandidate candidate)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||