OSID Logo
OSID Specifications
room construction package
Version 3.0.0
Release Candidate Preview
Interfaceosid.room.construction.Renovation
Implementsosid.OsidObject
osid.Temporal
Description

A Renovation represents a construction project within a building.

MethodgetRoomIds
Description

Gets the Id of the affected rooms.

Returnosid.id.IdListthe room Id
CompliancemandatoryThis method must be implemented.
MethodgetRooms
Description

Gets the affected rooms.

Returnosid.room.RoomListthe rooms
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodhasCost
Description

Tests if this renovation has a cost.

Returnboolean true if a cost is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCost
Description

Gets the cost for this renovation.

Returnosid.financials.Currencythe cost
ErrorsILLEGAL_STATE hasCost() is false
CompliancemandatoryThis method must be implemented.
MethodgetRenovationRecord
Description

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

Parametersosid.type.TyperenovationRecordTypethe type of renovation record to retrieve
Returnosid.room.construction.records.RenovationRecordthe renovation record
ErrorsNULL_ARGUMENT renovationRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(renovationRecordType) is false
CompliancemandatoryThis method must be implemented.