public class ProductModelMother extends AbstractModelMother<ProductModel>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CAR |
static java.lang.String |
MOUSE |
| Constructor and Description |
|---|
ProductModelMother() |
| Modifier and Type | Method and Description |
|---|---|
ProductModel |
createCarProduct(CatalogVersionModel catalogVersion) |
protected ProductModel |
createDefaultProduct(java.lang.String uid,
CatalogVersionModel catalogVersion) |
ProductModel |
createMouseProduct(CatalogVersionModel catalogVersion) |
ProductDao |
getProductDao() |
void |
setProductDao(ProductDao productDao) |
getFlexibleSearchService, getFromCollectionOrSaveAndReturn, getModelFromCollection, getModelService, getOrSaveAndReturn, saveModel, setFlexibleSearchService, setModelServicepublic static final java.lang.String MOUSE
public static final java.lang.String CAR
public ProductModel createMouseProduct(CatalogVersionModel catalogVersion)
public ProductModel createCarProduct(CatalogVersionModel catalogVersion)
protected ProductModel createDefaultProduct(java.lang.String uid, CatalogVersionModel catalogVersion)
public ProductDao getProductDao()
public void setProductDao(ProductDao productDao)
Copyright © 2018 SAP SE. All Rights Reserved.