Class PrimitivePropertyProcessor
- java.lang.Object
-
- de.hybris.platform.odata2services.odata.persistence.populator.processor.AbstractPropertyProcessor
-
- de.hybris.platform.odata2services.odata.persistence.populator.processor.PrimitivePropertyProcessor
-
- All Implemented Interfaces:
PropertyProcessor
public class PrimitivePropertyProcessor extends AbstractPropertyProcessor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.odata2services.odata.persistence.populator.processor.AbstractPropertyProcessor
AbstractPropertyProcessor.PropertyMetadata
-
-
Constructor Summary
Constructors Constructor Description PrimitivePropertyProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisApplicable(TypeAttributeDescriptor typeAttributeDescriptor)protected voidprocessEntityInternal(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry, java.lang.String propertyName, java.lang.Object value, ItemConversionRequest request)protected voidprocessItemInternal(ItemModel item, java.lang.String entryPropertyName, java.lang.Object value, StorageRequest request)protected booleanshouldPropertyBeConverted(ItemConversionRequest conversionRequest, java.lang.String propertyName)-
Methods inherited from class de.hybris.platform.odata2services.odata.persistence.populator.processor.AbstractPropertyProcessor
findTypeDescriptorAttributeForItem, getAttributeDescriptor, getIntegrationObjectService, getModelService, getTypeService, isItemPropertySettable, isPropertySupported, processEntity, processItem, readPropertyValue, setIntegrationObjectService, setModelService, setTypeService
-
-
-
-
Method Detail
-
isApplicable
protected boolean isApplicable(TypeAttributeDescriptor typeAttributeDescriptor)
- Specified by:
isApplicablein classAbstractPropertyProcessor
-
processItemInternal
protected void processItemInternal(ItemModel item, java.lang.String entryPropertyName, java.lang.Object value, StorageRequest request) throws org.apache.olingo.odata2.api.edm.EdmException
- Specified by:
processItemInternalin classAbstractPropertyProcessor- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
processEntityInternal
protected void processEntityInternal(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry, java.lang.String propertyName, java.lang.Object value, ItemConversionRequest request)- Specified by:
processEntityInternalin classAbstractPropertyProcessor
-
shouldPropertyBeConverted
protected boolean shouldPropertyBeConverted(ItemConversionRequest conversionRequest, java.lang.String propertyName)
- Specified by:
shouldPropertyBeConvertedin classAbstractPropertyProcessor
-
-