OSID Logo
OSID Specifications
lexicon package
Version 3.1.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.Metadata metadata for the syntax
Compliancemandatory This method must be implemented.
MethodsetSyntax
Description

Sets the syntax.

Parametersosid.Syntaxsyntax the new syntax
ErrorsINVALID_ARGUMENT syntax is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT syntax is null
Compliancemandatory This method must be implemented.
MethodclearSyntax
Description

Clears the value syntax.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetInputPositionMetadata
Description

Gets the metadata for the input position.

Returnosid.Metadata metadata for the input position
Compliancemandatory This method must be implemented.
MethodsetInputPosition
Description

Sets the input position.

Parameterscardinalposition the new input position
ErrorsINVALID_ARGUMENT position is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearInputPosition
Description

Clears the input position.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetParameterFormRecord
Description

Gets the ParameterFormRecord corresponding to the given parameter record Type.

Parametersosid.type.TypeparameterRecordType a parameter record type
Returnosid.lexicon.records.ParameterFormRecord the parameter form record
ErrorsNULL_ARGUMENT parameterRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(parameterRecordType) is false
Compliancemandatory This method must be implemented.