| 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 the association "a". the 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)
pA - BidirectA to which the association "a" should be set.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 © 2022. All rights reserved.