Interface IMediterreanCity
-
- All Known Implementing Classes:
MediterreanCity
public interface IMediterreanCity
Model for a city in the mediterrean.- Author:
- Andi Hotz, (c) Sahits GmbH, 2016 Created on Dec 04, 2016
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<IWare>
getConsumingWares()
Get the two wares that are consumed by the city.java.lang.String
getName()
Get the city name.java.util.List<IWare>
getProducingWares()
Get the two wares that are produced in the city.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Get the city name.- Returns:
- name of the city
-
getConsumingWares
java.util.List<IWare> getConsumingWares()
Get the two wares that are consumed by the city.- Returns:
- list of wares that are requested by the city.
-
getProducingWares
java.util.List<IWare> getProducingWares()
Get the two wares that are produced in the city.- Returns:
- list of wares that are provided by the city.
-
-