OSID Logo
OSID Specifications
mapping path package
Version 3.0.0
Release Candidate Preview
Interfaceosid.mapping.path.ObstacleForm
Implementsosid.OsidObjectForm
osid.OsidOperableForm
Description

This is the form for creating and updating Obstacles. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the ObstacleAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetStartingCoordinateMetadata
Description

Gets the metadata for a starting coordinate.

Returnosid.Metadatametadata for the starting coordinate
CompliancemandatoryThis method must be implemented.
MethodsetStartingCoordinate
Description

Sets the starting coordinate.

Parametersosid.mapping.Coordinatecoordinatethe new starting coordinate
ErrorsINVALID_ARGUMENT coordinate is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT coordinate is null
UNSUPPORTED coordinate type is not supported
CompliancemandatoryThis method must be implemented.
MethodclearStartingCoordinate
Description

Removes the starting coordinate.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetEndingCoordinateMetadata
Description

Gets the metadata for a ending coordinate.

Returnosid.Metadatametadata for the ending coordinate
CompliancemandatoryThis method must be implemented.
MethodsetEndingCoordinate
Description

Sets the ending coordinate.

Parametersosid.mapping.Coordinatecoordinatethe new ending coordinate
ErrorsINVALID_ARGUMENT coordinate is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT coordinate is null
UNSUPPORTED coordinate type is not supported
CompliancemandatoryThis method must be implemented.
MethodclearEndingCoordinate
Description

Removes the ending coordinate.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetObstacleFormRecord
Description

Gets the ObstacleFormRecord corresponding to the given obstacle record Type.

Parametersosid.type.TypeobstacleRecordTypean obstacle record type
Returnosid.mapping.path.records.ObstacleFormRecordthe obstacle form record
ErrorsNULL_ARGUMENT obstacleRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(obstacleRecordType) is false
CompliancemandatoryThis method must be implemented.