OSID Logo
OSID Specifications
mapping package
Version 3.1.0
Interfaceosid.mapping.Location
Implementsosid.OsidObject
osid.Federateable
Used Byosid.calendaring.Event
osid.calendaring.MeetingTime
osid.calendaring.OffsetEvent
osid.calendaring.Schedule
osid.inventory.Item
osid.mapping.LocationAdminSession
osid.mapping.LocationList
osid.mapping.LocationLookupSession
osid.mapping.LocationNode
osid.mapping.LocationSpatialSession
show 3 more…
osid.mapping.MyLocationSession
osid.mapping.ResourceLocation
osid.mapping.route.Route
Description

A Location represents a location in a Map.

MethodhasSpatialUnit
Description

Tests if a spatial unit is available for this location.

Returnboolean true if a spatial unit is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSpatialUnit
Description

Gets the spatial unit corresponding to this location.

Returnosid.mapping.SpatialUnit the spatial unit for this location
ErrorsILLEGAL_STATE hasSpatialUnit() is false
Compliancemandatory This method must be implemented.
MethodgetLocationRecord
Description

Gets the location record corresponding to the given Location record Type.This method is used to retrieve an object implementing the requested record. The locationRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(locationRecordType) is true.

Parametersosid.type.TypelocationRecordType the type of location record to retrieve
Returnosid.mapping.records.LocationRecord the location record
ErrorsNULL_ARGUMENT locationRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(locationRecordType) is false
Compliancemandatory This method must be implemented.