OSID Logo
OSID Specifications
configuration package
Version 3.1.0
Interfaceosid.configuration.ValueForm
Implementsosid.OsidObjectForm
osid.OsidOperableForm
osid.OsidSubjugateableForm
Implemented Byosid.configuration.batch.ValueBatchForm
Used Byosid.configuration.ValueAdminSession
Description

This is the form for creating and updating Values. Various data elements may be set here for use in the create and update methods in the ValueAdminSession For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetPriorityMetadata
Description

Gets the metadata for the value priority. The metadata returned may depend on the state of the shuffle behavior.

Returnosid.Metadata metadata for the priority
Compliancemandatory This method must be implemented.
MethodsetPriority
Description

Sets the priority.

Parameterscardinalpriority the new priority
ErrorsINVALID_ARGUMENT priority is invalid
NO_ACCESS priority cannot be modified
Compliancemandatory This method must be implemented.
MethodclearPriority
Description

Clears the priority.

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

Gets the metadata for a boolean value.

Returnosid.Metadata metadata for a boolean
ErrorsILLEGAL_STATE Parameter.getSyntax()!= BOOLEAN
Compliancemandatory This method must be implemented.
MethodsetBooleanValue
Description

Sets a boolean value.

Parametersbooleanvalue the new boolean value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= BOOLEAN
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
Compliancemandatory This method must be implemented.
MethodgetByteValueMetadata
Description

Gets the metadata for a byte value.

Returnosid.Metadata metadata for a byte
ErrorsILLEGAL_STATE Parameter.getSyntax()!= BYTE
Compliancemandatory This method must be implemented.
MethodsetBytesValue
Description

Sets a byte value.

Parametersbyte[]value the new byte value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= BYTE
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
NULL_ARGUMENT value is null
Compliancemandatory This method must be implemented.
MethodgetCardinalValueMetadata
Description

Gets the metadata for a cardinal value.

Returnosid.Metadata metadata for a cardinal
ErrorsILLEGAL_STATE Parameter.getSyntax()!= CARDINAL
Compliancemandatory This method must be implemented.
MethodsetCardinalValue
Description

Sets a cardinal value.

Parameterscardinalvalue the new cardinal value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= CARDINAL
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
Compliancemandatory This method must be implemented.
MethodgetCoordinateValueMetadata
Description

Gets the metadata for a coordinate value.

Returnosid.Metadata metadata for a coordinate
ErrorsILLEGAL_STATE Parameter.getSyntax()!= COORDINATE
Compliancemandatory This method must be implemented.
MethodsetCoordinateValue
Description

Sets a coordinate value.

Parametersosid.mapping.Coordinatevalue the new coordinate value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= COORDINATE
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
Compliancemandatory This method must be implemented.
MethodgetCurrencyValueMetadata
Description

Gets the metadata for a currency value.

Returnosid.Metadata metadata for a currency
ErrorsILLEGAL_STATE Parameter.getSyntax()!= CURRENCY
Compliancemandatory This method must be implemented.
MethodsetCurrencyValue
Description

Sets a currency value.

Parametersosid.financials.Currencyvalue the new currency value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= CURRENCY
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
Compliancemandatory This method must be implemented.
MethodgetDateTimeValueMetadata
Description

Gets the metadata for a DateTime value.

Returnosid.Metadata metadata for a datetime
ErrorsILLEGAL_STATE Parameter.getSyntax()!= DATETIME
Compliancemandatory This method must be implemented.
MethodsetDateTimeValue
Description

Sets a DateTime value.

Parametersosid.calendaring.DateTimevalue the new datetime value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= DATETIME
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
NULL_ARGUMENT value is null
Compliancemandatory This method must be implemented.
MethodgetDecimalValueMetadata
Description

Gets the metadata for a decimal value.

Returnosid.Metadata metadata for a decimal
ErrorsILLEGAL_STATE Parameter.getSyntax()!= DECIMAL
Compliancemandatory This method must be implemented.
MethodsetDecimalValue
Description

Sets a decimal value.

Parametersdecimalvalue the new decimal value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= DECIMAL
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
Compliancemandatory This method must be implemented.
MethodgetDisplayTextValueMetadata
Description

Gets the metadata for a text value.

Returnosid.Metadata metadata for a display text
ErrorsILLEGAL_STATE Parameter.getSyntax()!= DISPLAYTEXT
Compliancemandatory This method must be implemented.
MethodsetDisplayTextValue
Description

Sets a text value.

Parametersosid.locale.DisplayTextvalue the new display text value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= DISPLAYTEXT
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
NULL_ARGUMENT value is null
Compliancemandatory This method must be implemented.
MethodgetDistanceValueMetadata
Description

Gets the metadata for a Distance value.

Returnosid.Metadata metadata for a distance
ErrorsILLEGAL_STATE Parameter.getSyntax()!= DISTANCE
Compliancemandatory This method must be implemented.
MethodsetDistanceValue
Description

Sets a Distance value.

Parametersosid.mapping.Distancevalue the new distance value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= DISTANCE
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
NULL_ARGUMENT value is null
Compliancemandatory This method must be implemented.
MethodgetDurationValueMetadata
Description

