OSID Logo
OSID Specifications
room construction package
Version 3.0.0
Interfaceosid.room.construction.ProjectForm
Implementsosid.OsidObjectForm
osid.OsidTemporalForm
Implemented Byosid.room.construction.batch.ProjectBatchForm
Used Byosid.room.construction.ProjectAdminSession
Description

This is the form for creating and updating Projects . Like all OsidForms , various data elements may be set here for use in the create and update methods in the ProjectAdminSession . For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetCostMetadata
Description

Gets the metadata for the cost.

Returnosid.Metadatametadata for the cost
CompliancemandatoryThis method must be implemented.
MethodsetCost
Description

Sets the cost.

Parametersosid.financials.Currencycostthe new cost
ErrorsINVALID_ARGUMENTcost is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTcost is null
CompliancemandatoryThis method must be implemented.
MethodclearCost
Description

Clears the cost.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetProjectFormRecord
Description

Gets the ProjectFormRecord corresponding to the given project record Type .

Parametersosid.type.TypeprojectRecordTypethe project record type
Returnosid.room.construction.records.ProjectFormRecordthe project form record
ErrorsNULL_ARGUMENTprojectRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(projectRecordType) is false
CompliancemandatoryThis method must be implemented.