@Valid public class ParentClass extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
ParentClass.Builder
Class implements builder to create a new instance of class
ParentClass. |
| Modifier | Constructor and Description |
|---|---|
protected |
ParentClass()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
ParentClass(ParentClass.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToIbans(Collection<IBAN> pIbans)
Method adds all passed objects to
ibans. |
void |
addToIbans(IBAN pIbans)
Method adds the passed object to
ibans. |
void |
addToLegacyBankAccounts(BankAccount pLegacyBankAccounts)
Deprecated.
|
void |
addToLegacyBankAccounts(Collection<BankAccount> pLegacyBankAccounts)
Deprecated.
|
static ParentClass.Builder |
builder()
Method returns a new builder.
|
static ParentClass.Builder |
builder(ParentClass pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
static ParentClass.Builder |
builder(String pParentAttribute)
Method creates a new builder and initializes it with the passed attributes.
|
void |
clearIbans()
Method removes all objects from
ibans. |
void |
clearLegacyBankAccounts()
Deprecated.
|
Set<IBAN> |
getIbans()
Method returns association
ibans. |
List<BankAccount> |
getLegacyBankAccounts()
Deprecated.
|
String |
getParentAttribute()
Method returns attribute
parentAttribute. |
BankAccount |
getTheBankAccount()
Deprecated.
|
void |
removeFromIbans(IBAN pIbans)
Method removes the passed object from
ibans. |
void |
removeFromLegacyBankAccounts(BankAccount pLegacyBankAccounts)
Deprecated.
|
void |
setParentAttribute(String pParentAttribute)
Method sets attribute
parentAttribute. |
void |
setTheBankAccount(BankAccount pTheBankAccount)
Deprecated.
|
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.
|
void |
unsetTheBankAccount()
Deprecated.
|
protected ParentClass()
protected ParentClass(ParentClass.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static ParentClass.Builder builder()
ParentClass.Builder New builder that can be used to create new ParentClass objects.public static ParentClass.Builder builder(ParentClass pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.ParentClass.Builder New builder that can be used to create new ParentClass objects. The method never returns
null.public static ParentClass.Builder builder(String pParentAttribute)
public String getParentAttribute()
parentAttribute.String Value to which parentAttribute is set.public void setParentAttribute(String pParentAttribute)
parentAttribute.pParentAttribute - Value to which parentAttribute should be set.public Set<IBAN> getIbans()
ibans.Set Value to which ibans is set. The method never returns null and the returned
collection is modifiable.public void addToIbans(IBAN pIbans)
ibans.pIbans - Object that should be added to ibans. The parameter must not be null.public void addToIbans(Collection<IBAN> pIbans)
ibans.pIbans - Collection with all objects that should be added to ibans. The parameter must not be null.public void removeFromIbans(IBAN pIbans)
ibans.pIbans - Object that should be removed from ibans. The parameter must not be null.public void clearIbans()
ibans.@Deprecated public BankAccount getTheBankAccount()
theBankAccount.BankAccount Value to which theBankAccount is set.@Deprecated public void setTheBankAccount(BankAccount pTheBankAccount)
theBankAccount.pTheBankAccount - Value to which theBankAccount should be set.@Deprecated public final void unsetTheBankAccount()
theBankAccount.@Deprecated public List<BankAccount> getLegacyBankAccounts()
legacyBankAccounts.List Value to which legacyBankAccounts is set. The method never returns null
and the returned collection is modifiable.@Deprecated public void addToLegacyBankAccounts(BankAccount pLegacyBankAccounts)
legacyBankAccounts.pLegacyBankAccounts - Object that should be added to legacyBankAccounts. The parameter must not be
null.@Deprecated public void addToLegacyBankAccounts(Collection<BankAccount> pLegacyBankAccounts)
legacyBankAccounts.pLegacyBankAccounts - Collection with all objects that should be added to legacyBankAccounts. The
parameter must not be null.@Deprecated public void removeFromLegacyBankAccounts(BankAccount pLegacyBankAccounts)
legacyBankAccounts.pLegacyBankAccounts - Object that should be removed from legacyBankAccounts. The parameter must not
be null.@Deprecated public void clearLegacyBankAccounts()
legacyBankAccounts.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.