Class AbstractIntegrationKeyValueGenerator<T,​E>

    • Constructor Detail

      • AbstractIntegrationKeyValueGenerator

        public AbstractIntegrationKeyValueGenerator()
    • Method Detail

      • encodeValue

        protected java.lang.String encodeValue​(java.lang.String value)
      • getTypeCode

        protected abstract java.lang.String getTypeCode​(T type)
        Given a type, it returns its code representation.
        Parameters:
        type - The type to be used.
        Returns:
        The type code.
      • getProperty

        protected abstract java.lang.Object getProperty​(E entry,
                                                        java.lang.String propertyName)
        Given an entry, it returns a property value.
        Parameters:
        entry - The entry to be used.
        propertyName - The propertyName to look for.
        Returns:
        The value related to propertyName.
      • serializeKeyToString

        protected java.lang.String serializeKeyToString​(KeyValue key)
      • entitySimpleKeys

        protected java.lang.String entitySimpleKeys​(java.util.List<java.lang.String> keyValues)
      • transformValueToString

        protected abstract java.lang.String transformValueToString​(java.lang.Object attributeValue)
        Implementations should transform a value into string representation. For instance Date.
        Parameters:
        attributeValue - the value to be converted.
        Returns:
        The string representation
      • getEncoding

        protected java.lang.String getEncoding()
      • setEncoding

        public void setEncoding​(java.lang.String encoding)