Class DonationRequestState
- java.lang.Object
-
- ch.sahits.game.openpatrician.clientserverinterface.model.event.DonationRequestState
-
- All Implemented Interfaces:
IDialogState
,IEventMetaDataProvider
public class DonationRequestState extends java.lang.Object implements IDialogState
Request for a donation.- Author:
- Andi Hotz, (c) Sahits GmbH, 2018 Created on Nov 02, 2018
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
accepted
private int
amount
private java.lang.String
className
private java.time.LocalDateTime
date
private boolean
genderMale
private java.lang.String
location
private java.lang.String
messageKey
private java.lang.String
methodName
private java.lang.String
toLastName
-
Constructor Summary
Constructors Constructor Description DonationRequestState(java.time.LocalDateTime date, java.lang.String location, boolean genderMale, int amount, java.lang.String messageKey, java.lang.String toLastName, boolean accepted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDialogBeanName()
Retrieve the bean name of the dialog.java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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
-
genderMale
private boolean genderMale
-
amount
private int amount
-
messageKey
private java.lang.String messageKey
-
toLastName
private java.lang.String toLastName
-
className
private java.lang.String className
-
methodName
private java.lang.String methodName
-
accepted
private boolean accepted
-
-
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.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-