public interface ResponseOption extends OsidObject
A response option. The option may be labeled in the display name and described using the description.
Modifier and Type | Method and Description |
---|---|
ResponseOptionRecord |
getResponseOptionRecord(Type responseOptionRecordType)
Gets the response option record corresponding to the given
ResponseOption record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
ResponseOptionRecord getResponseOptionRecord(Type responseOptionRecordType) throws OperationFailedException
ResponseOption
record Type.
This method is used
to retrieve an object implementing the requested record. The
responseOptionRecordType
may be the Type
returned in getRecordTypes()
or any of its parents in a
Type
hierarchy where
hasRecordType(responseOptionRecordType)
is true
.responseOptionRecordType
- the type of the record to retrieveNullArgumentException
- responseOptionRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(responseOptionRecordType)
is
false
mandatory
- This method must be implemented.