Class SimpleUIDAttributeHandler
java.lang.Object
de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler<String,TravellerModel>
de.hybris.platform.travelservices.model.dynamic.attribute.SimpleUIDAttributeHandler
- All Implemented Interfaces:
de.hybris.platform.servicelayer.model.attribute.DynamicAttributeHandler<String,TravellerModel>
public class SimpleUIDAttributeHandler
extends de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler<String,TravellerModel>
Attribute Handler implementation responsible to populate the SimpleUID property of the
TravellerModel. The passenger
UID is build of [order_code](optional)_[passenger_number]_[random_uid]. To create a unique 6 characters identifier inside a
single reservation the simpleUID is created concatenating the passenger_number and random_uid removing the "_". If the UID is
empty, null or cannot be split using the "_" an empty string is returned. If the UID is composed of 3 parts (contains the
order_code) the first one is removed to have a unique string inside the order.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler
set
-
Constructor Details
-
SimpleUIDAttributeHandler
public SimpleUIDAttributeHandler()
-
-
Method Details
-
get
- Specified by:
getin interfacede.hybris.platform.servicelayer.model.attribute.DynamicAttributeHandler<String,TravellerModel> - Overrides:
getin classde.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler<String,TravellerModel>
-