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