Class Product.Builder
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.ProductBase.BuilderBase
-
- com.anaptecs.jeaf.junit.openapi.base.Product.Builder
-
- Enclosing class:
- Product
public static class Product.Builder extends ProductBase.BuilderBase
Class implements builder to create a new instance of class Product. As the class has readonly attributes or associations instances can not be created directly. Instead this builder class has to be used.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()UseProduct.builder()instead of protected constructor to create new builder.protectedBuilder(Product pObject)UseProduct.builder(Product)instead of protected constructor to create new builder.
-
Method Summary
-
Methods inherited from class com.anaptecs.jeaf.junit.openapi.base.ProductBase.BuilderBase
build, buildValidated, setDescription, setID, setImage, setLink, setName, setProductCodes, setProductID, setResellers, setSortiments, setSupportedCurrencies, setUri
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
UseProduct.builder()instead of protected constructor to create new builder.
-
Builder
protected Builder(Product pObject)
UseProduct.builder(Product)instead of protected constructor to create new builder.
-
-