@Valid public class BusinessChild extends BusinessParent
| Modifier and Type | Class and Description |
|---|---|
static class |
BusinessChild.Builder
Class implements builder to create a new instance of class
BusinessChild. |
| Modifier | Constructor and Description |
|---|---|
protected |
BusinessChild()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
BusinessChild(BusinessChild.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static BusinessChild.Builder |
builder()
Method returns a new builder.
|
static BusinessChild.Builder |
builder(BusinessChild pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
static BusinessChild.Builder |
builder(String pTechAttribute,
long pParentAttribute,
String pChildAttribute)
Method creates a new builder and initializes it with the passed attributes.
|
String |
getChildAttribute()
Method returns attribute
childAttribute. |
void |
setChildAttribute(String pChildAttribute)
Method sets attribute
childAttribute. |
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.
|
builder, builder, getParentAttribute, setParentAttributebuilder, builder, getTechAttribute, setTechAttributeprotected BusinessChild()
protected BusinessChild(BusinessChild.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static BusinessChild.Builder builder()
BusinessChild.Builder New builder that can be used to create new BusinessChild objects.public static BusinessChild.Builder builder(BusinessChild pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.BusinessChild.Builder New builder that can be used to create new BusinessChild objects. The method never returns
null.public static BusinessChild.Builder builder(String pTechAttribute, long pParentAttribute, String pChildAttribute)
public String getChildAttribute()
childAttribute.String Value to which childAttribute is set.public void setChildAttribute(String pChildAttribute)
childAttribute.pChildAttribute - Value to which childAttribute should be set.public StringBuilder toStringBuilder(String pIndent)
toStringBuilder in class BusinessParentStringBuilder StringBuilder representing this object. The method never returns null.public String toString()
toString in class BusinessParentString String representation of this object. The method never returns null.Copyright © 2023. All rights reserved.