public interface Floor extends OsidObject, Temporal, Subjugateable
A Floor
represents a collection of rooms with a
Building.
Modifier and Type | Method and Description |
---|---|
Building |
getBuilding()
Gets the building.
|
Id |
getBuildingId()
Gets the
Id of the building. |
FloorRecord |
getFloorRecord(Type floorRecordType)
Gets the floor record corresponding to the given
Floor
record Type. |
java.math.BigDecimal |
getGrossArea()
Gets the gross square footage of this floor.
|
java.lang.String |
getNumber()
Gets the floor number.
|
boolean |
hasArea()
Tests if an area is available.
|
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. java.lang.String getNumber()
mandatory
- This method must be implemented. boolean hasArea()
true
if an area is available, false
otherwisemandatory
- This method must be implemented. java.math.BigDecimal getGrossArea()
IllegalStateException
- hasArea()
is
false
mandatory
- This method must be implemented. FloorRecord getFloorRecord(Type floorRecordType) throws OperationFailedException
Floor
record Type.
This method is used to retrieve an object
implementing the requested record. The floorRecordType
may be the Type
returned in getRecordTypes()
or any of its parents in a Type
hierarchy where
hasRecordType(floorRecordType)
is true
.floorRecordType
- the type of floor record to retrieveNullArgumentException
- floorRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(floorRecordType)
is false
mandatory
- This method must be implemented.