OSID Logo
OSID Specifications
lexicon package
Version 3.0.0
Interfaceosid.lexicon.Idiom
Implementsosid.OsidObject
osid.Subjugateable
Used Byosid.lexicon.IdiomAdminSession
osid.lexicon.IdiomList
osid.lexicon.IdiomLookupSession
Description

A Idiom is a localized variant of a Text .

MethodgetTextId
Description

Gets the text Id .

Returnosid.id.Idthe text Id
CompliancemandatoryThis method must be implemented.
MethodgetText
Description

Gets the text.

Returnosid.lexicon.Textthe text
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetLanguageType
Description

Gets the language type.

Returnosid.type.Typethe language type
CompliancemandatoryThis method must be implemented.
MethodgetScriptType
Description

Gets the script type.

Returnosid.type.Typethe script type
CompliancemandatoryThis method must be implemented.
MethodgetFormatType
Description

Gets the format type.

Returnosid.type.Typethe format type
CompliancemandatoryThis method must be implemented.
MethodgetTemplate
Description

Gets the template for this idiom.

Returnstringthe template
CompliancemandatoryThis method must be implemented.
MethodgetIdiomRecord
Description

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

Parametersosid.type.TypeidiomRecordTypethe type of idiom record to retrieve
Returnosid.lexicon.records.IdiomRecordthe idiom record
ErrorsNULL_ARGUMENTidiomRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(idiomRecordType) is false
CompliancemandatoryThis method must be implemented.