net.sf.plausj.bank.german.strategy
Class Strategy49

java.lang.Object
  extended by net.sf.plausj.bank.german.strategy.Strategy49
All Implemented Interfaces:
Strategy

public class Strategy49
extends java.lang.Object
implements Strategy

Author:
ninan

Constructor Summary
Strategy49()
           
 
Method Summary
 CheckDigit calculateCheckDigit(BankCode bankCode, AccountCode accountCode)
          This method must calculate the check digit and return it within an check digit object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Strategy49

public Strategy49()
Method Detail

calculateCheckDigit

public CheckDigit calculateCheckDigit(BankCode bankCode,
                                      AccountCode accountCode)
Description copied from interface: Strategy
This method must calculate the check digit and return it within an check digit object. It is called by the BankAccount class to calculate the validity. If null is returned it means this strategy is not responsible for the account code.

Specified by:
calculateCheckDigit in interface Strategy
Parameters:
bankCode - The bank code
accountCode - The account code
Returns:
The check digit of the account code
See Also:
Strategy.calculateCheckDigit(net.sf.plausj.bank.german.BankCode, net.sf.plausj.bank.german.AccountCode)


Copyright © 2005-2007 null. All Rights Reserved.