Class UeberweisungS

java.lang.Object
  extended by UeberweisungS
All Implemented Interfaces:
java.io.Serializable

public class UeberweisungS
extends java.lang.Object
implements java.io.Serializable

Represents a transactions from "KontoS[a]" to "KontoS[b]" using double "betrag" as amount and an array from KontoS as accounts. Will be deprecated, use Ueberweisung with Konto interface.

Author:
Heinz Kredel.
See Also:
Serialized Form

Field Summary
(package private)  int a
           
(package private)  int b
           
(package private)  double betrag
           
 
Constructor Summary
UeberweisungS(int A, int B, double be)
           
 
Method Summary
 void run(KontoS[] konten)
          Calls the methods "getGeld() and "putGeld()" to perform the acounting transaction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

int a

b

int b

betrag

double betrag
Constructor Detail

UeberweisungS

public UeberweisungS(int A,
                     int B,
                     double be)
Parameters:
A - An index to KontoS[].
B - An index to KontoS[].
be - a double, amount to transfer from account A to account B.
Method Detail

run

public void run(KontoS[] konten)
Calls the methods "getGeld() and "putGeld()" to perform the acounting transaction.

Parameters:
konten - "KontoS" Array, represents accounts.