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 booleanacceptedprivate intamountprivate java.lang.StringclassNameprivate java.time.LocalDateTimedateprivate booleangenderMaleprivate java.lang.Stringlocationprivate java.lang.StringmessageKeyprivate java.lang.StringmethodNameprivate java.lang.StringtoLastName
-
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.StringgetDialogBeanName()Retrieve the bean name of the dialog.java.lang.StringtoString()-
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:IDialogStateRetrieve the bean name of the dialog.- Specified by:
getDialogBeanNamein interfaceIDialogState- Returns:
- name of the bean backing the dialog state.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-