OSID Logo
OSID Specifications
lexicon package
Version 3.0.0
Interfaceosid.lexicon.ParameterForm
Implementsosid.OsidObjectForm
osid.OsidSubjugateableForm
Implemented Byosid.lexicon.batch.ParameterBatchForm
Used Byosid.lexicon.ParameterAdminSession
Description

This is the form for creating and updating Parameters . Like all OsidForms , various data elements may be set here for use in the create and update methods in the ParameterAdminSession . For each data element that may be set, metadata may be examined to provide display hints or data constraints. Some data may be automatically derived from the parameter segments.

MethodgetSyntaxMetadata
Description

Gets the metadata for the syntax.

Returnosid.Metadatametadata for the syntax
CompliancemandatoryThis method must be implemented.
MethodsetSyntax
Description

Sets the syntax.

Parametersosid.Syntaxsyntaxthe new syntax
ErrorsINVALID_ARGUMENTsyntax is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTsyntax is null
CompliancemandatoryThis method must be implemented.
MethodclearSyntax
Description

Clears the value syntax.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetInputPositionMetadata
Description

Gets the metadata for the input position.

Returnosid.Metadatametadata for the input position
CompliancemandatoryThis method must be implemented.
MethodsetInputPosition
Description

Sets the input position.

Parameterscardinalpositionthe new input position
ErrorsINVALID_ARGUMENTposition is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearInputPosition
Description

Clears the input position.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetParameterFormRecord
Description

Gets the ParameterFormRecord corresponding to the given parameter record Type .

Parametersosid.type.TypeparameterRecordTypea parameter record type
Returnosid.lexicon.records.ParameterFormRecordthe parameter form record
ErrorsNULL_ARGUMENTparameterRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(parameterRecordType) is false
CompliancemandatoryThis method must be implemented.