banking
Class InterAccountOperations

java.lang.Object
  extended bybanking.InterAccountOperations

public class InterAccountOperations
extends java.lang.Object

A class that provides inter-account operations.

Version:
1.0 - 13/01/2004
Author:
Sara Bouchenak

Constructor Summary
InterAccountOperations()
           
 
Method Summary
static void transfer(Account from, Account to, float amount)
          Performs funds transfer between two banking accounts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterAccountOperations

public InterAccountOperations()
Method Detail

transfer

public static void transfer(Account from,
                            Account to,
                            float amount)
                     throws AccountException
Performs funds transfer between two banking accounts.

Parameters:
from - The origin account for funds transfer
to - The target account for funds transfer
amount - The amount to transfer
Throws:
AccountException - If a problem occurs during the debit operation, e.g., insufficient balance.


University Grenoble 1 (France) - Department of Computer Science
Master M1 - Adaptable Middleware - AOP / AspectJ.