Package org.gbif.api.model
Class ChallengeCode
- java.lang.Object
-
- org.gbif.api.model.ChallengeCode
-
public class ChallengeCode extends Object
Encapsulate a challenge code.
-
-
Constructor Summary
Constructors Constructor Description ChallengeCode()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
getCode()
String
getData()
Integer
getKey()
static ChallengeCode
newRandom()
static ChallengeCode
newRandom(String data)
void
setCode(UUID code)
void
setData(String data)
void
setKey(Integer key)
String
toString()
-
-
-
Constructor Detail
-
ChallengeCode
public ChallengeCode()
-
-
Method Detail
-
newRandom
public static ChallengeCode newRandom()
-
newRandom
public static ChallengeCode newRandom(String data)
-
-