Gets the metadata for a Duration value.

Returnosid.Metadata metadata for a duration
ErrorsILLEGAL_STATE Parameter.getSyntax()!= DURATION
Compliancemandatory This method must be implemented.
MethodsetDurationValue
Description

Sets a Duration value.

Parametersosid.calendaring.Durationvalue the new duration value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= DURATION
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
NULL_ARGUMENT value is null
Compliancemandatory This method must be implemented.
MethodgetIdValueMetadata
Description

Gets the metadata for an Id value.

Returnosid.Metadata metadata for an Id
ErrorsILLEGAL_STATE Parameter.getSyntax()!= ID
Compliancemandatory This method must be implemented.
MethodsetIdValue
Description

Sets an Id value.

Parametersosid.id.Idvalue the new Id value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= ID
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
NULL_ARGUMENT value is null
Compliancemandatory This method must be implemented.
MethodgetIntegerValueMetadata
Description

Gets the metadata for an integer value.

Returnosid.Metadata metadata for an integer
ErrorsILLEGAL_STATE Parameter.getSyntax()!= INTEGER
Compliancemandatory This method must be implemented.
MethodsetIntegerValue
Description

Sets an integer value.

Parametersintegervalue the new integer value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= INTEGER
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
Compliancemandatory This method must be implemented.
MethodgetSpatialUnitValueMetadata
Description

Gets the metadata for a spatial unit value.

Returnosid.Metadata metadata for a spatial unit
ErrorsILLEGAL_STATE Parameter.getSyntax()!= SPATIALUNIT
Compliancemandatory This method must be implemented.
MethodsetSpatialUnitValue
Description

Sets a spatial unit value.

Parametersosid.mapping.SpatialUnitvalue the new spatial unit value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= SPATIALUNIT
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
Compliancemandatory This method must be implemented.
MethodgetSpeedValueMetadata
Description

Gets the metadata for a speed value.

Returnosid.Metadata metadata for a speed
ErrorsILLEGAL_STATE Parameter.getSyntax()!= SPEED
Compliancemandatory This method must be implemented.
MethodsetSpeedValue
Description

Sets a speed value.

Parametersosid.mapping.Speedvalue the new speed value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= SPEED
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
Compliancemandatory This method must be implemented.
MethodgetStringValueMetadata
Description

Gets the metadata for a string value.

Returnosid.Metadata metadata for a string
ErrorsILLEGAL_STATE Parameter.getSyntax()!= STRING
Compliancemandatory This method must be implemented.
MethodsetStringValue
Description

Sets a string value.

Parametersstringvalue the new string value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= STRING
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
NULL_ARGUMENT value is null
Compliancemandatory This method must be implemented.
MethodgetTimeValueMetadata
Description

Gets the metadata for a Time value.

Returnosid.Metadata metadata for a Time
ErrorsILLEGAL_STATE Parameter.getSyntax()!= TIME
Compliancemandatory This method must be implemented.
MethodsetTimeValue
Description

Sets a Time value.

Parametersosid.calendaring.Timevalue the new Time value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= TIME
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
NULL_ARGUMENT value is null
Compliancemandatory This method must be implemented.
MethodgetTypeValueMetadata
Description

Gets the metadata for a Type value.

Returnosid.Metadata metadata for a Type
ErrorsILLEGAL_STATE Parameter.getSyntax()!= TYPE
Compliancemandatory This method must be implemented.
MethodsetTypeValue
Description

Sets a Type value.

Parametersosid.type.Typevalue the new Type value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= TYPE
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
NULL_ARGUMENT value is null
Compliancemandatory This method must be implemented.
MethodgetVersionValueMetadata
Description

Gets the metadata for a Version value.

Returnosid.Metadata metadata for a Version
ErrorsILLEGAL_STATE Parameter.getSyntax()!= VERSION
Compliancemandatory This method must be implemented.
MethodsetVersionValue
Description

Sets a Version value.

Parametersosid.installation.Versionvalue the new Version value
ErrorsILLEGAL_STATE Parameter.getSyntax()!= VERSION
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
NULL_ARGUMENT value is null
Compliancemandatory This method must be implemented.
MethodgetObjectValueMetadata
Description

Gets the metadata for an object value.

Returnosid.Metadata metadata for an object
ErrorsILLEGAL_STATE Parameter.getSyntax()!= OBJECT
Compliancemandatory This method must be implemented.
MethodsetObjectValue
Description

Sets an object value.

Parametersobjectvalue the new object value
osid.type.TypeobjectType the object type
ErrorsILLEGAL_STATE Parameter.getSyntax()!= OBJECT
INVALID_ARGUMENT value is invalid
NO_ACCESS value cannot be modified
NULL_ARGUMENT value or objectType is null
UNSUPPORTED Metadata.supportsObjectType(objectType) is false
Compliancemandatory This method must be implemented.
MethodclearValue
Description

Clears the value.

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

Gets the ValueFormRecord corresponding to the given value record Type.

Parametersosid.type.TypevalueRecordType a value record type
Returnosid.configuration.records.ValueFormRecord the value form record
ErrorsNULL_ARGUMENT valueRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(valueRecordType) is false
Compliancemandatory This method must be implemented.