|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.plausj.bank.german.BankAccount
public class BankAccount
This is a german bank account object.
| Field Summary | |
|---|---|
static int |
AMBIGUOUS1
Some strategies said this bank account is valid, some said it is invalid |
static int |
AMBIGUOUS2
Some strategies said this bank account is valid, some said they are not responsible |
static int |
AMBIGUOUS3
Some strategies said this bank account is invalid, some said they are not responsible |
static int |
AMBIGUOUS4
Some strategies said this bank account is valid, some said it is invalid and some said they are not responsible |
static int |
BANK_CODE_NOT_FOUND
Used to signal that the bank code was not found |
static int |
INVALID
All strategies said this bank account is invalid |
static int |
NOCHECK
No strategy is responsible for this bank account |
static int |
NOT_IMPLEMENTED
Used to signal that the strategy referenced by the bank code is not implemented |
static int |
VALID
All strategies said this bank account is valid |
| Constructor Summary | |
|---|---|
BankAccount(BankCode bankCode,
AccountCode accountCode)
The default CTOR for a bank account. |
|
BankAccount(java.lang.String bankCode,
java.lang.String accountCode)
An comfort CTOR using strings instead of objects for bank code and account code |
|
| Method Summary | |
|---|---|
AccountCode |
getAccountCode()
|
BankCode |
getBankCode()
|
int |
getValidity()
Returns the validity of this bank account. |
java.lang.String |
getValidityAsString()
Return the validity as string constant |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int NOCHECK
public static final int VALID
public static final int INVALID
public static final int BANK_CODE_NOT_FOUND
public static final int NOT_IMPLEMENTED
public static final int AMBIGUOUS1
public static final int AMBIGUOUS2
public static final int AMBIGUOUS3
public static final int AMBIGUOUS4
| Constructor Detail |
|---|
public BankAccount(BankCode bankCode,
AccountCode accountCode)
throws java.lang.IllegalArgumentException
bankCode - The bank code of the accountaccountCode - The account code
java.lang.IllegalArgumentException - If bank account or bank code are invalid this exception is
thrown
public BankAccount(java.lang.String bankCode,
java.lang.String accountCode)
throws java.lang.IllegalArgumentException
bankCode - The bank code of the accountaccountCode - The account code
java.lang.IllegalArgumentException - If bank account or bank code are invalid this exception is
thrown| Method Detail |
|---|
public int getValidity()
NOCHECK,
VALID,
INVALID,
BankAccount#BLZ_NOT_FOUND,
NOT_IMPLEMENTED,
AMBIGUOUS1,
AMBIGUOUS2,
AMBIGUOUS3,
AMBIGUOUS4public java.lang.String getValidityAsString()
public AccountCode getAccountCode()
public BankCode getBankCode()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||