@Valid public class BusinessA extends TechParent
| Modifier and Type | Class and Description |
|---|---|
static class |
BusinessA.Builder
Class implements builder to create a new instance of class
BusinessA. |
| Modifier | Constructor and Description |
|---|---|
protected |
BusinessA()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
BusinessA(BusinessA.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static BusinessA.Builder |
builder()
Method returns a new builder.
|
static BusinessA.Builder |
builder(BusinessA pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
static BusinessA.Builder |
builder(String pTechAttribute,
int pBusinessAttribute)
Method creates a new builder and initializes it with the passed attributes.
|
int |
getBusinessAttribute()
Method returns attribute
businessAttribute. |
void |
setBusinessAttribute(int pBusinessAttribute)
Method sets attribute
businessAttribute. |
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 BusinessA()
protected BusinessA(BusinessA.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static BusinessA.Builder builder()
BusinessA.Builder New builder that can be used to create new BusinessA objects.public static BusinessA.Builder builder(BusinessA pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.BusinessA.Builder New builder that can be used to create new BusinessA objects. The method never returns
null.public static BusinessA.Builder builder(String pTechAttribute, int pBusinessAttribute)
public int getBusinessAttribute()
businessAttribute.businessAttribute is set.public void setBusinessAttribute(int pBusinessAttribute)
businessAttribute.pBusinessAttribute - Value to which businessAttribute 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.