All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.univapay.sdk.utils.MetadataAdapter Maven / Gradle / Ivy

There is a newer version: 0.2.35
Show newest version
package com.univapay.sdk.utils;

import com.univapay.sdk.types.MetadataMap;

/**
 * This is an interface to adapt a metadata from {@link MetadataMap}({@literal
 * LinkedHashMap}) to something.
* If you need to deal with a metadata as another type, implement this interface.
* * @param a type to be converted */ public interface MetadataAdapter { MetadataMap serialize(T obj); T deserialize(MetadataMap metadata); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy