Interface ITownHouse
-
- All Superinterfaces:
IBuilding
- All Known Subinterfaces:
IGabledHouse
,IHalfTimberedHouse
,IMerchantHouse
public interface ITownHouse extends IBuilding
Basic interface defining the town houses- Author:
- Andi Hotz, (c) Sahits GmbH, 2012 Created on Jul 20, 2012
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
computeRentalIncome()
Compute the rental income for one dayint
getCapacity()
retrieve the capacity of the houseint
getOccupancy()
Retrieve the occupancy of the housevoid
getRentPerTenant()
Retrieve the rent a tenant has to pay per month
-
-
-
Method Detail
-
getCapacity
int getCapacity()
retrieve the capacity of the house- Returns:
- capacity of inhabitants
-
getOccupancy
int getOccupancy()
Retrieve the occupancy of the house
-
computeRentalIncome
int computeRentalIncome()
Compute the rental income for one day- Returns:
- rental income per day
-
getRentPerTenant
void getRentPerTenant()
Retrieve the rent a tenant has to pay per month
-
-