OSID Logo
OSID Specifications
room squatting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.room.squatting.Deed
Implementsosid.OsidRelationship
Description

A Deed represents ownership of a building.

MethodgetBuildingId
Description

Gets the Id of the owner building.

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

Gets the owner building.

Returnosid.room.Buildingthe building
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetOwnerId
Description

Gets the Id of the owner resource.

Returnosid.id.Idthe resource Id
CompliancemandatoryThis method must be implemented.
MethodgetOwner
Description

Gets the owner resource.

Returnosid.resource.Resourcethe resource
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetDeedRecord
Description

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

Parametersosid.type.TypedeedRecordTypethe type of deed record to retrieve
Returnosid.room.squatting.records.DeedRecordthe deed record
ErrorsNULL_ARGUMENT deedRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(deedRecordType) is false
CompliancemandatoryThis method must be implemented.