public class DefaultRestrictionData extends Object implements RestrictionData
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultRestrictionData() |
| Modifier and Type | Method and Description |
|---|---|
CatalogModel |
getCatalog() |
CategoryModel |
getCategory() |
ProductModel |
getProduct() |
Object |
getValue(String key) |
boolean |
hasCatalog() |
boolean |
hasCategory() |
boolean |
hasProduct() |
boolean |
hasValue(String key) |
void |
setCatalog(CatalogModel catalog) |
void |
setCategory(CategoryModel category) |
void |
setProduct(ProductModel product) |
void |
setValue(String key,
Object value) |
public CatalogModel getCatalog()
getCatalog in interface RestrictionDatapublic CategoryModel getCategory()
getCategory in interface RestrictionDatapublic ProductModel getProduct()
getProduct in interface RestrictionDatapublic Object getValue(String key)
getValue in interface RestrictionDatapublic boolean hasCatalog()
hasCatalog in interface RestrictionDatapublic boolean hasCategory()
hasCategory in interface RestrictionDatapublic boolean hasProduct()
hasProduct in interface RestrictionDatapublic boolean hasValue(String key)
hasValue in interface RestrictionDatapublic void setCatalog(CatalogModel catalog)
setCatalog in interface RestrictionDatapublic void setCategory(CategoryModel category)
setCategory in interface RestrictionDatapublic void setProduct(ProductModel product)
setProduct in interface RestrictionDatapublic void setValue(String key, Object value)
setValue in interface RestrictionDataCopyright © 2017 SAP SE. All Rights Reserved.