public interface Room extends OsidObject, Temporal, Subjugateable
A Room.
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getArea()
Gets the area of this room in square feet.
|
Building |
getBuilding()
Gets the building.
|
Id |
getBuildingId()
Gets the
Id of the building. |
java.lang.String |
getCode()
Gets the room number within a floor (e.g.
|
DisplayText |
getDesignatedName()
Gets the designated or formal name of the room (e.g.
|
Room |
getEnclosingRoom()
Gets the enclosing room if this room is a subdivision.
|
Id |
getEnclosingRoomId()
Gets the enclosing room
Id if this room is a
subdivision. |
Floor |
getFloor()
Gets the floor.
|
Id |
getFloorId()
Gets the floor
Id. |
long |
getOccupancyLimit()
Gets the limit on occupancy of this room.
|
IdList |
getResourceIds()
Gets the
Ids of any resources in this room such as
projectors, white boards, or other classes of equiptment. |
ResourceList |
getResources()
Gets a list of resources in this room such as projectors, white
boards, or other classes of equiptment.
|
java.lang.String |
getRoomNumber()
Gets the complete room number including the building and floor (e.g.
|
RoomRecord |
getRoomRecord(Type roomRecordType)
Gets the room record corresponding to the given
Room
record Type. |
IdList |
getSubdivisionIds()
Gets the subdivision room
Ids if this room is
subdivided. |
RoomList |
getSubdivisions()
Gets the subdivision rooms if this room is subdivided.
|
boolean |
hasArea()
Tests if an area is available.
|
boolean |
isSubdivision()
Tests if this room is a subdivision of another room.
|
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
getEndDate, getStartDate, isEffective
Id getBuildingId()
Id
of the building. Id
mandatory
- This method must be implemented. Building getBuilding() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getFloorId()
Id.
Id
mandatory
- This method must be implemented. Floor getFloor() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean isSubdivision()
true
if this room is a subdivisiaion,
false
otherwisemandatory
- This method must be implemented. Id getEnclosingRoomId()
Id
if this room is a
subdivision. Id
IllegalStateException
- isSubdivision()
is false
mandatory
- This method must be implemented. Room getEnclosingRoom() throws OperationFailedException
IllegalStateException
- isSubdivision()
is false
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. IdList getSubdivisionIds()
Ids
if this room is
subdivided. Ids
mandatory
- This method must be implemented. RoomList getSubdivisions() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. DisplayText getDesignatedName()
mandatory
- This method must be implemented. java.lang.String getRoomNumber()
mandatory
- This method must be implemented. java.lang.String getCode()
mandatory
- This method must be implemented. boolean hasArea()
true
if an area is available, false
otherwisemandatory
- This method must be implemented. java.math.BigDecimal getArea()
IllegalStateException
- hasArea()
is
false
mandatory
- This method must be implemented. long getOccupancyLimit()
mandatory
- This method must be implemented. IdList getResourceIds()
Ids
of any resources in this room such as
projectors, white boards, or other classes of equiptment. Ids
mandatory
- This method must be implemented. ResourceList getResources() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. RoomRecord getRoomRecord(Type roomRecordType) throws OperationFailedException
Room
record Type.
This method is used to retrieve an object
implementing the requested record. The roomRecordType
may be the Type
returned in getRecordTypes()
or any of its parents in a Type
hierarchy where
hasRecordType(roomRecordType)
is true
.roomRecordType
- the type of room record to retrieveNullArgumentException
- roomRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(roomRecordType)
is false
mandatory
- This method must be implemented.