@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 as many frameworks required that.
|
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.
|
ChannelCode |
getChannelCode()
Method returns the association "channelCode".
|
ChannelType |
getChannelType()
Method returns the association "channelType".
|
int |
getCode()
Method returns the attribute "code".
|
Reseller |
getReseller()
Method returns the association "reseller".
|
boolean |
getSelfServiceChannel()
Method returns the attribute "selfServiceChannel".
|
void |
setChannelCode(ChannelCode pChannelCode)
Method sets the association "channelCode".
|
void |
setChannelType(ChannelType pChannelType)
Method sets the association "channelType".
|
void |
setReseller(Reseller pReseller)
Method sets the 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 the association "channelCode".
|
void |
unsetChannelType()
Method unsets the association "channelType".
|
void |
unsetReseller()
Method unsets the association "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 ChannelType getChannelType()
public void setChannelType(ChannelType pChannelType)
pChannelType - ChannelType to which the association "channelType" should be set.public final void unsetChannelType()
public ChannelCode getChannelCode()
public void setChannelCode(ChannelCode pChannelCode)
pChannelCode - ChannelCode to which the association "channelCode" should be set.public final void unsetChannelCode()
public int getCode()
public boolean getSelfServiceChannel()
public Reseller getReseller()
public void setReseller(Reseller pReseller)
pReseller - Reseller to which the association "reseller" should be set.public final void unsetReseller()
public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2022. All rights reserved.