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