Class MigrationEntryConverter<V extends MigrationEntry>

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.XMLConverter<V>

    public class MigrationEntryConverter<V extends MigrationEntry>
    extends edu.uiuc.ncsa.security.storage.data.MapConverter<V>

    Created by Jeff Gaynor
    on 2/26/24 at 11:48 AM

    • Constructor Detail

      • MigrationEntryConverter

        public MigrationEntryConverter​(MigrateKeys keys,
                                       edu.uiuc.ncsa.security.core.IdentifiableProvider<V> provider)
    • Method Detail

      • getKeys

        public MigrateKeys getKeys()
        Overrides:
        getKeys in class edu.uiuc.ncsa.security.storage.data.MapConverter<V extends MigrationEntry>
      • fromMap

        public V fromMap​(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,​Object> map,
                         V v)
        Overrides:
        fromMap in class edu.uiuc.ncsa.security.storage.data.MapConverter<V extends MigrationEntry>
      • testKey

        protected boolean testKey​(Map map,
                                  String key)
        Idiom for testing that the map contains the key AND the value is not null.
        Parameters:
        map -
        key -
        Returns:
      • toMap

        public void toMap​(V value,
                          edu.uiuc.ncsa.security.storage.data.ConversionMap<String,​Object> data)
        Overrides:
        toMap in class edu.uiuc.ncsa.security.storage.data.MapConverter<V extends MigrationEntry>