public static class ByteCodeType.Builder extends Object
| 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 the 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)
pCode - Value to which the attribute "code" should be set.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 © 2022. All rights reserved.