Interface ICityViolation
-
- All Known Subinterfaces:
ICustomsViolation
,IPirateSupportViolation
,IPlunderTradingOfficesViolation
,ISpecialTaxViolation
- All Known Implementing Classes:
CityViolation
,CustomsViolation
,PirateSupportViolation
,PlunderTradingOfficeViolation
,SpecialTaxViolation
public interface ICityViolation
Violation of a city against the hanseatic customs.- Author:
- Andi Hotz, (c) Sahits GmbH, 2014 Created on Dec 31, 2014
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ICity
getCity()
City that violated the customs.java.time.LocalDateTime
getDate()
Date when the violation was brought to the notice of the alderman.ECityViolationPunishment
getPunishment()
Retrieve the proposed punishment for the violation.
-
-
-
Method Detail
-
getCity
ICity getCity()
City that violated the customs.- Returns:
- city that commited the violation
-
getDate
java.time.LocalDateTime getDate()
Date when the violation was brought to the notice of the alderman.- Returns:
- when the violation was brought forward.
-
getPunishment
ECityViolationPunishment getPunishment()
Retrieve the proposed punishment for the violation.- Returns:
- proposed punishment for hte violation
-
-