Package de.hybris.platform.ticket.model
Class TicketsAttributeHandler
java.lang.Object
de.hybris.platform.ticket.model.TicketsAttributeHandler
- All Implemented Interfaces:
DynamicAttributeHandler<List<CsTicketModel>,CustomerModel>
public class TicketsAttributeHandler
extends Object
implements DynamicAttributeHandler<List<CsTicketModel>,CustomerModel>
Special handler to fetch tickets into a CustomerModel.tickets attribute and vise versa
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(CustomerModel model) Holds logic behind getter for dynamic attribute.voidset(CustomerModel model, List<CsTicketModel> csTicketModel) Holds logic behind setter for dynamic attribute.
-
Constructor Details
-
TicketsAttributeHandler
public TicketsAttributeHandler()
-
-
Method Details
-
get
Description copied from interface:DynamicAttributeHandlerHolds logic behind getter for dynamic attribute.- Specified by:
getin interfaceDynamicAttributeHandler<List<CsTicketModel>,CustomerModel> - Parameters:
model- 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<List<CsTicketModel>,CustomerModel> - Parameters:
model-csTicketModel-
-