Interface IWarehouseTenant
-
- All Superinterfaces:
IPerson,ISideRoomPerson,ITavernPerson
- All Known Implementing Classes:
WarehouseTenant
public interface IWarehouseTenant extends ISideRoomPerson
Trader who looks to store goods in another warehouse.- Author:
- Andi Hotz, (c) Sahits GmbH, 2013 Created on Jan 27, 2013
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAmount()Retrieve the amount to be stored in bales.java.lang.StringgetName()Retrieve the name of the trader.intgetRentPerWeek()Retrieve the sum that will be payed per week.voidsetAmount(int amount)Set the required amount of space to be rentedvoidsetName(java.lang.String name)Set the tenents name-
Methods inherited from interface ch.sahits.game.openpatrician.model.people.ITavernPerson
arrive, getArrivalDate, getMaxDaysAbsent, getMaxDaysPresent, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leave, setCity
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Retrieve the name of the trader.- Returns:
- of the warehouse tenant
-
getAmount
int getAmount()
Retrieve the amount to be stored in bales.- Returns:
- amount required to store in bales.
-
getRentPerWeek
int getRentPerWeek()
Retrieve the sum that will be payed per week.- Returns:
- weekly rent
-
setName
void setName(java.lang.String name)
Set the tenents name- Parameters:
name- of the warehouse tenant
-
setAmount
void setAmount(int amount)
Set the required amount of space to be rented- Parameters:
amount- of space in bales.
-
-