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