@Valid public class ChannelCode extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
ChannelCode.Builder
Class implements builder to create a new instance of class
ChannelCode. |
| Modifier | Constructor and Description |
|---|---|
protected |
ChannelCode()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
ChannelCode(ChannelCode.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static ChannelCode.Builder |
builder()
Method returns a new builder.
|
static ChannelCode.Builder |
builder(ChannelCode pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
static ChannelCode.Builder |
builder(String pCode)
Method creates a new builder and initializes it with the passed attributes.
|
boolean |
equals(Object pOtherObject) |
String |
getCode()
Method returns attribute
code. |
int |
hashCode() |
void |
setCode(String pCode)
Method sets attribute
code. |
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.
|
protected ChannelCode()
protected ChannelCode(ChannelCode.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static ChannelCode.Builder builder()
ChannelCode.Builder New builder that can be used to create new ChannelCode objects.public static ChannelCode.Builder builder(ChannelCode pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.ChannelCode.Builder New builder that can be used to create new ChannelCode objects. The method never returns
null.public static ChannelCode.Builder builder(String pCode)
public void setCode(String pCode)
code.pCode - Value to which code should be set.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.