Class PartOfAttributeHandler
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler<java.lang.Boolean,IntegrationObjectItemAttributeModel>
-
- de.hybris.platform.integrationservices.model.PartOfAttributeHandler
-
- All Implemented Interfaces:
DynamicAttributeHandler<java.lang.Boolean,IntegrationObjectItemAttributeModel>
public class PartOfAttributeHandler extends AbstractDynamicAttributeHandler<java.lang.Boolean,IntegrationObjectItemAttributeModel>
Provides calculation of the dynamicpartOfattribute on theIntegrationObjectItemAttributeModel
-
-
Constructor Summary
Constructors Constructor Description PartOfAttributeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.lang.Booleanget(IntegrationObjectItemAttributeModel model)Reads value of thepartOfattributeprotected booleanisCollectionPartOfThisType(AttributeDescriptorModel descriptor)protected booleanisRelatedTypeIsPartOfThisType(AttributeDescriptorModel descriptor)-
Methods inherited from class de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler
set
-
-
-
-
Method Detail
-
get
@NotNull public @NotNull java.lang.Boolean get(IntegrationObjectItemAttributeModel model)
Reads value of thepartOfattribute- Specified by:
getin interfaceDynamicAttributeHandler<java.lang.Boolean,IntegrationObjectItemAttributeModel>- Overrides:
getin classAbstractDynamicAttributeHandler<java.lang.Boolean,IntegrationObjectItemAttributeModel>- Parameters:
model- a 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
protected boolean isCollectionPartOfThisType(AttributeDescriptorModel descriptor)
-
isRelatedTypeIsPartOfThisType
protected boolean isRelatedTypeIsPartOfThisType(AttributeDescriptorModel descriptor)
-
-