Interface IStorage

  • All Known Implementing Classes:
    Storage

    public interface IStorage
    Additional over all ware houses connected to a trading office
    Author:
    Andi Hotz, (c) Sahits GmbH, 2012 Created on Jul 25, 2012
    • 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.