Class DefaultODataEntryToIntegrationKeyValueGenerator

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected java.util.Optional<java.lang.String> findMatchingNavigationPropertyIn​(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, java.lang.String entityName)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      java.lang.String generate​(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generates a compound key value for a data structure that has one or several key attributes/properties.
      protected org.apache.olingo.odata2.api.edm.EdmNavigationProperty getNavigationProperty​(org.apache.olingo.odata2.api.edm.EdmEntityType entityType, java.lang.String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected java.lang.String getNavigationPropertyName​(org.apache.olingo.odata2.api.edm.EdmNavigationProperty property)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected java.lang.String getNavigationPropertyToRole​(org.apache.olingo.odata2.api.edm.EdmNavigationProperty property)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected void populateKeyValueFromNavigationProperty​(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry, IntegrationKeyAlias aliasComponents, IntegrationKeyValue integrationKeyValue, java.lang.String propertyName)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected void populateKeyValueFromSimpleProperty​(org.apache.olingo.odata2.api.edm.EdmEntitySet type, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry, IntegrationKeyValue keyValue, java.util.List<java.lang.String> propertyNames)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected void setPropertyValueInIntegrationKey​(IntegrationKeyValue keyValue, org.apache.olingo.odata2.api.edm.EdmEntitySet type, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry, java.lang.String propertyName)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected java.lang.String transformValueToString​(java.lang.Object attributeValue)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Implementations should transform a value into string representation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultODataEntryToIntegrationKeyValueGenerator

        public DefaultODataEntryToIntegrationKeyValueGenerator()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • generate

        public java.lang.String generate​(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet,
                                         org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: IntegrationKeyValueGenerator
        Generates a compound key value for a data structure that has one or several key attributes/properties.
        Parameters:
        entitySet - definition of the payload structure that can be used to determine which elements of the payload structure contain the key value(s).
        oDataEntry - a data structure to generate the key value for.
        Returns:
        integration key string representing the compound value of all key elements of the data structure
      • populateKeyValueFromSimpleProperty

        protected void populateKeyValueFromSimpleProperty​(org.apache.olingo.odata2.api.edm.EdmEntitySet type,
                                                          org.apache.olingo.odata2.api.ep.entry.ODataEntry entry,
                                                          IntegrationKeyValue keyValue,
                                                          java.util.List<java.lang.String> propertyNames)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setPropertyValueInIntegrationKey

        protected void setPropertyValueInIntegrationKey​(IntegrationKeyValue keyValue,
                                                        org.apache.olingo.odata2.api.edm.EdmEntitySet type,
                                                        org.apache.olingo.odata2.api.ep.entry.ODataEntry entry,
                                                        java.lang.String propertyName)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • populateKeyValueFromNavigationProperty

        protected void populateKeyValueFromNavigationProperty​(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet,
                                                              org.apache.olingo.odata2.api.ep.entry.ODataEntry entry,
                                                              IntegrationKeyAlias aliasComponents,
                                                              IntegrationKeyValue integrationKeyValue,
                                                              java.lang.String propertyName)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • findMatchingNavigationPropertyIn

        protected java.util.Optional<java.lang.String> findMatchingNavigationPropertyIn​(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet,
                                                                                        java.lang.String entityName)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getNavigationProperty

        protected org.apache.olingo.odata2.api.edm.EdmNavigationProperty getNavigationProperty​(org.apache.olingo.odata2.api.edm.EdmEntityType entityType,
                                                                                               java.lang.String name)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getNavigationPropertyToRole

        protected java.lang.String getNavigationPropertyToRole​(org.apache.olingo.odata2.api.edm.EdmNavigationProperty property)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getNavigationPropertyName

        protected java.lang.String getNavigationPropertyName​(org.apache.olingo.odata2.api.edm.EdmNavigationProperty property)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • transformValueToString

        protected java.lang.String transformValueToString​(java.lang.Object attributeValue)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from class: AbstractIntegrationKeyValueGenerator
        Implementations should transform a value into string representation. For instance Date.
        Specified by:
        transformValueToString in class AbstractIntegrationKeyValueGenerator<org.apache.olingo.odata2.api.edm.EdmEntitySet,​org.apache.olingo.odata2.api.ep.entry.ODataEntry>
        Parameters:
        attributeValue - the value to be converted.
        Returns:
        The string representation