public interface Challenge extends OsidObject
The challenge data.
Modifier and Type | Method and Description |
---|---|
ChallengeRecord |
getChallengeRecord(Type challengeRecordType)
Gets the challenge record corresponding to the given challenge record
Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
ChallengeRecord getChallengeRecord(Type challengeRecordType) throws OperationFailedException, PermissionDeniedException
Type.
This method is used to retrieve an object
implementing the requested record. The challengeRecordType
may be the Type
returned in
getRecordTypes()
or any of its parents in a Type
hierarchy where hasRecordType(challengeRecordType)
is true
.challengeRecordType
- the type of challenge record to retrieveNullArgumentException
- challengeRecordType
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
hasRecordType(challengeRecordType)
is false
mandatory
- This method must be implemented.