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 |
---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
java.lang.String |
getSubtype() |
int |
hashCode() |
boolean |
isValid()
Validate a bic.
|
void |
setBic(java.lang.String bic)
Set the bic code for this bic
|
void |
setSubtype(java.lang.String subtype) |
public BIC()
public BIC(java.lang.String bic)
bic
- the bic code to use in this bicpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getBic()
isValid()
public java.lang.String getInvalidCause()
null
if there's no invalid cause setpublic java.lang.String getSubtype()
public int hashCode()
hashCode
in class java.lang.Object
public boolean isValid()
true
if the bic is found to be valid and false
in other casejava.lang.IllegalStateException
- if bic is null
public void setBic(java.lang.String bic)
bic
- the bic codepublic void setSubtype(java.lang.String subtype)