public interface Category extends OsidObject
A Category
is a group of Items.
Modifier and Type | Method and Description |
---|---|
CategoryRecord |
getCategoryRecord(Type categoryRecordType)
Gets the category record corresponding to the given
Category
record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
CategoryRecord getCategoryRecord(Type categoryRecordType) throws OperationFailedException
Category
record Type.
This method is used to retrieve an
object implementing the requested record. The
categoryRecordType
may be the Type
returned in
getRecordTypes()
or any of its parents in a Type
hierarchy where hasRecordType(categoryRecordType)
is true
.categoryRecordType
- the type of category record to retrieveNullArgumentException
- categoryRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(categoryRecordType)
is false
mandatory
- This method must be implemented.