| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Use
BidirectB.builder() instead of private constructor to create new builder. |
protected |
Builder(BidirectB pObject)
Use
BidirectB.builder(BidirectB) instead of private constructor to create new builder. |
| Modifier and Type | Method and Description |
|---|---|
BidirectB |
build()
Method creates a new instance of class BidirectB.
|
BidirectB |
buildValidated()
Method creates a new validated instance of class BidirectB.
|
BidirectB.Builder |
setA(BidirectA pA)
Method sets association
a. |
protected Builder()
BidirectB.builder() instead of private constructor to create new builder.protected Builder(BidirectB pObject)
BidirectB.builder(BidirectB) instead of private constructor to create new builder.public BidirectB.Builder setA(BidirectA pA)
a.pA - Value to which a should be set.BidirectB.Builder Instance of this builder to support chaining setters. Method never returns null.public BidirectB build()
public BidirectB 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.