@Valid public abstract class ResellerBase extends Object implements com.anaptecs.jeaf.core.api.ServiceObject, com.anaptecs.jeaf.xfun.api.common.Identifiable<com.anaptecs.jeaf.core.api.ServiceObjectID>
| Modifier and Type | Class and Description |
|---|---|
static class |
ResellerBase.BuilderBase
Class implements builder to create a new instance of class Reseller.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ResellerBase()
Default constructor is only intended to be used for deserialization as many frameworks required that.
|
protected |
ResellerBase(ResellerBase.BuilderBase pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToChannels(Channel pChannels)
Method adds the passed Channel object to the association "channels".
|
void |
addToChannels(Collection<Channel> pChannels)
Method adds all passed objects to the association "channels".
|
void |
addToProducts(Collection<Product> pProducts)
Method adds all passed objects to the association "products".
|
void |
addToProducts(Product pProducts)
Method adds the passed Product object to the association "products".
|
void |
clearChannels()
Method removes all objects from the association "channels".
|
void |
clearProducts()
Method removes all objects from the association "products".
|
abstract Integer |
doSomething() |
List<Channel> |
getChannels()
Method returns the association "channels".
|
com.anaptecs.jeaf.core.api.ServiceObjectID |
getID()
Method returns the id of this object.
|
Locale |
getLanguage()
Method returns the attribute "language".
|
String |
getName()
Method returns the attribute "name".
|
Set<Product> |
getProducts()
Method returns the association "products".
|
com.anaptecs.jeaf.core.api.ServiceObjectID |
getUnversionedID()
Method returns the unversioned object id of this object.
|
void |
removeFromChannels(Channel pChannels)
Method removes the passed Channel object from the association "channels".
|
void |
removeFromProducts(Product pProducts)
Method removes the passed Product object from the association "products".
|
abstract double |
returnPrimitive() |
void |
setLanguage(Locale pLanguage)
Method sets the attribute "language".
|
void |
setName(String pName)
Method sets the attribute "name".
|
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 ResellerBase()
protected ResellerBase(ResellerBase.BuilderBase pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public final com.anaptecs.jeaf.core.api.ServiceObjectID getID()
getID in interface com.anaptecs.jeaf.xfun.api.common.Identifiable<com.anaptecs.jeaf.core.api.ServiceObjectID>ServiceObjectID ID of this object. Since an object must not have an id the method may also return
null.public final com.anaptecs.jeaf.core.api.ServiceObjectID getUnversionedID()
getUnversionedID in interface com.anaptecs.jeaf.xfun.api.common.Identifiable<com.anaptecs.jeaf.core.api.ServiceObjectID>ServiceObjectID ID of this object. Since an object must not have an id the method may also return
null.public List<Channel> getChannels()
public void addToChannels(Channel pChannels)
pChannels - Object that should be added to the association "channels". The parameter must not be null.public void addToChannels(Collection<Channel> pChannels)
pChannels - Collection with all objects that should be added to the association "channels". The parameter must
not be null.public void removeFromChannels(Channel pChannels)
pChannels - Object that should be removed from the association "channels". The parameter must not be null.public void clearChannels()
public Set<Product> getProducts()
public void addToProducts(Product pProducts)
pProducts - Object that should be added to the association "products". The parameter must not be null.public void addToProducts(Collection<Product> pProducts)
pProducts - Collection with all objects that should be added to the association "products". The parameter must
not be null.public void removeFromProducts(Product pProducts)
pProducts - Object that should be removed from the association "products". The parameter must not be null.public void clearProducts()
public String getName()
public void setName(String pName)
pName - Value to which the attribute "name" should be set.public Locale getLanguage()
public void setLanguage(Locale pLanguage)
pLanguage - Value to which the attribute "language" should be set.public abstract double returnPrimitive()
doublepublic StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2022. All rights reserved.