OSID Logo
OSID Specifications
lexicon package
Version 3.0.0
Interfaceosid.lexicon.Parameter
Implementsosid.OsidObject
osid.Subjugateable
Used Byosid.lexicon.ParameterAdminSession
osid.lexicon.ParameterList
osid.lexicon.ParameterLookupSession
Description

A Parameter specifies a variable substitution in the string of a Text to produce an Idiom .

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.
MethodgetSyntax
Description

Gets the syntax of the parameter.

Returnosid.Syntaxthe syntax
CompliancemandatoryThis method must be implemented.
MethodgetInputPosition
Description

Gets the input position for this parameter as supplied to the text.

Returncardinalthe position
CompliancemandatoryThis method must be implemented.
MethodgetParameterRecord
Description

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

Parametersosid.type.TypeparameterRecordTypethe type of parameter record to retrieve
Returnosid.lexicon.records.ParameterRecordthe parameter record
ErrorsNULL_ARGUMENTparameterRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(parameterRecordType) is false
CompliancemandatoryThis method must be implemented.