@Valid public class BankAccount extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
BankAccount.Builder
Class implements builder to create a new instance of class BankAccount.
|
| Modifier | Constructor and Description |
|---|---|
protected |
BankAccount()
Default constructor is only intended to be used for deserialization as many frameworks required that.
|
protected |
BankAccount(BankAccount.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static BankAccount.Builder |
builder()
Method returns a new builder.
|
static BankAccount.Builder |
builder(BankAccount pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
static BankAccount.Builder |
builder(String pIban)
Method creates a new builder and initializes it with the passed attributes.
|
String |
getIban()
Method returns the attribute "iban".
|
void |
setIban(String pIban)
Method sets the attribute "iban".
|
String |
toString()
Method creates a new String with the values of all attributes of this class.
|
StringBuilder |
toStringBuilder(String pIndent)
Method returns a StringBuilder that can be used to create a String representation of this object.
|
protected BankAccount()
protected BankAccount(BankAccount.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static BankAccount.Builder builder()
BankAccount.Builder New builder that can be used to create new BankAccount objects.public static BankAccount.Builder builder(BankAccount pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.BankAccount.Builder New builder that can be used to create new BankAccount objects. The method never returns
null.public static BankAccount.Builder builder(String pIban)
public String getIban()
public void setIban(String pIban)
pIban - Value to which the attribute "iban" should be set.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2022. All rights reserved.