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

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

public class StrategyC1
extends java.lang.Object
implements Strategy

Author:
ninan

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

StrategyC1

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