Class IntegrationObjectRootClassAttributeHandler
java.lang.Object
de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler<IntegrationObjectClassModel,IntegrationObjectModel>
de.hybris.platform.integrationservices.model.IntegrationObjectRootClassAttributeHandler
- All Implemented Interfaces:
DynamicAttributeHandler<IntegrationObjectClassModel,IntegrationObjectModel>
public class IntegrationObjectRootClassAttributeHandler
extends AbstractDynamicAttributeHandler<IntegrationObjectClassModel,IntegrationObjectModel>
Provides calculation of the dynamic
rootClass attribute on the IntegrationObjectModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(IntegrationObjectModel integrationObject) Identifies the rootIntegrationObjectClassModelfor theIntegrationObjectModelMethods inherited from class de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler
set
-
Constructor Details
-
IntegrationObjectRootClassAttributeHandler
public IntegrationObjectRootClassAttributeHandler()
-
-
Method Details
-
get
Identifies the rootIntegrationObjectClassModelfor theIntegrationObjectModel- Specified by:
getin interfaceDynamicAttributeHandler<IntegrationObjectClassModel,IntegrationObjectModel> - Overrides:
getin classAbstractDynamicAttributeHandler<IntegrationObjectClassModel,IntegrationObjectModel> - Parameters:
integrationObject- a model object to get root class from.- Returns:
IntegrationObjectClassModel. This root class model contains root attribute that is true. IfintegrationObjectModeldoes not have root class, a null value is returned; if it has more than one root classes, an exception will be raised.
-