public static class BigIntegerCode.Builder extends Object
BigIntegerCode.| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Use
BigIntegerCode.builder() instead of private constructor to create new builder. |
protected |
Builder(BigIntegerCode pObject)
Use
BigIntegerCode.builder(BigIntegerCode) instead of private constructor to create new builder. |
| Modifier and Type | Method and Description |
|---|---|
BigIntegerCode |
build()
Method creates a new instance of class BigIntegerCode.
|
BigIntegerCode |
buildValidated()
Method creates a new validated instance of class BigIntegerCode.
|
BigIntegerCode.Builder |
setCode(BigInteger pCode)
Method sets attribute
code. |
protected Builder()
BigIntegerCode.builder() instead of private constructor to create new builder.protected Builder(BigIntegerCode pObject)
BigIntegerCode.builder(BigIntegerCode) instead of private constructor to create new builder.public BigIntegerCode.Builder setCode(BigInteger pCode)
code.pCode - Value to which code should be set.BigIntegerCode.Builder Instance of this builder to support chaining setters. Method never returns null.public BigIntegerCode build()
public BigIntegerCode 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.