public static class BusinessParent.Builder extends TechParent.Builder
BusinessParent.| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Use
BusinessParent.builder() instead of private constructor to create new builder. |
protected |
Builder(BusinessParent pObject)
Use
BusinessParent.builder(BusinessParent) instead of private constructor to create new builder. |
| Modifier and Type | Method and Description |
|---|---|
BusinessParent |
build()
Method creates a new instance of class BusinessParent.
|
BusinessParent |
buildValidated()
Method creates a new validated instance of class BusinessParent.
|
BusinessParent.Builder |
setParentAttribute(long pParentAttribute)
Method sets attribute
parentAttribute. |
BusinessParent.Builder |
setTechAttribute(String pTechAttribute)
Method sets attribute
TechParent.techAttribute. |
protected Builder()
BusinessParent.builder() instead of private constructor to create new builder.protected Builder(BusinessParent pObject)
BusinessParent.builder(BusinessParent) instead of private constructor to create new builder.public BusinessParent.Builder setTechAttribute(String pTechAttribute)
TechParent.techAttribute.setTechAttribute in class TechParent.BuilderpTechAttribute - Value to which TechParent.techAttribute should be set.BusinessParent.Builder Instance of this builder to support chaining setters. Method never returns null.public BusinessParent.Builder setParentAttribute(long pParentAttribute)
parentAttribute.pParentAttribute - Value to which parentAttribute should be set.BusinessParent.Builder Instance of this builder to support chaining setters. Method never returns null.public BusinessParent build()
build in class TechParent.Builderpublic BusinessParent buildValidated() throws javax.validation.ConstraintViolationException
buildValidated in class TechParent.Builderjavax.validation.ConstraintViolationException - in case that one or more validations for the created object failed.Copyright © 2023. All rights reserved.