Class PartOfAttributeHandler
java.lang.Object
de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler<Boolean,IntegrationObjectItemAttributeModel>
de.hybris.platform.integrationservices.model.PartOfAttributeHandler
- All Implemented Interfaces:
DynamicAttributeHandler<Boolean,IntegrationObjectItemAttributeModel>
public class PartOfAttributeHandler
extends AbstractDynamicAttributeHandler<Boolean,IntegrationObjectItemAttributeModel>
Provides calculation of the dynamic
partOf attribute on the IntegrationObjectItemAttributeModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Booleanget(@NotNull IntegrationObjectItemAttributeModel model) Reads value of thepartOfattributeprotected booleanisCollectionPartOfThisType(AttributeDescriptorModel descriptor) protected booleanMethods inherited from class de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler
set
-
Constructor Details
-
PartOfAttributeHandler
public PartOfAttributeHandler()
-
-
Method Details
-
get
Reads value of thepartOfattribute- Specified by:
getin interfaceDynamicAttributeHandler<Boolean,IntegrationObjectItemAttributeModel> - Overrides:
getin classAbstractDynamicAttributeHandler<Boolean,IntegrationObjectItemAttributeModel> - Parameters:
model- a not null model object to read the value from.- Returns:
- a boolean specifying whether the referenced integration object item is part of this integration object item and
cannot exist by itself. Although the return type is
Boolean, it's actually nevernull.
-
isCollectionPartOfThisType
-
isRelatedTypeIsPartOfThisType
-