| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Use
LongCode.builder() instead of private constructor to create new builder. |
protected |
Builder(LongCode pObject)
Use
LongCode.builder(LongCode) instead of private constructor to create new builder. |
| Modifier and Type | Method and Description |
|---|---|
LongCode |
build()
Method creates a new instance of class LongCode.
|
LongCode |
buildValidated()
Method creates a new validated instance of class LongCode.
|
LongCode.Builder |
setCode(Long pCode)
Method sets the attribute "code".
|
protected Builder()
LongCode.builder() instead of private constructor to create new builder.protected Builder(LongCode pObject)
LongCode.builder(LongCode) instead of private constructor to create new builder.public LongCode.Builder setCode(Long pCode)
pCode - Value to which the attribute "code" should be set.public LongCode build()
public LongCode 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.