com.ibm.itim.dataservices.model.system
Class ChallengeAndResponse
java.lang.Object
|
+--com.ibm.itim.dataservices.model.system.ChallengeAndResponse
- All Implemented Interfaces:
- java.io.Serializable
- public class ChallengeAndResponse
- extends java.lang.Object
- implements java.io.Serializable
Class that represents one challenge question and response combination.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getChallenge()
Returns the challenge question. |
java.lang.String |
getResponse()
Returns the response to the challenge. |
void |
setChallenge(java.lang.String challenge)
Changes the challenge question. |
void |
setResponse(java.lang.String response)
Changes the response to the challenge. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChallengeAndResponse
public ChallengeAndResponse()
- Default constructor.
getChallenge
public java.lang.String getChallenge()
- Returns the challenge question.
- Returns:
- String holding the challenge question.
setChallenge
public void setChallenge(java.lang.String challenge)
- Changes the challenge question.
- Parameters:
challenge
- New challenge question (String).
getResponse
public java.lang.String getResponse()
- Returns the response to the challenge.
- Returns:
- String holding the response.
setResponse
public void setResponse(java.lang.String response)
- Changes the response to the challenge.
- Parameters:
response
- New response (String).