Class AbstractPropertyProcessor

    • Constructor Detail

      • AbstractPropertyProcessor

        public AbstractPropertyProcessor()
    • Method Detail

      • processEntity

        public void processEntity​(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry,
                                  ItemConversionRequest conversionRequest)
                           throws org.apache.olingo.odata2.api.edm.EdmException
        Specified by:
        processEntity in interface PropertyProcessor
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • readPropertyValue

        protected java.lang.Object readPropertyValue​(ItemConversionRequest request,
                                                     java.lang.String propertyName)
                                              throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • shouldPropertyBeConverted

        protected abstract boolean shouldPropertyBeConverted​(ItemConversionRequest conversionRequest,
                                                             java.lang.String propertyName)
                                                      throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • isItemPropertySettable

        protected boolean isItemPropertySettable​(ItemModel item,
                                                 java.lang.String propertyName,
                                                 StorageRequest request)
                                          throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • getAttributeDescriptor

        protected AttributeDescriptorModel getAttributeDescriptor​(ItemModel item,
                                                                  java.lang.String propertyName,
                                                                  StorageRequest request)
                                                           throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • processItemInternal

        protected abstract void processItemInternal​(ItemModel item,
                                                    java.lang.String entryPropertyName,
                                                    java.lang.Object value,
                                                    StorageRequest request)
                                             throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • processEntityInternal

        protected abstract void processEntityInternal​(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry,
                                                      java.lang.String propertyName,
                                                      java.lang.Object value,
                                                      ItemConversionRequest request)
                                               throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • getModelService

        protected ModelService getModelService()
      • setModelService

        public void setModelService​(ModelService modelService)
      • setIntegrationObjectService

        public void setIntegrationObjectService​(IntegrationObjectService integrationObjectService)
      • setTypeService

        public void setTypeService​(TypeService typeService)