com.ibm.itim.dataservices.model.domain
Class Challenge

java.lang.Object
  |
  +--com.ibm.itim.dataservices.model.domain.Challenge
All Implemented Interfaces:
java.io.Serializable

public class Challenge
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Challenge()
          Default constructor.
Challenge(java.lang.String question, java.util.Locale loc)
          Constructs with a question and locale.
 
Method Summary
 java.util.Locale getLocale()
          Returns the locale of the challenge.
 java.lang.String getQuestion()
          Returns the question to ask as the challenge.
 void setLocale(java.util.Locale loc)
          Changes the locale of the challenge
 void setQuestion(java.lang.String question)
          Changes the question to ask as the challenge.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Challenge

public Challenge()
Default constructor. Question is empty and no locale is set.


Challenge

public Challenge(java.lang.String question,
                 java.util.Locale loc)
Constructs with a question and locale.

Parameters:
question - Question to ask as the challenge.
loc - Locale of the challenge. Can be null.
Method Detail

getQuestion

public java.lang.String getQuestion()
Returns the question to ask as the challenge.

Returns:
Challenge question.

setQuestion

public void setQuestion(java.lang.String question)
Changes the question to ask as the challenge.

Parameters:
question - Challenge question.

getLocale

public java.util.Locale getLocale()
Returns the locale of the challenge.

Returns:
Locale of the challenge, null if none defined.

setLocale

public void setLocale(java.util.Locale loc)
Changes the locale of the challenge

Parameters:
loc - Locale of the challenge, null if none.


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.