OSID Logo
OSID Specifications
osid package
Version 3.0.0
Release Candidate Preview
Interfaceosid.Extensible
Description

A marker interface for objects that contain OsidRecords.

MethodgetRecordTypes
Description

Gets the record types available in this object. A record Type explicitly indicates the specification of an interface to the record. A record may or may not inherit other record interfaces through interface inheritance in which case support of a record type may not be explicit in the returned list. Interoperability with the typed interface to this object should be performed through hasRecordType().

Returnosid.type.TypeListthe record types available
CompliancemandatoryThis method must be implemented.
MethodhasRecordType
Description

Tests if this object supports the given record Type. The given record type may be supported by the object through interface/type inheritence. This method should be checked before retrieving the record interface.

Parametersosid.type.TyperecordTypea type
Returnboolean true if a record of the given record Type is available, false otherwise
CompliancemandatoryThis method must be implemented.