OSID Logo
OSID Specifications
lexicon package
Version 3.1.0
Interfaceosid.lexicon.Text
Implementsosid.OsidObject
Used Byosid.lexicon.Idiom
osid.lexicon.Parameter
osid.lexicon.TextAdminSession
osid.lexicon.TextList
osid.lexicon.TextLookupSession
osid.rules.check.Check
Description

A Text.

MethodgetTextRecord
Description

Gets the text record corresponding to the given Text record Type.This method is used to retrieve an object implementing the requested record. The textRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(textRecordType) is true.

Parametersosid.type.TypetextRecordType the type of text record to retrieve
Returnosid.lexicon.records.TextRecord the text record
ErrorsNULL_ARGUMENT textRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED hasRecordType(textRecordType) is false
Compliancemandatory This method must be implemented.