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