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