public class BIC
extends java.lang.Object
Constructor and Description |
---|
BIC()
Default constructor
|
BIC(java.lang.String bic)
Constructor with bic code
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBic()
Get the bic code of this bic.
|
java.lang.String |
getInvalidCause()
Get a human readable (english) string that gives information about why the bic was found invalid.
|
boolean |
isValid()
Validate a bic.
|
void |
setBic(java.lang.String bic)
Set the bic code for this bic
|
public BIC(java.lang.String bic)
bic
- the bic code to use in this bicpublic BIC()
public java.lang.String getBic()
isValid()
public void setBic(java.lang.String bic)
bic
- the bic codepublic java.lang.String getInvalidCause()
null
if there's no invalid cause setpublic boolean isValid()
true
if the bic is found to be valid and false
in other casejava.lang.IllegalStateException
- if bic is null