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