public static class BigDecimalCode.Builder extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Use
BigDecimalCode.builder() instead of private constructor to create new builder. |
protected |
Builder(BigDecimalCode pObject)
Use
BigDecimalCode.builder(BigDecimalCode) instead of private constructor to create new builder. |
| Modifier and Type | Method and Description |
|---|---|
BigDecimalCode |
build()
Method creates a new instance of class BigDecimalCode.
|
BigDecimalCode |
buildValidated()
Method creates a new validated instance of class BigDecimalCode.
|
BigDecimalCode.Builder |
setCode(BigDecimal pCode)
Method sets the attribute "code".
|
protected Builder()
BigDecimalCode.builder() instead of private constructor to create new builder.protected Builder(BigDecimalCode pObject)
BigDecimalCode.builder(BigDecimalCode) instead of private constructor to create new builder.public BigDecimalCode.Builder setCode(BigDecimal pCode)
pCode - Value to which the attribute "code" should be set.public BigDecimalCode build()
public BigDecimalCode 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.