OSID Logo
OSID Specifications
lexicon package
Version 3.0.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.TypetextRecordTypethe type of text record to retrieve
Returnosid.lexicon.records.TextRecordthe text record
ErrorsNULL_ARGUMENTtextRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTEDhasRecordType(textRecordType) is false
CompliancemandatoryThis method must be implemented.