| Interface | osid.room.squatting.Lease | ||
|---|---|---|---|
| Implements | osid.OsidRelationship | ||
| Description | 
                 A   | ||
| Method | getRoomId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the room  Id   | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRoom | ||
| Description | 
                     Gets the room.  | ||
| Return | osid.room.Room | the room | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getTenantId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the tenant  Id   | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getTenant | ||
| Description | 
                     Gets the tenant resource.  | ||
| Return | osid.resource.Resource | the resource | |
| Errors | OPERATION_FAILED | unable to complete request | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getLeaseRecord | ||
| Description | 
                     Gets the lease record corresponding to the given   | ||
| Parameters | osid.type.Type | leaseRecordType | the type of lease record to retrieve | 
| Return | osid.room.squatting.records.LeaseRecord | the lease record | |
| Errors | NULL_ARGUMENT |  leaseRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(leaseRecordType)  is  false   |                 ||
| Compliance | mandatory | This method must be implemented. | |