OSID Logo
OSID Specifications
mapping path package
Version 3.1.0
Interfaceosid.mapping.path.SignalForm
Implementsosid.OsidRuleForm
Implemented Byosid.mapping.path.batch.SignalBatchForm
Used Byosid.mapping.path.SignalAdminSession
Description

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

MethodgetCoordinateMetadata
Description

Gets the metadata for a coordinate.

Returnosid.Metadata metadata for the coodinate
Compliancemandatory This method must be implemented.
MethodsetCoordinate
Description

Sets the coordinate.

Parametersosid.mapping.Coordinatecoordinate the new coordinate
ErrorsINVALID_ARGUMENT coordinate is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT coordinate is null
UNSUPPORTED coordinate type is not supported
Compliancemandatory This method must be implemented.
MethodclearCoordinate
Description

Removes the coordinate.

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

Gets the metadata for the signal states.

Returnosid.Metadata metadata for the states
Compliancemandatory This method must be implemented.
MethodsetStates
Description

Sets the signal states.

Parametersosid.id.IdListstateIds the new states
ErrorsINVALID_ARGUMENT stateIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT stateIds is null
Compliancemandatory This method must be implemented.
MethodclearStates
Description

Removes the signal states.

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

Gets the SignalFormRecord corresponding to the given signal record Type.

Parametersosid.type.TypesignalRecordType a signal record type
Returnosid.mapping.path.records.SignalFormRecord the signal form record
ErrorsNULL_ARGUMENT signalRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(signalRecordType) is false
Compliancemandatory This method must be implemented.