public interface Renovation extends OsidObject, Temporal
A Renovation represents a construction project within a
building.
| Modifier and Type | Method and Description |
|---|---|
Currency |
getCost()
Gets the cost for this renovation.
|
RenovationRecord |
getRenovationRecord(Type renovationRecordType)
Gets the renovation record corresponding to the given
Renovation record Type. |
IdList |
getRoomIds()
Gets the
Id of the affected rooms. |
RoomList |
getRooms()
Gets the affected rooms.
|
boolean |
hasCost()
Tests if this renovation has a cost.
|
getDescription, getDisplayName, getGenusType, isOfGenusTypegetId, isCurrentgetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypegetEndDate, getStartDate, isEffectiveIdList getRoomIds()
Id of the affected rooms. Id mandatory - This method must be implemented. RoomList getRooms() throws OperationFailedException
OperationFailedException - unable to complete requestmandatory - This method must be implemented. boolean hasCost()
true if a cost is available, false
otherwisemandatory - This method must be implemented. Currency getCost()
IllegalStateException - hasCost() is
false mandatory - This method must be implemented. RenovationRecord getRenovationRecord(Type renovationRecordType) throws OperationFailedException
Renovation record Type. This method is used to
retrieve an object implementing the requested record. The
renovationRecordType may be the Type returned
in getRecordTypes() or any of its parents in a
Type hierarchy where
hasRecordType(renovationRecordType) is true .renovationRecordType - the type of renovation record to retrieveNullArgumentException - renovationRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(renovationRecordType) is false
mandatory - This method must be implemented.