Class PlagueState
- java.lang.Object
-
- ch.sahits.game.openpatrician.clientserverinterface.model.event.PlagueState
-
- All Implemented Interfaces:
IDialogState
,IEventMetaDataProvider
public class PlagueState extends java.lang.Object implements IDialogState
- Author:
- Andi Hotz, (c) Sahits GmbH, 2016 Created on Dec 11, 2016
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
className
private java.time.LocalDateTime
date
private int
deathtoll
private java.util.Optional<ISpouseData>
killedSpouse
private java.lang.String
location
private java.lang.String
methodName
private java.time.LocalDateTime
since
-
Constructor Summary
Constructors Constructor Description PlagueState(java.time.LocalDateTime date, java.lang.String location, java.time.LocalDateTime since, int deathtoll, java.util.Optional<ISpouseData> killedSpouse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDialogBeanName()
Retrieve the bean name of the dialog.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.sahits.game.openpatrician.utilities.IEventMetaDataProvider
getClassName, getMethodName
-
-
-
-
Field Detail
-
date
private java.time.LocalDateTime date
-
location
private java.lang.String location
-
since
private java.time.LocalDateTime since
-
deathtoll
private int deathtoll
-
killedSpouse
private java.util.Optional<ISpouseData> killedSpouse
-
className
private java.lang.String className
-
methodName
private java.lang.String methodName
-
-
Constructor Detail
-
PlagueState
public PlagueState(java.time.LocalDateTime date, java.lang.String location, java.time.LocalDateTime since, int deathtoll, java.util.Optional<ISpouseData> killedSpouse)
-
-
Method Detail
-
getDialogBeanName
public java.lang.String getDialogBeanName()
Description copied from interface:IDialogState
Retrieve the bean name of the dialog.- Specified by:
getDialogBeanName
in interfaceIDialogState
- Returns:
- name of the bean backing the dialog state.
-
-