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