Class DummyKeyProvider

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getKey​(java.lang.Object item)
      Returns a key to be used for mapping item.
      • Methods inherited from class java.lang.Object

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

      • DummyKeyProvider

        public DummyKeyProvider()
    • Method Detail

      • getKey

        public java.lang.Object getKey​(java.lang.Object item)
                                throws java.lang.IllegalArgumentException
        Description copied from interface: MappingService.KeyProvider
        Returns a key to be used for mapping item.
        Specified by:
        getKey in interface MappingService.KeyProvider
        Parameters:
        item - the item for which a key is to returned
        Returns:
        the key to be used for mapping item
        Throws:
        java.lang.IllegalArgumentException - if no valid key can be retrieved for item