OSID Logo
OSID Specifications
room construction package
Version 3.0.0
Interfaceosid.room.construction.Renovation
Implementsosid.OsidObject
osid.Temporal
Used Byosid.room.construction.RenovationAdminSession
osid.room.construction.RenovationList
osid.room.construction.RenovationLookupSession
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.

Returnbooleantrue 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_STATEhasCost() 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_ARGUMENTrenovationRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(renovationRecordType) is false
CompliancemandatoryThis method must be implemented.