OSID Logo
OSID Specifications
room package
Version 3.1.0
Interfaceosid.room.FloorForm
Implementsosid.OsidObjectForm
osid.OsidTemporalForm
osid.OsidSubjugateableForm
Implemented Byosid.room.batch.FloorBatchForm
Used Byosid.room.FloorAdminSession
Description

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

MethodgetNumberMetadata
Description

Gets the metadata for a number.

Returnosid.Metadata metadata for the number
Compliancemandatory This method must be implemented.
MethodsetNumber
Description

Sets the building number.

Parametersstringnumber the new number
ErrorsINVALID_ARGUMENT number is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT number is null
Compliancemandatory This method must be implemented.
MethodclearNumber
Description

Clears the number.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetGrossAreaMetadata
Description

Gets the metadata for the gross area.

Returnosid.Metadata metadata for the area
Compliancemandatory This method must be implemented.
MethodsetGrossArea
Description

Sets the gross area.

Parametersdecimalarea the new area
ErrorsINVALID_ARGUMENT area is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearGrossArea
Description

Clears the area.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetFloorFormRecord
Description

Gets the FloorFormRecord corresponding to the given floor record Type.

Parametersosid.type.TypefloorRecordType the floor record type
Returnosid.room.records.FloorFormRecord the floor form record
ErrorsNULL_ARGUMENT floorRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(floorRecordType) is false
Compliancemandatory This method must be implemented.