OSID Logo
OSID Specifications
room construction package
Version 3.1.0
Interfaceosid.room.construction.Project
Implementsosid.OsidObject
osid.Temporal
Used Byosid.room.construction.ProjectAdminSession
osid.room.construction.ProjectList
osid.room.construction.ProjectLookupSession
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.Id the building Id
Compliancemandatory This method must be implemented.
MethodgetBuilding
Description

Gets the building.

Returnosid.room.Building the building
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodhasCost
Description

Tests if this renovation has a cost.

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

Gets the cost for this renovation.

Returnosid.financials.Currency the cost
ErrorsILLEGAL_STATE hasCost() is false
Compliancemandatory This 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.TypeprojectRecordType the type of project record to retrieve
Returnosid.room.construction.records.ProjectRecord the project record
ErrorsNULL_ARGUMENT projectRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(projectRecordType) is false
Compliancemandatory This method must be implemented.