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