Class DefaultMapToIntegrationKeyValueGenerator

    • Field Detail

      • pattern

        protected static final java.util.regex.Pattern pattern
    • Constructor Detail

      • DefaultMapToIntegrationKeyValueGenerator

        public DefaultMapToIntegrationKeyValueGenerator()
    • Method Detail

      • generate

        public java.lang.String generate​(TypeDescriptor itemType,
                                         java.util.Map<java.lang.String,​java.lang.Object> entry)
        Description copied from interface: IntegrationKeyValueGenerator
        Generates a compound key value for a data structure that has one or several key attributes/properties.
        Parameters:
        itemType - definition of the payload structure that can be used to determine which elements of the payload structure contain the key value(s).
        entry - 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
      • getProperty

        protected java.lang.Object getProperty​(java.util.Map<java.lang.String,​java.lang.Object> entry,
                                               java.lang.String propertyName)
        Description copied from class: AbstractIntegrationKeyValueGenerator
        Given an entry, it returns a property value.
        Specified by:
        getProperty in class AbstractIntegrationKeyValueGenerator<TypeDescriptor,​java.util.Map<java.lang.String,​java.lang.Object>>
        Parameters:
        entry - The entry to be used.
        propertyName - The propertyName to look for.
        Returns:
        The value related to propertyName.