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