Records¶
Osid Record¶
-
class
dlkit.osid.records.OsidRecord¶ OsidRecordis a top-level interface for all record objects.A record is an auxiliary interface that can be retrieved from an OSID object, query, form or search order that contains method definitions outside the core OSID specification. An OSID record interface specification is identified with a
Type.-
implements_record_type(record_type)¶ Tests if the given type is implemented by this record.
Other types than that directly indicated by
get_type()may be supported through an inheritance scheme where the given type specifies a record that is a parent interface of the interface specified bygetType().Parameters: record_type ( osid.type.Type) – a typeReturns: trueif the given recordTypeis implemented by this record,falseotherwiseReturn type: booleanRaise: NullArgument–record_typeisnull
-