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