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

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

public class StrategyB8
extends java.lang.Object
implements Strategy

Author:
ninan

Constructor Summary
StrategyB8()
           
 
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

StrategyB8

public StrategyB8()
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.