public abstract static class ResellerBase.BuilderBase extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
BuilderBase()
Use
Reseller.builder() instead of protected constructor to create new builder. |
protected |
BuilderBase(ResellerBase pObject)
Use
Reseller.builder(Reseller) instead of protected constructor to create new builder. |
| Modifier and Type | Method and Description |
|---|---|
Reseller |
build()
Method creates a new instance of class Reseller.
|
Reseller |
buildValidated()
Method creates a new validated instance of class Reseller.
|
ResellerBase.BuilderBase |
setChannels(List<Channel> pChannels)
Method sets the association "channels".
|
ResellerBase.BuilderBase |
setID(com.anaptecs.jeaf.xfun.api.common.ObjectIdentity<?> pObjectID)
Method sets the identifier for the object created using the builder.
|
ResellerBase.BuilderBase |
setLanguage(Locale pLanguage)
Method sets the attribute "language".
|
ResellerBase.BuilderBase |
setName(String pName)
Method sets the attribute "name".
|
ResellerBase.BuilderBase |
setProducts(Set<Product> pProducts)
Method sets the association "products".
|
protected BuilderBase()
Reseller.builder() instead of protected constructor to create new builder.protected BuilderBase(ResellerBase pObject)
Reseller.builder(Reseller) instead of protected constructor to create new builder.public ResellerBase.BuilderBase setID(com.anaptecs.jeaf.xfun.api.common.ObjectIdentity<?> pObjectID)
public ResellerBase.BuilderBase setChannels(List<Channel> pChannels)
pChannels - Collection with objects to which the association should be set.public ResellerBase.BuilderBase setProducts(Set<Product> pProducts)
pProducts - Collection with objects to which the association should be set.public ResellerBase.BuilderBase setName(String pName)
pName - Value to which the attribute "name" should be set.public ResellerBase.BuilderBase setLanguage(Locale pLanguage)
pLanguage - Value to which the attribute "language" should be set.public Reseller build()
public Reseller buildValidated() throws javax.validation.ConstraintViolationException
javax.validation.ConstraintViolationException - in case that one or more validations for the created object failed.Copyright © 2022. All rights reserved.