@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 as many frameworks required that.
|
protected |
ChildA(ChildA.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getChildAAttribute()
Method returns the attribute "childAAttribute".
|
void |
setChildAAttribute(int pChildAAttribute)
Method sets the 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, builder, builder, builder, clearIbans, getIbans, getParentAttribute, removeFromIbans, setParentAttributeprotected 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()
public void setChildAAttribute(int pChildAAttribute)
pChildAAttribute - Value to which the attribute "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 © 2022. All rights reserved.