Package org.jmanikin.example.bank
Class TransferModule.Book
java.lang.Object
org.jmanikin.example.bank.TransferModule.Book
- All Implemented Interfaces:
Environment<TransferModule.ID,TransferModule.Transfer,java.lang.Void>,Message<TransferModule.ID,TransferModule.Transfer,java.lang.Void>,PreCondition<TransferModule.ID,TransferModule.Transfer,java.lang.Void>,TransferModule.TransferMsg,LocalMessage<TransferModule.ID,TransferModule.Transfer,java.lang.Void>
- Enclosing interface:
- TransferModule
public static class TransferModule.Book extends java.lang.Object implements TransferModule.TransferMsg
-
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.DoubleamountAccountModule.IDfromAccountModule.IDtoFields inherited from interface org.jmanikin.message.LocalMessage
localEnv -
Constructor Summary
Constructors Constructor Description Book(AccountModule.ID from, AccountModule.ID to, java.lang.Double amount) -
Method Summary
Modifier and Type Method Description Msg<TransferModule.ID,TransferModule.Transfer,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
-
from
-
to
-
amount
public final java.lang.Double amount
-
-
Constructor Details
-
Book
-
-
Method Details
-
local
Description copied from interface:LocalMessageReturns the Msg that has been build.- Specified by:
localin interfaceLocalMessage<TransferModule.ID,TransferModule.Transfer,java.lang.Void>- Returns:
- the Msg that has been build
-