OSID Logo
OSID Specifications
lexicon package
Version 3.1.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.Id the text Id
Compliancemandatory This method must be implemented.
MethodgetText
Description

Gets the text.

Returnosid.lexicon.Text the text
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetSyntax
Description

Gets the syntax of the parameter.

Returnosid.Syntax the syntax
Compliancemandatory This method must be implemented.
MethodgetInputPosition
Description

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

Returncardinal the position
Compliancemandatory This 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.TypeparameterRecordType the type of parameter record to retrieve
Returnosid.lexicon.records.ParameterRecord the parameter record
ErrorsNULL_ARGUMENT parameterRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(parameterRecordType) is false
Compliancemandatory This method must be implemented.