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