Package org.jmanikin.example.bank
Class AccountModule.Deposit
java.lang.Object
org.jmanikin.example.bank.AccountModule.Deposit
- All Implemented Interfaces:
Environment<AccountModule.ID,AccountModule.Account,java.lang.Void>,Message<AccountModule.ID,AccountModule.Account,java.lang.Void>,PreCondition<AccountModule.ID,AccountModule.Account,java.lang.Void>,AccountModule.AccountMsg,LocalMessage<AccountModule.ID,AccountModule.Account,java.lang.Void>
- Enclosing interface:
- AccountModule
public static class AccountModule.Deposit extends java.lang.Object implements AccountModule.AccountMsg
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jmanikin.message.LocalMessage
LocalMessage.LocalEnvironment<I extends Id<O>,O,E> -
Field Summary
Fields Modifier and Type Field Description java.lang.DoubleamountFields inherited from interface org.jmanikin.message.LocalMessage
localEnv -
Constructor Summary
Constructors Constructor Description Deposit(java.lang.Double amount) -
Method Summary
Modifier and Type Method Description Msg<AccountModule.ID,AccountModule.Account,java.lang.Void>local()Returns the Msg that has been build.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
amount
public final java.lang.Double amount
-
-
Constructor Details
-
Deposit
public Deposit(java.lang.Double amount)
-
-
Method Details
-
local
Description copied from interface:LocalMessageReturns the Msg that has been build.- Specified by:
localin interfaceLocalMessage<AccountModule.ID,AccountModule.Account,java.lang.Void>- Returns:
- the Msg that has been build
-