| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Use
Channel.builder() instead of private constructor to create new builder. |
protected |
Builder(Channel pObject)
Use
Channel.builder(Channel) instead of private constructor to create new builder. |
| Modifier and Type | Method and Description |
|---|---|
Channel |
build()
Method creates a new instance of class Channel.
|
Channel |
buildValidated()
Method creates a new validated instance of class Channel.
|
Channel.Builder |
setChannelCode(ChannelCode pChannelCode)
Method sets the association "channelCode".
|
Channel.Builder |
setChannelType(ChannelType pChannelType)
Method sets the association "channelType".
|
Channel.Builder |
setCode(int pCode)
Method sets the attribute "code".
|
Channel.Builder |
setReseller(Reseller pReseller)
Method sets the association "reseller".
|
Channel.Builder |
setSelfServiceChannel(boolean pSelfServiceChannel)
Method sets the attribute "selfServiceChannel".
|
protected Builder()
Channel.builder() instead of private constructor to create new builder.protected Builder(Channel pObject)
Channel.builder(Channel) instead of private constructor to create new builder.public Channel.Builder setChannelType(ChannelType pChannelType)
pChannelType - ChannelType to which the association "channelType" should be set.public Channel.Builder setChannelCode(ChannelCode pChannelCode)
pChannelCode - ChannelCode to which the association "channelCode" should be set.public Channel.Builder setCode(int pCode)
pCode - Value to which the attribute "code" should be set.public Channel.Builder setSelfServiceChannel(boolean pSelfServiceChannel)
pSelfServiceChannel - Value to which the attribute "selfServiceChannel" should be set.public Channel.Builder setReseller(Reseller pReseller)
pReseller - Reseller to which the association "reseller" should be set.public Channel build()
public Channel 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.