Package de.hybris.platform.b2b.b2bunit
Class DefaultB2BUnitIsRootDynamicAttributeHandler
java.lang.Object
de.hybris.platform.b2b.b2bunit.DefaultB2BUnitIsRootDynamicAttributeHandler
- All Implemented Interfaces:
DynamicAttributeHandler<Boolean,B2BUnitModel>
public class DefaultB2BUnitIsRootDynamicAttributeHandler
extends Object
implements DynamicAttributeHandler<Boolean,B2BUnitModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(B2BUnitModel b2BUnitModel) Holds logic behind getter for dynamic attribute.voidset(B2BUnitModel model, Boolean value) Holds logic behind setter for dynamic attribute.voidsetB2bUnitService(B2BUnitService<B2BUnitModel, B2BCustomerModel> b2bUnitService)
-
Constructor Details
-
DefaultB2BUnitIsRootDynamicAttributeHandler
public DefaultB2BUnitIsRootDynamicAttributeHandler()
-
-
Method Details
-
setB2bUnitService
-
get
Description copied from interface:DynamicAttributeHandlerHolds logic behind getter for dynamic attribute.- Specified by:
getin interfaceDynamicAttributeHandler<Boolean,B2BUnitModel> - Parameters:
b2BUnitModel- model for which dynamic attribute is declared.- Returns:
- computed value.
-
set
Description copied from interface:DynamicAttributeHandlerHolds logic behind setter for dynamic attribute.- Specified by:
setin interfaceDynamicAttributeHandler<Boolean,B2BUnitModel> - Parameters:
model- model for which dynamic attribute is declared.value- the value which will be used by setter logic.
-