Interface IStorage
-
- All Known Implementing Classes:
Storage
public interface IStorageAdditional over all ware houses connected to a trading office- Author:
- Andi Hotz, (c) Sahits GmbH, 2012 Created on Jul 25, 2012
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javafx.beans.binding.IntegerBindingcostsPerDayBinding()Retrieve the daily cost for rent storagejavafx.beans.binding.IntegerBindingguardCostsPerDayBinding()Retrieve the costs for the guardsjavafx.beans.property.IntegerPropertynumberGuardsProperty()Retrieve the number of guardsjavafx.beans.property.IntegerPropertyrentOutStorageProperty()Retrieve the amount of storage in barrels that is rented by someone elsejavafx.beans.binding.ObjectBinding<ELevel>securityLevelBinding()Retrieve the security levelvoidupdateGuardsNumber(int update)Increase or decrease the number of guardsvoidupdateRendedSpace(int nbBarrels)Update the rented out space
-
-
-
Method Detail
-
rentOutStorageProperty
javafx.beans.property.IntegerProperty rentOutStorageProperty()
Retrieve the amount of storage in barrels that is rented by someone else- Returns:
- integer property for rented out storage
-
updateRendedSpace
void updateRendedSpace(int nbBarrels)
Update the rented out space- Parameters:
nbBarrels- rented out space in barrels
-
costsPerDayBinding
javafx.beans.binding.IntegerBinding costsPerDayBinding()
Retrieve the daily cost for rent storage- Returns:
- integer binding of daily costs for renting additional space.
-
numberGuardsProperty
javafx.beans.property.IntegerProperty numberGuardsProperty()
Retrieve the number of guards- Returns:
- IntegerProperty for number of guards.
-
guardCostsPerDayBinding
javafx.beans.binding.IntegerBinding guardCostsPerDayBinding()
Retrieve the costs for the guards- Returns:
- IntegerBinding for guard salary per day.
-
securityLevelBinding
javafx.beans.binding.ObjectBinding<ELevel> securityLevelBinding()
Retrieve the security level- Returns:
- object binding of security level
-
updateGuardsNumber
void updateGuardsNumber(int update)
Increase or decrease the number of guards- Parameters:
update- delta in the number of guards.
-
-