Class Product
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.ProductBase
-
- com.anaptecs.jeaf.junit.openapi.base.Product
-
- All Implemented Interfaces:
com.anaptecs.jeaf.core.api.ServiceObject,com.anaptecs.jeaf.xfun.api.common.Identifiable<com.anaptecs.jeaf.core.api.ServiceObjectID>,java.io.Serializable
@Valid public class Product extends ProductBase
Data type represents a product definition- Version:
- JEAF Release 1.6.x
- Author:
- JEAF Generator
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProduct.BuilderClass implements builder to create a new instance of class Product.-
Nested classes/interfaces inherited from class com.anaptecs.jeaf.junit.openapi.base.ProductBase
ProductBase.BuilderBase
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedProduct()Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.protectedProduct(ProductBase.BuilderBase pBuilder)Initialize object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Product.Builderbuilder()Method returns a new builder.static Product.Builderbuilder(Product pObject)Method creates a new builder and initialize it with the data from the passed object.static Product.Builderbuilder(java.lang.String pName, java.net.URL pLink, java.util.UUID pProductID, java.lang.String pDescription, java.lang.String pUri)Method creates a new builder and initializes it with the passed attributes.java.util.Set<Channel>getTheChannels()Method returns association#theChannels.-
Methods inherited from class com.anaptecs.jeaf.junit.openapi.base.ProductBase
addToProductCodes, addToProductCodes, addToResellers, addToResellers, addToSortiments, addToSortiments, addToSupportedCurrencies, addToSupportedCurrencies, clearProductCodes, clearResellers, clearSortiments, clearSupportedCurrencies, getDescription, getID, getImage, getLink, getName, getProductCodes, getProductID, getResellers, getSortiments, getSupportedCurrencies, getUnversionedID, getUri, removeFromProductCodes, removeFromResellers, removeFromSortiments, removeFromSupportedCurrencies, setDescription, setImage, setLink, setName, setUri, toString, toStringBuilder
-
-
-
-
Constructor Detail
-
Product
protected Product()
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.
-
Product
protected Product(ProductBase.BuilderBase pBuilder)
Initialize object. Nothing special to do.
-
-
Method Detail
-
builder
public static Product.Builder builder()
Method returns a new builder.- Returns:
Product.BuilderNew builder that can be used to create new Product objects.
-
builder
public static Product.Builder builder(Product 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:
Product.BuilderNew builder that can be used to create new Product objects. The method never returns null.
-
builder
public static Product.Builder builder(java.lang.String pName, java.net.URL pLink, java.util.UUID pProductID, java.lang.String pDescription, java.lang.String pUri)
Method creates a new builder and initializes it with the passed attributes.
-
getTheChannels
public java.util.Set<Channel> getTheChannels()
Method returns association#theChannels.- Specified by:
getTheChannelsin classProductBase- Returns:
SetValue to which#theChannelsis set. The method never returns null and the returned collection is modifiable.
-
-