@Valid public class Channel extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Channel.Builder
Class implements builder to create a new instance of class
Channel. |
| Modifier | Constructor and Description |
|---|---|
protected |
Channel()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
Channel(Channel.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static Channel.Builder |
builder()
Method returns a new builder.
|
static Channel.Builder |
builder(Channel pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
static Channel.Builder |
builder(ChannelType pChannelType,
ChannelCode pChannelCode,
int pCode,
Boolean pSelfServiceChannel,
Reseller pReseller)
Method creates a new builder and initializes it with the passed attributes.
|
ChannelCode |
getChannelCode()
Method returns association
channelCode. |
ChannelType |
getChannelType()
Method returns association
channelType. |
int |
getCode()
Method returns attribute
code. |
Reseller |
getReseller()
Method returns association
reseller. |
boolean |
getSelfServiceChannel()
Method returns attribute
selfServiceChannel. |
void |
setChannelCode(ChannelCode pChannelCode)
Method sets association
channelCode. |
void |
setChannelType(ChannelType pChannelType)
Method sets association
channelType. |
void |
setReseller(Reseller pReseller)
Method sets association
reseller. |
String |
toString()
Method creates a new String with the values of all attributes of this class.
|
StringBuilder |
toStringBuilder(String pIndent)
Method returns a StringBuilder that can be used to create a String representation of this object.
|
void |
unsetChannelCode()
Method unsets
channelCode. |
void |
unsetChannelType()
Method unsets
channelType. |
void |
unsetReseller()
Method unsets
reseller. |
protected Channel()
protected Channel(Channel.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static Channel.Builder builder()
Channel.Builder New builder that can be used to create new Channel objects.public static Channel.Builder builder(Channel pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.Channel.Builder New builder that can be used to create new Channel objects. The method never returns null.public static Channel.Builder builder(ChannelType pChannelType, ChannelCode pChannelCode, int pCode, Boolean pSelfServiceChannel, Reseller pReseller)
public ChannelType getChannelType()
channelType.ChannelType Value to which channelType is set.public void setChannelType(ChannelType pChannelType)
channelType.pChannelType - Value to which channelType should be set.public final void unsetChannelType()
channelType.public ChannelCode getChannelCode()
channelCode.ChannelCode Value to which channelCode is set.public void setChannelCode(ChannelCode pChannelCode)
channelCode.pChannelCode - Value to which channelCode should be set.public final void unsetChannelCode()
channelCode.public int getCode()
code.code is set.public boolean getSelfServiceChannel()
selfServiceChannel.selfServiceChannel is set.public void setReseller(Reseller pReseller)
reseller.pReseller - Value to which reseller should be set.public final void unsetReseller()
reseller.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.