public interface Extensible
A marker interface for objects that contain OsidRecords.
| Modifier and Type | Method and Description |
|---|---|
TypeList |
getRecordTypes()
Gets the record types available in this object.
|
boolean |
hasRecordType(Type recordType)
Tests if this object supports the given record
Type. |
TypeList getRecordTypes()
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(). mandatory - This method must be implemented. boolean hasRecordType(Type recordType)
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.recordType - a type true if a record of the given record
Type is available, false otherwisemandatory - This method must be implemented.