@Valid public abstract class ChildA extends ParentClass
| Modifier and Type | Class and Description |
|---|---|
static class |
ChildA.Builder
Class implements builder to create a new instance of class
ChildA. |
| Modifier | Constructor and Description |
|---|---|
protected |
ChildA()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
ChildA(ChildA.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getChildAAttribute()
Method returns attribute
childAAttribute. |
void |
setChildAAttribute(int pChildAAttribute)
Method sets attribute
childAAttribute. |
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.
|
addToIbans, addToIbans, addToLegacyBankAccounts, addToLegacyBankAccounts, builder, builder, builder, clearIbans, clearLegacyBankAccounts, getIbans, getLegacyBankAccounts, getParentAttribute, getTheBankAccount, removeFromIbans, removeFromLegacyBankAccounts, setParentAttribute, setTheBankAccount, unsetTheBankAccountprotected ChildA()
protected ChildA(ChildA.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public int getChildAAttribute()
childAAttribute.childAAttribute is set.public void setChildAAttribute(int pChildAAttribute)
childAAttribute.pChildAAttribute - Value to which childAAttribute should be set.public StringBuilder toStringBuilder(String pIndent)
toStringBuilder in class ParentClassStringBuilder StringBuilder representing this object. The method never returns null.public String toString()
toString in class ParentClassString String representation of this object. The method never returns null.Copyright © 2023. All rights reserved.