Class Channel
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.ChannelBase
-
- com.anaptecs.jeaf.junit.openapi.base.Channel
-
- All Implemented Interfaces:
com.anaptecs.jeaf.core.api.ServiceObject,java.io.Serializable
@Valid public class Channel extends ChannelBase
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChannel.BuilderClass implements builder to create a new instance of class Channel.-
Nested classes/interfaces inherited from class com.anaptecs.jeaf.junit.openapi.base.ChannelBase
ChannelBase.BuilderBase
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedChannel()Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.protectedChannel(ChannelBase.BuilderBase pBuilder)Initialize object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Channel.Builderbuilder()Method returns a new builder.static Channel.Builderbuilder(Channel pObject)Method creates a new builder and initialize it with the data from the passed object.static Channel.Builderbuilder(ChannelType pChannelType, ChannelCode pChannelCode, int pCode, java.lang.Boolean pSelfServiceChannel, Reseller pReseller)Method creates a new builder and initializes it with the passed attributes.java.lang.StringgetDerivedSomething()Method returns attribute#derivedSomething.-
Methods inherited from class com.anaptecs.jeaf.junit.openapi.base.ChannelBase
getChannelCode, getChannelType, getCode, getReseller, getSelfServiceChannel, setChannelCode, setChannelType, setReseller, toString, toStringBuilder, unsetChannelCode, unsetChannelType, unsetReseller
-
-
-
-
Constructor Detail
-
Channel
protected Channel()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal" object creation builder should be used instead.
-
Channel
protected Channel(ChannelBase.BuilderBase pBuilder)
Initialize object. Nothing special to do.
-
-
Method Detail
-
builder
public static Channel.Builder builder()
Method returns a new builder.- Returns:
Channel.BuilderNew builder that can be used to create new Channel objects.
-
builder
public static Channel.Builder builder(Channel pObject)
Method creates a new builder and initialize it with the data from the passed object.- Parameters:
pObject- Object that should be used to initialize the builder. The parameter may be null.- Returns:
Channel.BuilderNew builder that can be used to create new Channel objects. The method never returns null.
-
builder
public static Channel.Builder builder(ChannelType pChannelType, ChannelCode pChannelCode, int pCode, java.lang.Boolean pSelfServiceChannel, Reseller pReseller)
Method creates a new builder and initializes it with the passed attributes.
-
getDerivedSomething
public java.lang.String getDerivedSomething()
Method returns attribute#derivedSomething.- Specified by:
getDerivedSomethingin classChannelBase- Returns:
StringValue to which#derivedSomethingis set.
-
-