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