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