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

A Project is the initial construction of the building or a later construction, expansion, or renovation. The effective dates of the project indicate when this project was active.

MethodgetBuildingId
Description

Gets the Id of the building.

Returnosid.id.Idthe building Id
CompliancemandatoryThis method must be implemented.
MethodgetBuilding
Description

Gets the building.

Returnosid.room.Buildingthe building
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.
MethodgetProjectRecord
Description

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

Parametersosid.type.TypeprojectRecordTypethe type of project record to retrieve
Returnosid.room.construction.records.ProjectRecordthe project record
ErrorsNULL_ARGUMENT projectRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(projectRecordType) is false
CompliancemandatoryThis method must be implemented.