@Valid public class Campaign extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Campaign.Builder
Class implements builder to create a new instance of class
Campaign. |
| Modifier | Constructor and Description |
|---|---|
protected |
Campaign()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
Campaign(Campaign.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToDiscountOffers(Collection<String> pDiscountOffers)
Deprecated.
|
void |
addToDiscountOffers(String pDiscountOffers)
Deprecated.
|
void |
addToMoreLinks(Collection<Long> pMoreLinks)
Deprecated.
No good any more (since: 1.2, removed with: 3.0)
|
void |
addToMoreLinks(Long pMoreLinks)
Deprecated.
No good any more (since: 1.2, removed with: 3.0)
|
static Campaign.Builder |
builder()
Method returns a new builder.
|
static Campaign.Builder |
builder(Campaign pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
void |
clearDiscountOffers()
Deprecated.
|
void |
clearMoreLinks()
Deprecated.
|
List<String> |
getDiscountOffers()
Deprecated.
|
Set<Long> |
getMoreLinks()
Deprecated.
No good any more (since: 1.2, removed with: 3.0)
|
long |
getTheLink()
Deprecated.
Please use "moreLinks" instead. (since: 2.3.1, removed with: 2.4)
|
void |
removeFromDiscountOffers(String pDiscountOffers)
Deprecated.
|
void |
removeFromMoreLinks(Long pMoreLinks)
Deprecated.
|
void |
setTheLink(long pTheLink)
Deprecated.
Please use "moreLinks" instead. (since: 2.3.1, removed with: 2.4)
|
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 Campaign()
protected Campaign(Campaign.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static Campaign.Builder builder()
Campaign.Builder New builder that can be used to create new Campaign objects.public static Campaign.Builder builder(Campaign pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.Campaign.Builder New builder that can be used to create new Campaign objects. The method never returns null.@Deprecated public long getTheLink()
theLink.theLink is
com.anaptecs.jeaf.junit.openapi.base.LinkObjectlong Value to which theLink is set.@Deprecated public void setTheLink(long pTheLink)
theLink.pTheLink - Value to which theLink should be set.@Deprecated public Set<Long> getMoreLinks()
moreLinks.moreLinks is
com.anaptecs.jeaf.junit.openapi.base.LinkObjectSet Value to which moreLinks is set. The method never returns null and the returned
collection is modifiable.@Deprecated public void addToMoreLinks(Long pMoreLinks)
moreLinks.pMoreLinks - Object that should be added to moreLinks. The parameter must not be null.@Deprecated public void addToMoreLinks(Collection<Long> pMoreLinks)
moreLinks.pMoreLinks - Collection with all objects that should be added to moreLinks. The parameter must not be
null.@Deprecated public void removeFromMoreLinks(Long pMoreLinks)
moreLinks.pMoreLinks - Object that should be removed from moreLinks. The parameter must not be null.@Deprecated public void clearMoreLinks()
moreLinks.@Deprecated public List<String> getDiscountOffers()
discountOffers.discountOffers is
com.anaptecs.jeaf.junit.openapi.base.DiscountOfferList Value to which discountOffers is set. The method never returns null and the
returned collection is modifiable.@Deprecated public void addToDiscountOffers(String pDiscountOffers)
discountOffers.pDiscountOffers - Object that should be added to discountOffers. The parameter must not be null.@Deprecated public void addToDiscountOffers(Collection<String> pDiscountOffers)
discountOffers.pDiscountOffers - Collection with all objects that should be added to discountOffers. The parameter
must not be null.@Deprecated public void removeFromDiscountOffers(String pDiscountOffers)
discountOffers.pDiscountOffers - Object that should be removed from discountOffers. The parameter must not be null.@Deprecated public void clearDiscountOffers()
discountOffers.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.