|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.plausj.bank.german.CheckDigit
public class CheckDigit
A check digit pointer. The value of the the pos property may have special meanings represented by the MAGICs in this class
ALWAYS_VALID,
ALWAYS_INVALID| Field Summary | |
|---|---|
static int |
ALWAYS_INVALID
If pos has this value, the check digit is always invalid |
static int |
ALWAYS_VALID
If pos has this value, the check digit is always valid |
static int |
BANK_CODE_NOT_FOUND
If pos has this value, the bank code was not found |
static CheckDigit |
NO_CHECK
Symbolic constant meaning there is no check |
static int |
NOT_IMPLEMENTED
If pos has this value, the check was not implemented |
| Constructor Summary | |
|---|---|
CheckDigit(int pos,
int digit)
The default CTOR for a check digit |
|
| Method Summary | |
|---|---|
int |
getDigit()
|
int |
getPos()
|
boolean |
isAlwaysInvalid()
Tells you if the check digit is always invalid |
boolean |
isAlwaysValid()
Tells you if the check digit is always valid |
boolean |
isBankCodeNotFound()
Tells you if the bank code was not found |
boolean |
isNotImplemented()
Tells you if the strategy for this bank code was not implemented |
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 CheckDigit NO_CHECK
public static final int ALWAYS_VALID
public static final int ALWAYS_INVALID
public static final int BANK_CODE_NOT_FOUND
public static final int NOT_IMPLEMENTED
| Constructor Detail |
|---|
public CheckDigit(int pos,
int digit)
pos - The position of the check digit on the account code. See
special meaning.digit - The check digit calculated by the method.| Method Detail |
|---|
public int getDigit()
public int getPos()
public boolean isAlwaysValid()
public boolean isAlwaysInvalid()
public boolean isBankCodeNotFound()
public boolean isNotImplemented()
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 | |||||||||