Interface Category

All Superinterfaces:
Browsable, Extensible, Identifiable, OsidObject

public interface Category extends OsidObject

A Category is a group of Items .

  • Method Details

    • getCategoryRecord

      CategoryRecord getCategoryRecord(Type categoryRecordType) throws OperationFailedException
      Gets the category record corresponding to the given 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 .
      Parameters:
      categoryRecordType - the type of category record to retrieve
      Returns:
      the category record
      Throws:
      NullArgumentException - categoryRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(categoryRecordType) is false
      Compliance:
      mandatory - This method must be implemented.